Total Blocking Time (TBT) is a time based metric that describes JavaScript main thread activity. It is useful for understanding how long a page is unable to respond to user input.
TBT is designed to be more reliable than Time to Interactive, which can show more variation due to rogue JavaScript tasks.
Total Blocking Time totals the duration ”blocking period” of long JavaScript tasks that occur after First Contentful Paint and before Time to Interactive. The blocking period is the duration of a task that is over 50ms. For example, a task that is 120ms in duration will be calculated as 70 ms of blocking time.
In Calibre, Total blocking time is calculated by Lighthouse, which is part of our testing suite.
Pages with < 300 ms of blocking time can be considered as fast, 300—600 ms as average where as durations over 600 ms are considered slow.
Good TBT Measurement | Poor TBT Measurement |
---|---|
≤ 300ms | > 600ms |