Skip to content

Commit b39ecb1

Browse files
committed
feat: Publish Web-Perf Wednesday 014
1 parent 3855caf commit b39ecb1

2 files changed

Lines changed: 133 additions & 0 deletions

File tree

‎_includes/web-perf-wednesdays.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
### More Web-Perf Wednesdays
22

33
<ol reversed>
4+
<li><a href="/2026/10/web-perf-wednesday-014-performance-budgets-need-a-representative-worst/">Web-Perf Wednesday 014 – Performance Budgets Need a Representative Worst</a></li>
45
<li><a href="/2026/10/web-perf-wednesday-013-crux-adds-soft-navigation-core-web-vitals/">Web-Perf Wednesday 013 – CrUX Adds Soft-Navigation Core Web Vitals</a></li>
56
<li><a href="/2026/10/web-perf-wednesday-012-return-to-the-unresolved-trace/">Web-Perf Wednesday 012 – Return to the Unresolved Trace</a></li>
67
<li><a href="/2026/09/web-perf-wednesday-011-speedcurves-inp-observer-missed-its-threshold/">Web-Perf Wednesday 011 – SpeedCurve’s INP Observer Missed Its Threshold</a></li>
Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,132 @@
1+
---
2+
layout: post
3+
title: "Web-Perf Wednesday 014 – Performance Budgets Need a Representative Worst"
4+
date: 2026-10-21 12:00:00 +0100
5+
categories:
6+
- Web Performance
7+
tags:
8+
- Performance Budgets
9+
- Measurement
10+
- Safari
11+
show_taxonomy: true
12+
main: ""
13+
meta: "Performance budgets need a representative worst, while Safari changes identity resolution and Chrome improves module recovery and memory debugging."
14+
---
15+
16+
Plenty has changed since last week, although the most useful development is a
17+
correction to some of my own long-standing advice. A single anomalous result
18+
can make a performance budget so generous that a serious regression still
19+
passes, so the better starting point is a representative worst such as P90 or
20+
P95. Elsewhere, Safari is blocking identity-resolution infrastructure, Chrome
21+
156 can retry failed module loads, and DevTools can point directly to unused
22+
closure variables that are retaining memory.
23+
24+
## Performance Budgets Need a Representative Worst
25+
26+
I’ve made a substantial update to [<cite>Web Performance Budgets,
27+
Pragmatically</cite>](/2020/01/performance-budgets-pragmatically/). The original
28+
advice was to take the worst result from a recent period and make that the
29+
initial budget. It was simple, defensible, and much easier than inventing a
30+
target with no idea whether a team could meet it.
31+
32+
Olga Loboda spotted the problem: the single worst result may be an outlier. If
33+
Largest Contentful Paint (LCP) usually sits around 2.2 seconds but reaches 7.1
34+
seconds once, a 7.1-second budget would allow the site to become dramatically
35+
slower without failing. The threshold would be technically attainable and
36+
practically useless.
37+
38+
The revised approach uses a **representative worst**, perhaps the 90th or 95th
39+
percentile of the recent time series. For a dashboard that records daily P75
40+
LCP, that could mean calculating P90 across those daily P75 values. This isn’t
41+
changing the percentile used to assess Core Web Vitals; it is choosing a robust
42+
point from the sequence of measurements used to set the budget.
43+
44+
I’ve also published [a simple Google Sheet
45+
template](https://docs.google.com/spreadsheets/d/1cxLuF1TKxPd_32xbF4IUfmMUDytOFcLYInxr-kCE7b8/edit?usp=sharing)
46+
that calculates the mean, median, P75, P90, P95, and P99, and suggests P90 as a
47+
starting point. The recommendation still needs judgement. Use enough data to
48+
cover the ordinary variation in releases, traffic, and test conditions, and
49+
keep unlike populations separate. A synthetic mobile test, desktop RUM, and a
50+
third-party request count shouldn’t be combined merely because they share a
51+
dashboard.
52+
53+
The wider principle remains the same: a performance budget is a safeguard. It
54+
records how bad we’re currently prepared to let a chosen metric become; as the
55+
site improves, the budget can come down with it. If the metric regresses, the
56+
budget stays put while the team investigates. Increasing the threshold simply
57+
to make the check pass removes the protection it was meant to provide.
58+
59+
The source data should also match the place where the budget will be enforced.
60+
If a CI check runs one fixed synthetic profile, establish its threshold from
61+
that profile’s history. If a product team acts on field data, define the device,
62+
geography, page type, and percentile that the alert represents. A plausible
63+
number from the wrong population will produce plausible-looking false alarms.
64+
65+
Teams should recalculate the candidate value on a regular cadence, but changes
66+
should still be reviewed rather than applied automatically. Check whether a
67+
new value comes from an improvement, a population change, missing data, or a
68+
different test setup. A [performance-budget review](/consultancy/) can then turn
69+
that evidence into thresholds that are strict enough to catch regressions and
70+
stable enough that people don’t learn to ignore them.
71+
72+
## Safari Blocks Identity-Resolution Infrastructure
73+
74+
[WebKit now says](https://webkit.org/blog/18438/blocking-identity-resolution-infrastructure/)
75+
that Safari in iOS, iPadOS, macOS, and visionOS 27 blocks network access to
76+
identity-resolution infrastructure at the domain level. These services can
77+
send an email address to a third party and return an opaque identifier that is
78+
later used for matching and targeting across sites and devices.
79+
80+
For teams using this class of service, Safari can now change attribution,
81+
audience matching, and the shape of a network waterfall without any site
82+
release. Identify the affected vendors and requests, then compare Safari with
83+
other browsers before explaining a fall in matches or bytes as a product or
84+
performance change. A [third-party performance audit](/performance-audits/)
85+
should account for blocked work as well as work the page still executes.
86+
87+
## Chrome 156 Lets Failed Modules Retry
88+
89+
[Chrome 156 reached the stable
90+
channel](https://chromereleases.googleblog.com/2026/10/stable-channel-update-for-desktop_02018666648.html)
91+
on 20 October. Its [module-loading
92+
change](https://chromestatus.com/release-notes/156) stops caching failed module
93+
loads, so calling `import()` again can make a genuine retry instead of
94+
immediately returning the earlier failure.
95+
96+
This gives applications a better recovery path on unreliable connections,
97+
particularly when a route or feature is loaded on demand. Retrying still needs
98+
to be bounded: record the first failure, wait before trying again, and report
99+
whether recovery succeeded. A tight retry loop can replace one failed request
100+
with repeated network and main-thread work. It is worth adding the failure and
101+
recovery path to a [team workshop](/workshops/), rather than testing only the
102+
successful load.
103+
104+
## DevTools Finds Retained Closure Variables
105+
106+
The latest [Chrome DevTools
107+
update](https://developer.chrome.com/blog/new-in-devtools-november-2026/)
108+
can detect unused closure variables retained in shared V8 execution contexts.
109+
The Memory panel correlates closures with their `Context` objects, highlights
110+
fields that no live closure accesses, and sorts them by memory impact.
111+
112+
That makes a common heap-snapshot problem much easier to investigate. A value
113+
can be unreachable from the code path you care about yet remain in memory
114+
because a long-lived sibling closure retains the shared context. In an SPA,
115+
repeat the same route or interaction before taking the snapshot; the retained
116+
fields that grow with each pass are far more useful than a large heap viewed in
117+
isolation. DevTools now provides a much better place to start that comparison.
118+
119+
## Need Help Setting Better Performance Budgets?
120+
121+
If one outlier determines your current budget, or every alert prompts an
122+
argument about whether the threshold was sensible, I can help choose a
123+
representative period, separate incompatible populations, and turn the result
124+
into a safeguard your team will trust. We can also connect the budget to the
125+
trace, RUM segment, or release evidence needed to investigate a failure.
126+
127+
You don’t need a finished measurement strategy. A chart export, a handful of
128+
recent results, or one alert that keeps firing without leading anywhere is
129+
enough to begin. If you’d like a second pair of eyes on it, [get in
130+
touch](/contact/).
131+
132+
{% include web-perf-wednesdays.md %}

0 commit comments

Comments
 (0)