One way to think about the tables in @tkadlec's excellent post is pre-vs-post NPM: having made it much easier to include code at dev time, responsible frameworks and teams must work that much hard to exclude it from taxing users at runtime.https://twitter.com/davatron5000/status/1252637544149323776 …
-
Show this thread
-
The CPU time tables are *brutal*.
3 replies 0 retweets 2 likesShow this thread -
Replying to @slightlylate
I also found it interesting that jQuery, which is about the same file size as Vue or React, is in many cases creating a TTFB that's twice as fast. Fewer abstractions? Tends to come in later in the loading process? Something else?
1 reply 0 retweets 0 likes -
Replying to @ChrisFerdinandi
Any story out of aggregates this large is hard to tell without lots of care, particularly when some populations are so much smaller. That said, I expect many things to be happening here at once (ctd.):
2 replies 0 retweets 0 likes -
Replying to @slightlylate @ChrisFerdinandi
- jquery represents a much larger fraction of sites, many of which will be much older... - the previous generation of webdev viewed JS w/ more suspicion or assumed they could afford less (they were right!) - newer sites are likely to include much more active 3p bloat (ctd.)
2 replies 0 retweets 1 like -
Replying to @slightlylate @ChrisFerdinandi
- npm has made it much easier to pull in larger deps - the disparity between high-and-low-end perf has widened, meaning things that are slow don't *feel* slow at dev time - the distributional effects of survivorship may keep slower tools on the margins (ctd.)
1 reply 0 retweets 1 like -
Replying to @slightlylate @ChrisFerdinandi
That last point is particularly confounding: correlation and causality are hard to suss out, but one theory we could test is "are sites built with [slow 'modern' tools] less likely to succeed in the market?". You could ask lots of proxy questions to get a handle on it.
1 reply 0 retweets 1 like
If there is a causal relationship between slowness and worse outcomes, an efficient market would route around those tools. My fear is that the market for front-end tech is not nearly that efficient, owing to many overlapping and reinforcing factors.
-
-
Replying to @slightlylate
I love when you do epic threads like this. Thanks so much, Alex!
0 replies 0 retweets 0 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.