Software Engineer @ Qlik
We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil. Yet we should not pass up our opportunities in that critical 3%.
premature optimization is the root of all evil.
When do I optimize?
- Optimize only when it makes sense
- Don't sacrifice simplicity/readability
Writing benchmarks in NodeJS REPL
Used by VS Code
Dynamic import() 🔥
Stage 3 proposal
import modules at runtime
Chrome / Safari 👍
A benchmarking library that supports high-resolution timers & returns statistically significant results.
Contribute / Issues
Benchmarking JS with React