GoogleChrome / GoogleChrome/lighthouse

Reconcile main-thread-tasks with Long Tasks

Open
#14,805 0 comments 0 reactions 0 assignees View on GitHub
P2
Dominant language
JavaScript
Stars
30.8k
Forks
9.8k
Avg merge
1d 14h
Merged PRs (30d)
20

Description

![image](https://user-images.githubusercontent.com/39191/217602820-33d70083-a9c0-4bc1-bc90-50b0c309766c.png)

Based on this screenshot, you can see RUM long tasks don't line up with RPP 'task's, but those RPP tasks (I believe) are the RunTask events we use to form the basis of our long task stuff.

There's a new 'LongTaskTracker' event under the `scheduler.long_tasks` category. It seems to match the rum definition. I believe we want to migrate to those. still some research required as there's plenty of weirdness in this area.

Contributor guide

Open the contributing guide

Research direction

Start by comparing the RUM long-task definition with the RPP task events shown in the linked screenshot, then investigate the newer LongTaskTracker event under scheduler.long_tasks. Confirm whether it matches the RUM definition and identify the remaining edge cases. Done means the long-task handling is reconciled with the intended event source and the behavior is verified against the observed mismatch.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.