Sean Reece

Software Engineer @ Qlik


Benchmarking JS

with React

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
  • Measurable

JavaScript Performance

Why offline

Writing benchmarks in NodeJS REPL


Monaco Editor

Used by VS Code


Dynamic import() 🔥

Stage 3 proposal

import modules at runtime


Chrome / Safari 👍

Firefox 👎


A benchmarking library that supports high-resolution timers & returns statistically significant results.

Thanks! 👋

Contribute / Issues

Benchmarking JS with React

By seanreece

Benchmarking JS with React

Slides for Feb 2019 ReactJS Ottawa meetup talk about benchmarking JS in the web using - written in React!

  • 882