GoogleChrome/lighthouse

handling impact of isInputPending on long tasks metrics?

Open

#11.747 aperta il 2 dic 2020

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)JavaScript (9278 fork)batch import
P2good first issuemetrics-cwv

Metriche repository

Star
 (27.768 star)
Metriche merge PR
 (Merge medio 23g 18h) (35 PR mergiate in 30 g)

Descrizione

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.

Guida contributor