New post: The Cost of JavaScript Frameworks https://timkadlec.com/remembers/2020-04-21-the-cost-of-javascript-frameworks/ …
Using @HTTPArchive data to get a sense of the performance cost (in both bytes & main thread time) of using various popular frameworks as a starting point
Been working on this one for an embarrassingly long time
-
-
Replying to @tkadlec @HTTPArchive
Keith J Grant Retweeted Keith J Grant
A few thoughts in a thread
https://twitter.com/keithjgrant/status/1253391645946462209 …Keith J Grant added,
1 reply 0 retweets 0 likes -
Replying to @keithjgrant @HTTPArchive
Thanks, Keith! Super constructive and reasonable feedback. You know this is Twitter, right? ;)
1 reply 0 retweets 1 like -
I thought including jQuery would be interesting, but I think it just distracted from the point that the data makes pretty clear: current frameworks result in a lot of JS and a lot of main thread time and there's ample room for improvement, both for defaults and restrictions.
1 reply 0 retweets 1 like -
I mean, ultimately, I think the takeaways are: 1. If you're building a fw, there's a lot of work to do to empower devs to build something that performs well by default. 2. If you're using a fw and you want the site to perform well, then it's going to take some extra work.
1 reply 0 retweets 1 like -
Replying to @tkadlec @HTTPArchive
Yeah I think making the frameworks themselves better (out of the box) is huge.
1 reply 0 retweets 0 likes
As a former framework author, it's pretty unclear to me that the "folks only use heavy frameworks when lighter ones won't do" causality arrow is even marginally correct. My experience is that folks bring their priors to all tasks.
-
-
Replying to @slightlylate @keithjgrant and
As for slimming the frameworks, I think that has signaling value more than anything. It demonstrates leadership around that being a concern worth centering.
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.