GoogleChrome/lighthouse
Ver no GitHubhandling impact of isInputPending on long tasks metrics?
Open
#11.747 aberto em 2 de dez. de 2020
P2good first issuemetrics-cwv
Métricas do repositório
- Stars
- (27.768 stars)
- Métricas de merge de PR
- (Mesclagem média 18d 18h) (40 fundiu PRs em 30d)
Description
navigator.scheduling.isInputPending is shipping by default in current Chrome stable (m87). Without user input, any page using isInputPending has a strong reason to believe yielding during long tasks won't improve user experience so it could keep on chugging instead.
This may have a large impact on any metric looking at long tasks (TBT, TTI) compared to what a real user would experience when loading the same page.
- There was a discussion in the WICG about how it should interact with the Long Tasks API and warnings against long tasks, as well if there should be a way to tell if
isInputPendingwas called during a particular long task: https://github.com/WICG/is-input-pending/issues/37 - Chrome status entry