Open Bug 1283197 Opened 8 years ago Updated 1 year ago

service worker offline page loads can be janky


(Core :: DOM: Service Workers, defect, P2)





(Reporter: bkelly, Unassigned)


(Blocks 1 open bug)


(Whiteboard: [e10s-multi:-])

Go to a site that is offlined by a service worker.  For example, my blog:

Open the network panel and reload a few times.  Often we finish loading in 200ms to 300ms, which seems reasonable.  Sometimes, however, we hit load jank which puts us at 1 to 2 seconds.

This might be partly due to sending all our resources in large chunks instead of properly streaming.  I've been told we can trigger main thread jank when trying to parse large single chunks of html, etc at a single time.  We should check this again once bug 1204254 is fixed.
Priority: -- → P2
tracking-e10s: --- → ?
I don't think this is an e10s specific issue.

While testing e10s vs non-e10s, though, I can only reproduce it in a browser with many other tabs.  Its probably just cross-tab stuff blocking runnables needed for load on the main thread.

I'm going to leave this open, though, to retest when I streamify things.
tracking-e10s: ? → ---
Whiteboard: [e10s-multi:-]
Depends on: 1390638
No longer depends on: 1390638
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.