Benchmarking JavaScript
Explore JavaScript benchmarking techniques and performance optimization in this GOTO Chicago 2015 conference talk. Delve into the complexities of JavaScript VMs, browser performance, and compiler optimizations. Learn about loop invariants, dead code elimination, and how to write smarter benchmarks. Discover the impact of micro-benchmarks on VMs and how they can uncover bugs. Examine real-world examples, including the speaker's "patented blaze" case. Gain insights into various benchmarking tools, interesting modes, and constant faults. Understand the importance of presumption of innocence and avoiding hasty conclusions when interpreting benchmark results. Analyze different benchmark types, including method call speed tests and concurrent modification benchmarks. Acquire practical tips to speed up your JavaScript code and avoid common benchmarking pitfalls.