GoogleChrome/lighthouse

handling impact of isInputPending on long tasks metrics?

開放

#11,747 建立於 2020年12月2日

 (4 則留言) (0 個反應) (0 位負責人)JavaScript (9,278 個分叉)batch import
P2good first issuemetrics-cwv

倉庫指標

星標
 (27,768 顆星)
PR 合併指標
 (平均合併 18天 18小時) (30 天內合併 40 個 PR)

描述

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.

貢獻者指南