patrickhulce / patrickhulce/third-party-web

Execution time vs long tasks

Open
#41 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.1k
Forks
112
Avg merge
22h 26m
Merged PRs (30d)
1

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by checking whether Lighthouse's bootup time audit captures long tasks over 50 ms and how its CPU data distinguishes blocking from non-blocking work. Determine how third-party attribution should account for long tasks, then define completion as reporting that impact clearly alongside execution time; the issue names no repository files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
performance, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.