Brussels / 30 & 31 January 2016


Micro-benchmarking JavaScript tips

Why the JavaScript engine will mislead the micro-benchmarking you carefully crafted

Often micro-benchmarks are used to decide a feature is slower or faster than another. Javascript engines are getting better and better and as a result micro-benchmarks show performance that has no correlation with the used feature. Here I will debunk some micro-benchmarks by explaining what happens internally in the Javascript engine, together with formulating advice on how to properly benchmark features.


Hannes Verschore