Lighthouse: Fonts gatherer can take a very long time

Created on 8 Feb 2018  ·  4Comments  ·  Source: GoogleChrome/lighthouse

While debugging the offscreen images issue on https://feuerwehr-eisolzried.de/ I noticed Fonts gatherer took 13 seconds and https://us.norton.com/ took more than 60s (!!).

@wardpeet maybe we should put a timeout on that loadStylesheetWithCORS function? or find a way to do it over protocol without rerequesting if possible :)

OYB P1 bug

Most helpful comment

It's not just you 😉 I've run the extension quite a few times today and 'Fonts' was taking significant amount of time on non-trivial websites.

All 4 comments

Yeah I find a solution to make it faster. It's pretty slow when there are some CORS stylesheets. I'll fix that in a proper fix within the #4464 issue so we also load imported stylesheets

SG! I'm also not entirely sure what was going on haha, I've re-run both of those after adding some logging and now I can't get it to take more than 1s so maybe just something odd with my machine too 🤷‍♂️

It's not just you 😉 I've run the extension quite a few times today and 'Fonts' was taking significant amount of time on non-trivial websites.

fixed by #4488, we believe. let's reopen immediately if we're seeing Fonts gatherer take > 1000ms

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dkajtoch picture dkajtoch  ·  3Comments

johnfrancisli picture johnfrancisli  ·  3Comments

mjara74 picture mjara74  ·  3Comments

devrsi0n picture devrsi0n  ·  3Comments

workjalexanderfox picture workjalexanderfox  ·  3Comments