4 ms·
I once created this tool for benchmarking JS: https://github.com/xpl/what-code-is-faster https://github.com/xpl/what-code-is-faster It does JIT warmup and ensu
by xpl 2y ago
I once created this tool for benchmarking JS: https://github.com/xpl/what-code-is-faster https://github.com/xpl/what-code-is-faster
It does JIT warmup and ensures that your code doesn't get optimized out (by making it produce a side effect in result).