Brussels / 3 & 4 February 2024


Fast JavaScript with Data-Oriented Design

Let’s squeeze the last bits of performance out of JS so that we can crunch massive amounts of data!

In this presentation I will describe what I learned while optimizing the Firefox Profiler. The Firefox Profiler is a web application which needs to handle large profiles containing hundreds of thousands of samples. Thanks to its use of data-oriented design, it’s fast no matter what you throw at it. Algorithms are written with memory bandwidth in mind, and most core data structures are made up of densely-packed arrays of numbers.

In this presentation we will optimize a small example project and see how these principles can be applied to your own project.


Photo of Markus Stange Markus Stange