0.5.1 against 0.5.0
On this page
Measured on 2026-11-07 in one session, between 11:15 and 11:46, unattended: the app of 0.5.0's DMG, of commit b8f8103, against the app of 0.5.1's, of commit 30e2d1e, both notarized and stapled, as just release built them. The reports are in ab-F3-190, with the session's script, run.sh, its analysis, analyze.py, and its tables, analysis.txt.
Method
As in 0.5.0's A/B and the session of 6 November, the config of compare-F2-134, Menlo at 13 points, 120 × 40 cells, an opaque window, of balanced orders: the startup, warm, 10 runs after 2, to the first frame on the display, four rounds, AB BA BA AB, each of the minimal AppKit app of F0 as its floor; the latency of 200 keys, eight rounds, after a warm-up of 20 keys of each bundle; idle over 60 s and memory over 10 s of a bundle started with open -n, 20 s after its start, two rounds; the throughput of the four workloads of onscreen-F2-56 on screen, two runs in each of two rounds. New in this session, as the measures of the start's cause found an uneven settle to move the startup's results with the order: the same pause of 2 s before each run of the startup and of the latency.
Machine
- Apple M5 Pro, macOS 27.2, on AC power, the main display a Dell P2721Q at 60 Hz, a scale of 2.
- The load average 1.2 to 4.5 through the first part, unattended, of no other work but the system's; 4.5 to 9.3 through the window's motion, as Instruments wrote its traces.
Results
| Measure | 0.5.0 | 0.5.1 | Budget |
|---|---|---|---|
| Startup, warm, first frame, median of the four rounds | 228.3, 222.2, 218.9 and 219.3 ms | 235.8, 234.8, 234.9 and 235.8 ms | |
| Its gap to the minimal app's first window, their mean | 13.4 ms | 26.6 ms | ≤ 35 ms |
| Latency at 60 Hz, p50, the mean of 8 rounds | 18.91 ms | 18.92 ms | ≤ 2 frames at 120 Hz |
| Latency at 60 Hz, p99, the mean of 8 rounds | 46.56 ms | 48.63 ms | ≤ 4.5 frames at 120 Hz |
| Its samples in the fourth refresh or later | 9 of 1594 | 11 of 1592 | |
| Idle, package idle wakeups | 0 and 0/s | 0 and 0/s | 0/s |
| Idle, interrupt wakeups | 0.35 and 0.35/s | 0.35 and 0.35/s | ≤ 0.5/s |
| Footprint without the GPU's, at rest | 25.6 and 25.7 MB | 26.1 and 26.1 MB | ≤ 35 MB |
| GPU memory | 30.5 MB | 30.3 MB | |
cat of 1 GiB of ASCII on screen, median of 4 | 330.0 MiB/s | 318.6 MiB/s | |
seq 1 10000000 | 218.9 MiB/s | 219.6 MiB/s | |
| Colored text, SGR | 290.5 MiB/s | 287.4 MiB/s | |
| CJK and emoji | 218.2 MiB/s | 213.7 MiB/s | |
| A frame on the CPU, ASCII, p50 and p99 of each round | 0.269 and 0.355, 0.270 and 0.336 ms | 0.269 and 0.374, 0.272 and 0.388 ms | p99 ≤ 2 ms |
| A frame on the CPU, CJK and emoji, p50 of each round | 0.413 and 0.470 ms | 0.717 and 0.728 ms | |
A frame on the CPU, the p99 of seq, SGR and CJK, each round | 1.9 and 2.1, 3.7 and 3.3, 3.6 and 3.3 ms | 4.6 and 4.5, 4.5 and 4.5, 4.6 and 4.7 ms |
- Every budget holds. The latency, idle, the memory and the throughput are 0.5.0's within their spread: the latency's p50 the same to a hundredth, its p99 2.1 ms longer, half its rounds' standard deviation of 3.9 and 7.0 ms, as much as the place in a round moves it, 46.3 ms in the first place against 48.9 in the second; the footprint 0.5 MB larger.
- The startup is 13 ms longer, in each of the four rounds, its gap to the minimal app 26.6 ms against 13.4, within the budget of 35. 0.5.0's runs spread more, 10 to 23 % against 1 to 8 %. The session of 6 November found the build of then's gap 27.2 ms against 0.5.0's 21.9, and a fix removed a refresh of it, the single tab's title drawn again in the first frame. What stays is not measured yet: the plugins' block's start, its plugins activated and their slots laid out before the first frame, is where to look.
- A frame of CJK and emoji takes 0.27 ms more on the CPU, at the median, and the p99 of
seq, SGR and CJK about 1 to 2.5 ms more, of the same throughput, as the session of 6 November found of the build of then: the plugins' block costs it, not the work since. ASCII's throughput is 3.5 % lower, but 0.5.0's four runs spread from 320 to 338 MiB/s, and 0.5.1's 318.6 is the 318.7 and 318.4 of 0.5.0 and of the build of 6 November in their sessions. The frames' cost is still to find.
The window's motion
Measured between 11:30 and 11:46, of motion/run.sh and its reports in motion, as motion-F3-152 measures it: each window dragged by its titlebar, then resized by its corner, 10 s each along a sine of 200 points, while Instruments' Animation Hitches recorded every process, of its config, Menlo at 20 points, 88 × 27 cells, opaque of a cursor that switches, and translucent at 0.95 with a blur of 10 and the cursor's fades; two rounds, the second in the reverse order. The traces, too large to keep, gave figures.csv.
| Configuration | A drag, frames a second | Missed | Delay p50 | A resize, frames a second | Missed | Delay p95 | The window server's CPU | The app's CPU |
|---|---|---|---|---|---|---|---|---|
| 0.5.0, opaque | 57.4 | 14.5 | 13.6 ms | 55.8 | 36.5 | 14.3 ms | 36 % | 18 % |
| 0.5.1, opaque | 58.0 | 15.5 | 13.5 ms | 56.2 | 31.5 | 20.8 ms | 36 % | 18 % |
| 0.5.0, a blur | 57.2 | 23.5 | 13.3 ms | 56.2 | 32.0 | 13.0 ms | 39 % | 18 % |
| 0.5.1, a blur | 58.0 | 16.5 | 13.3 ms | 56.5 | 30.0 | 28.3 ms | 37 % | 18 % |
The means of the two rounds; the missed refreshes of 600; the resize's CPUs.
- The drag and the live resize show as many frames as 0.5.0's, 57 to 58 a second of a drag, 56 of a resize, of fewer missed refreshes and the same CPU.
- A resize's frames may come later now and then: the compositor's delay at the 95th percentile is 28 ms in three of 0.5.1's four resizes, against 13 to 15 ms in each of 0.5.0's; the median is the same, 12 ms. The 95th percentile is either about 13 ms or about 28 ms in a run, a refresh apart, and the session of 6 November found 28 ms in two of 0.5.0's four resizes too, those of a blur (its figures): over the two sessions, 28 ms in six of the eight resizes of the builds since the plugins' block, against two of 0.5.0's eight. A lead, then, rather than a proof: about one frame in twenty of a resize a refresh later, which a user may see as a slight unevenness of the window's edge; the drags are untouched. More rounds of each, and a measure of 0.5.1 with the tabs plugin off, whose single tab's title the titlebar lays out again at each size, are the next steps.