0.4.0 against 0.3.0
Measured on 2026-11-04, between 14:08 and 14:30, in one session: the app of 0.3.0's DMG, of commit 7a3179d, against the app of 0.4.0's DMG, of commit 288822f, both notarized and stapled, each measure in turns, as ab-F3-83 measured 0.2.0 against 0.3.0. The reports are in ab-F3-29, with the session's scripts, run.sh and latency-more.sh, its config and analyze.py, which writes the tables of the reports.
Method
As in 0.3.0's A/B: one session, in turns, twice; the config of compare-F2-134, Menlo at 13 points, 120 × 40 cells; startup warm, 10 runs after 2, to the first frame on the display, and the minimal AppKit app of F0 as its floor; latency of 200 keys; idle over 60 s and memory over 10 s of a bundle started with open -n, 20 s after its start; the throughput of the four workloads of onscreen-F2-56 on screen, three runs each. Both bundles load Sparkle's updater once their first window opens, which the idle and memory's measures, started with open, hold.
As the two rounds of latency found 0.4.0's p99 higher, six more rounds of it followed, latency-more.sh: three in the same order, 0.3.0 then 0.4.0, and three in the other, 0.4.0 then 0.3.0.
Machine
- Apple M5 Pro, macOS 27.2 (26B123), on AC power; the main display a Dell U3417W, 3440 × 1440 pixels at a scale of 1 at 60 Hz, on which every window opened. 0.3.0's A/B ran on a panel at a scale of 2, so the GPU's memory and a frame's pixels compare within this session only.
- The load average was 2.0 as the session started and 1.4 to 3.5 during the rounds of latency, of other work on the machine; each measure alternates the bundles, which share it.
Results
| Measure | 0.3.0 | 0.4.0 | Budget |
|---|---|---|---|
| Startup, warm, first frame, median | 251.3 and 236.8 ms | 230.3 and 236.4 ms | |
| Its gap to the minimal app's first window | 40.0 and 23.0 ms | 19.0 and 22.6 ms | ≤ 35 ms |
| Its spread | 13.5 and 13.4% | 8.3 and 7.9% | |
| Latency at 60 Hz, p50, the mean of rounds 1 to 5, and of 6 to 8 | 18.9 and 18.9 ms | 20.0 and 18.9 ms | ≤ 2 frames at 120 Hz |
| Latency at 60 Hz, p99, the mean of rounds 1 to 5, and of 6 to 8 | 41.4 and 42.3 ms | 49.6 and 46.0 ms | ≤ 4.5 frames at 120 Hz |
| Idle, package idle wakeups | 0 and 0/s | 0 and 0/s | 0/s |
| Idle, interrupt wakeups | 0.35/s | 0.35/s | ≤ 0.5/s |
| Footprint without the GPU's, at rest | 24.5 and 24.8 MB | 24.9 and 25.2 MB | ≤ 35 MB |
| GPU memory | 13.7 MB | 14.1 MB | |
cat of 1 GiB of ASCII on screen, median of 3 | 307.7 MiB/s | 309.7 MiB/s | |
seq 1 10000000 | 205.7 MiB/s | 216.5 MiB/s | |
| Colored text, SGR | 265.8 MiB/s | 274.7 MiB/s | |
| CJK and emoji | 215.8 MiB/s | 217.1 MiB/s | |
| A frame on the CPU at 1920 × 1112 pixels, ASCII, p50 and p99 | 0.259 and 0.347 ms | 0.255 and 0.340 ms | p99 ≤ 2 ms |
- No budget is worse beyond its spread but the latency's tail, within its budget, which latency-F3-135 measured next. Idle, memory and throughput are 0.3.0's within their runs' spread; the throughputs' runs of each bundle move by up to 8%, more than the bundles differ.
- The startup takes a refresh less. The runs of both fall on steps of a refresh at 60 Hz, 16.7 ms apart, about 220, 237, 253 and 268 ms: 0.3.0's mostly on the third in the first round, on the second and the third in the second round; 0.4.0's half on the first and half on the second, but one run of 248 ms, none on the third. The fix of the first frame's extra refresh (startup-F3-105), which 0.3.0 lacks, holds in the notarized app. 0.3.0's first round, 40 ms over the minimal app, is past the budget, of the refresh that the fix took away.
- The latency's median is the order's. In rounds 1 to 5, where 0.4.0 ran second, its p50 was 1 ms higher in four rounds of five; in rounds 6 to 8, where it ran first, the two medians are equal, 18.9 ms. The second bundle of a pair is the slower, whichever it is.
- The latency's p99 is 0.4.0's higher in 7 rounds of 8: by 8.2 ms on average where it ran second, by 3.7 ms where it ran first. The p99 of 199 samples is their second highest, so a few samples move it by a refresh: over the eight rounds, 0.4.0 has 10 samples of 1592 in the fourth refresh or later, 0.3.0 has 4. A small tail, steady across the rounds and both orders, at about 3 frames at 60 Hz, against the budget's 4.5 counted at 120 Hz.
- A suspect, not measured yet: since 0.4.0, once an accessibility client asked for a window's tree, as an app of the Accessibility permission does when a window becomes key, the app builds the window's tree again, with its panes' text, at most every 200 ms as the screens change, on the main thread. The latency's measure changes the screen at every key, so that a frame next to that work can miss its refresh. A later session measured it: not the cause, as 0.4.0 without the trees' rebuilds keeps its tail (latency-F3-135).
- Memory: 0.4.0's footprint without the GPU's is 0.4 MB larger in both rounds, as its binary is 0.42 MB larger; its GPU's memory 448 KiB larger, of the driver's graphics allocations. Both within the budget.