Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

benchmarks 2020-12-25

See original GitHub issue

i finally spent some time on a new round of benchmarks with updated libs & updated Chrome. top is previous round, bottom is current standings:


some observations:

  • improvements to Chrome have boosted quite a few numbers, in some cases rather drastically. e.g. Flot perf doubled and dygraphs became significantly faster despite no lib or bench changes to either.
  • apex seems to have regressed their mousemove/tootltip performance a ton
  • uplot is now even faster due to simplification of the linear path-building code and completely extracting + rethinking the bands rendering logic.

let’s talk about ECharts v5 – holy shit. it went from fourth-to-last to second place. that LTTB sampling, dense array packing and whatever other black magic is going on made it fly. what’s worrying about this is that this lib is almost 1MB (30x larger than uPlot), yet the initial parse/compilation does not seem to have that large an effect, even when reloading with caching disabled in devtools. since these measurements are taken from close-to-best runs, i think that there is still a JIT cache that persists, and chrome simply uses the content hash to revive the prior compiled bytecode. i tried to record a few runs from an about:blank page and it seemed to confirm that there is some caching going on that cannot be disabled from devtools, though it is not as drastic as i expected – a cold boot is about 360ms vs 435ms cumulative - a 75ms difference, which is less than the difference when running with what i assume is a warm JIT cache. i honestly have no idea where exactly parsing and JITing an extra 900KB of JS is accounted for, and it scares me that i’m doing something wrong or devtools is lying to me. if someone has any idea what’s going on, please clue me in! either way, the results are nothing short of astounding, so massive props to @pissang.


cc @benmccann @ryantxu

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

leeoniyacommented, Jan 25, 2021

here you go:


danrcommented, Jan 25, 2021

I think it would be 6 interesting groups!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Commission Implementing Regulation (EU) 2020/1225
COMMISSION IMPLEMENTING REGULATION (EU) 2020/1225 of 29 October 2019 laying down implementing technical standards with regard to the format ...
Read more >
Commission Implementing Regulation (EU) 2020/1225
This Regulation is based on the draft implementing technical standards submitted by the European Securities and Markets Authority (ESMA) to the Commission. (6)....
Read more >
mnk-20201225 -
This Phase 3 clinical study was conducted under an FDA Special Protocol Assessment ("SPA"). In March 2020, we initiated and completed a rolling...
Read more >
Best Execution Quarterly Statistics - Finalto Trading
Date File Name Actions Best Performance 20201231 Best_Performance_20201231_tradetechalpha.csv Download Best Performance 20201230 Best_Performance_20201230_tradetechalpha.csv Download Best Performance 20201229 Best_Performance_20201229_tradetechalpha.csv Download
Read more >
Improved Mixed-Protocol Secure Two-Party Computation
Paper 2020/1225 ... Most notably, for PPML, we implement and benchmark training and inference of Logistic Regression and Neural Networks ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found