TypeScript Benchmarking Projects
:trophy: Delightful Benchmarking & Performance Testing
A browser-based tool for speedy and correct JS performance comparisons!Project mention: 15x Faster TypedArrays: Vector Addition in WebAssembly 154GB/S | news.ycombinator.com | 2022-01-02
Yeah, properly benchmarking JS code is hard because of how complex is the V8's optimizing compiler infrastructure. I once made an online tool for measuring run times of JS code, with [hopefully, lol] proper warmup and protection against possible dead code elimination optimization.
There are a few clickable benchmark examples in the readme: https://github.com/xpl/what-code-is-faster#what-code-is-fast...