DEV Community

Jim Montgomery
Jim Montgomery

Posted on

2

article: 2020+ web performance

Interesting and at times hilarious article on web performance.

We rendered a million web pages to find out what makes the web slow

» Yes, good old jQuery is at the top. JQuery was first released in 2006, which is 14 years ago in human years, but much longer in JavaScript years. Measured in Angular versions, it is probably hundreds of versions ago. 2006 was a different time. The most used browser was called Internet Explorer 6, the largest social network was MySpace, and rounded corners in web pages were such a revolution that people called it web 2.0. JQuery’s primary use case was cross-browser compatibility, which is a different beast in 2020 than it was in 2006. Still, 14 years later, a full half of the web pages in our sample loaded jQuery.
Funnily enough, 2.2% of the websites threw an error because JQuery was not loaded.
Judging by this top 10, our browsers are mostly running analytics, ads, and code to be compatible with old browsers. Somehow 8% of web sites define a setImmediate/clearImmediate polyfill for a feature that isn’t on track to be implemented by any browser. «

read the rest at:
https://catchjs.com/Blog/PerformanceInTheWild

alternately at:
https://itnext.io/we-rendered-a-million-web-pages-to-find-out-what-makes-the-web-slow-72bbba9ade96

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (1)

Collapse
 
jimmont profile image
Jim Montgomery

For those interested the article shows a propensity for web properties becoming largely a legacy of obsolete solutions. This has been a growing trend since the advent of React and jQuery where these libraries, and others like them, largely duplicate native features. For example why JSX still exists is entirely beyond me, when templates and tagged templates are available--making this technology irrelevant. When awareness of other technologies like shadow DOM starts to enter the picture and we see those in this field of work solving problems in React (et al) like scoping CSS that generally don't exist anymore it seems quite a gap between 2013 and 2021. The article is interesting because it shows how dramatic this gap becomes over time, and I'm looking at it from the perspective of new articles being published today where people invest time and effort as though it's still 2013. From my perspective this is pretty weird.

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay