Hacker News new | ask | show | jobs
by xpl 546 days ago
I once created this tool for benchmarking JS: 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).