third-party-web icon indicating copy to clipboard operation
third-party-web copied to clipboard

Execution time vs long tasks

Open zeman opened this issue 6 years ago • 1 comments

It would be super interesting to dig deeper into execution time if possible and highlight any blocking CPU (long tasks > 50ms) caused by a third party. Are long tasks captured by Lighthouse somewhere in the bootup time audit?

We're doing a bunch of third party analysis and just because a third party has a lot of CPU usage doesn't mean it's a bad actor. Only long tasks impact user experience and push out metrics like TTI.

In this example of CPU usage that splits out blocking vs non-blocking CPU, should Drift have the higher impact or Google Tag Manager? Long tasks can dramatically change how execution time is interpreted.

Screen Shot 2019-05-03 at 8 37 58 PM

zeman avatar May 03 '19 08:05 zeman

Good points @zeman! I'm thinking an interesting metric could be X ms executing longer than 50 ms.

This would indeed have to land in Lighthouse first 👍

patrickhulce avatar May 03 '19 13:05 patrickhulce