I just checked twitter's network log on a single tweet by John Carmack.
- 131 network calls
- 280 kilobytes of data received
- 4500ms total network time
Thankfully, the vast majority of other websites aren't nearly this bad, but we're trending towards twitter as an industry, not away from it.
I try to write API calls that provide broadband utility and return lightning fast by always making sure my critical path gets a fair shake for optimization, but I know there exist calls out there in react land that take my 220ms response and spend an extra 7 seconds transforming it to populate a (paginated) table on the UI.
Re:Why modern software is slow
by mattgreenrocks on Friday September 30, 2022 @12:55PM
(#33037331)
Amount of data transmitted seems fine...but 131 network calls? No wonder it always feels so slow to use Twitter.
But fair enough, it might not actually be most websites, but enough to not be a rare experience either.