As web developers, we know how easy it is to end up with web page bloat. But loading a webpage is much more than shipping bytes down the wire. Once the browser has downloaded our page’s scripts it then has to parse, interpret & run them. In this post, we’ll dive into this phase for JavaScript, why it might be slowing down your app’s start-up & how you can fix it.
But it parses+compiles pretty darn fast on your brand-spanking-new Macbook Pro, right?
It’s important that we understand the time spent in Parse/Compile can often be 2–5x as long on phones as on desktop.
Hence why you should slow down your CPU by 10x when benchmarking your site, in case you also want to make the fastest website in the world.