Fix CPU hogging when stream response is served from a service worker |
||
Issue descriptionService worker seems busy during serving a stream response. It looks like a wrong usage of watcher.
,
May 18 2018
This bug would affect more when the resource is loaded from slower network since it keeps to take CPU resource during the response is streamed. If the response was in the HTTP cache, the duration would be smaller and this would have less effect. That might explain why we saw a stopped service worker made things much slower even after it's started up.
,
May 18 2018
,
May 18 2018
No, c#2 was wrong. It happens when *faster* network *slower* consumer (page). If page is blocked on a script with fast network, it's likely to happen. |
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, May 17 2018