JavaScript Start-up Performance

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.

JavaScript Start-up Performance →

Published by Bramus!

Bramus is a frontend web developer from Belgium, working as a Chrome Developer Relations Engineer at Google. From the moment he discovered view-source at the age of 14 (way back in 1997), he fell in love with the web and has been tinkering with it ever since (more …)

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.