GoogleChrome/lighthouse

handling impact of isInputPending on long tasks metrics?

Open

#11 747 ouverte le 2 déc. 2020

Voir sur GitHub
 (4 commentaires) (0 réactions) (0 assignés)JavaScript (27 768 stars) (9 278 forks)batch import
P2good first issuemetrics-cwv

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.

Guide contributeur