Skip to content

Commit f6e77ed

Browse files
committed
Add point about blocking JS and FCP
1 parent 6777123 commit f6e77ed

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

_posts/2026-06-01-front-ends-missing-metric-the-tbt-window.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ of main thread blocking activity remain mostly unchanged, but the sheer surface
151151
area being measured is substantially larger:
152152

153153
<figure>
154-
<img src="{{ site.cloudinary }}/wp-content/uploads/2026/06/wpt-02.png" alt="Zoomed WebPageTest main-thread comparison showing broadly similar blocking activity in both traces, but a much longer measured TBT Window after the regression." width="1500" height="489" loading="lazy">
154+
<img src="{{ site.cloudinary }}/wp-content/uploads/2026/06/wpt-02.png" alt="Zoomed WebPageTest main thread comparison showing broadly similar blocking activity in both traces, but a much longer measured TBT Window after the regression." width="1500" height="489" loading="lazy">
155155
<figcaption>The work did not suddenly appear; the metric simply had much more of the timeline available to count.</figcaption>
156156
</figure>
157157

@@ -225,6 +225,17 @@ page fails to reach that required network quietness. This is precisely what
225225
happened here—a network optimisation changed the network profile, TTI moved,
226226
and the TBT Window grew.
227227

228+
Consider also the case of
229+
a [render-blocking](/2024/08/blocking-render-why-whould-you-do-that/)
230+
`<script>`. Any long tasks contained within it are, by definition, exempt from
231+
inclusion in TBT as they fall before FCP. The sensible and worthwhile
232+
optimisation to [make the script
233+
asynchronous](/2022/10/speeding-up-async-snippets/#the-new-syntax) will tangibly
234+
improve milestone timings, but now makes any of those long tasks candidates for
235+
inclusion in TBT. In other words, speeding up paint timings may negatively
236+
impact interactivity numbers despite no material change in the amount of main
237+
thread activity.
238+
228239
The long tasks did not get worse, they just became visible to the metric.
229240

230241
## Causality Can Run Both Ways
@@ -339,7 +350,7 @@ already seeing.
339350

340351
TBT is still a useful lab metric. It is not a replacement for [Interaction to
341352
Next Paint](https://web.dev/articles/inp/), and it is not a perfect model of
342-
real-user interactivity, but it remains a very practical way to spot main-thread
353+
real-user interactivity, but it remains a very practical way to spot main thread
343354
contention during page load.
344355

345356
Unfortunately, however, I feel it being bounded by the arbitrary definitions of

0 commit comments

Comments
 (0)