The Web App Experience: I made my extension prefetch the two big/slow resources this page relies on, but it's only .5sec faster because the rest of the 2.5 secs of load time are Chrome's disk cache waddling around grabbing files off my SSD 37 bytes at a time
-
Show this thread
-
Loading 2kb from disk taking 80 milliseconds is one reason why web apps still feel like shitpic.twitter.com/70jP9cIyrJ
3 replies 1 retweet 6 likesShow this thread -
-
Replying to @kevinmarks
It seems like it's because the disk cache is in a separate chrome worker process, so you eat multiple process context switches to read from it
2 replies 0 retweets 0 likes -
-
Replying to @kevinmarks @antumbral
Yep. This is known-bad. Fixes went in last year for read storms, but Scheduling Is Hard (TM) /cc
@inexorabletash2 replies 0 retweets 1 like -
Replying to @slightlylate @kevinmarks and
The architecture uses 2 reads: the first is for item location (a round-trip via the Browser Process I/O thread) and, in most cases, a second read for the actual body/data
1 reply 0 retweets 1 like -
Replying to @slightlylate @kevinmarks and
Those are running through a single I/O thread, which means you can often see a pile of index reads delaying body reads. The delay is bonkers-slow.
3 replies 0 retweets 1 like
This used to be much, much worse on image-heavy pages. Randy Smith invested a lot of time on fixing, bit I think progress there is stalled because Reasons
-
-
Replying to @slightlylate @kevinmarks and
My hope here is that servicification can help. It'll eliminate the single thread at the center of the picture.
1 reply 0 retweets 0 likes -
Yay! For now I'll look into just building my own in-process cache for these assets using indexedDB and blob URLs. Maybe it'll perform better.
2 replies 0 retweets 1 like - 7 more replies
New conversation -
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.