1.7.0 against 1.6.2
On this page
Measured on 2026-12-02 in sessions of ttybench, the toolkit that measures terminal emulators on macOS. A is 1.6.2's tag built into a bundle, 1.6.2 (202612010909). B is the bundle of 1.7's code, whose version 1.7.0 raises: 1.6.2 (202612021321) for the startup, the first frame and the window at rest, and 1.6.2 (202612021602), the same code with the second fix below, for the rest. Both are signed alike, and neither is notarized. The sessions' files are tools/bench/sessions, and each session's report, records and log are in ab-F5b-125.
Method
- The A/B in six steps, as 1.6.1's, each a session of its own balanced orders, AB BA BA AB, and the same pause of 2 s before each run:
- the startup, each copy and ttybench's floor app launched 30 times first, the floor app beside each round, and the memory;
- the first frame shown of each copy and of the floor app, of Instruments' trace;
- a window at rest, 30 s of each copy 20 s after its launch;
- a key's latency, 100 keys of each copy in each of eight cycles;
- 1 GiB of plain text, of colored text and of wide characters printed on screen, the lines of
seq 1 10000000, and plain text in a window of 216 × 64 cells; - 10 s of a trackpad's scroll, by rows and smooth, and of a wheel's scroll of plain and of wide text, of a frame's time on the CPU;
- the window dragged and resized along a sine, 10 s each, opaque and translucent of a blur, and each frame of a smooth scroll of Instruments' trace.
- One config for both, the releases' of the least work: Menlo at 13 points, 120 × 40 cells, no ligatures, a cursor that doesn't blink, an opaque window, no quick tip, no windows restored; smooth scrolling and Blocks off. Each copy keeps its state and installed plugins in a folder of its own.
- The scenarios of 1.7's features, each of B against itself, of a config whose plugin builds it as Lokyr starts: ten triggers against none, and a tab of four panes as cards against plain.
- The intervals resample each copy's runs first, then each run's samples, so that a run that moves as a whole of the machine's state is not told as a change.
- ttybench 0.3.3, which looks for the typed line of a latency's run once the window has been still for a second. 1.7 names the program that a script runs in its title, as below, and marks it printing for a moment after its start. 0.3.2 took that mark's change beside each key into the line, which then failed the run.
- The tools' temporary files in a folder that the Mac's antivirus leaves alone, as it scanned each trace that Instruments wrote.
What the sessions found
The first sessions found two costs of 1.7's code, both fixed before the sessions below:
- The app woke at rest. A window at rest woke 3.09 times a second, against 1.6.2's 0.32, over the budget of 0.5. The file watcher's major version, notify 9.0.0, runs its FSEvents run loop half a second at a time to look at its stop flag again, so each of the app's eight watches woke twice a second. 1.7 stays on notify 8.2, whose run loop sleeps until an event comes.
- A script's program was looked up at every frame. 1.7 names the program that a login shell's command runs in its title, such as
lazygitin a popup, rather thanlogin, of a look at the terminal's processes. That look ran at every frame. It cost some 0.7 ms of a frame's time on the CPU during a scroll, 1.7 ms of a key's latency, and 1.9 % of the lines of numbers' throughput. 1.7 keeps the program found while it is in its group, and looks again only while a shell has no program below it yet. ttybench runs its payload as a script, so every step measured it.
Machine
- Apple M5 Pro, macOS 27.2.1, on AC power; a Dell P2721Q at 60 Hz, at a scale of 2, looking like 2560 × 1440 points.
- The load average 1.2 to 7.9 at the steps' starts, of the system's work, an editor and a browser open, as each session's runs' table tells.
Results
| Measure | 1.6.2 | 1.7.0 | Change, its 95 % interval | Budget |
|---|---|---|---|---|
| Startup, the launch to the window, median of 32 | 356.2 ms | 358.1 ms | +1.9 ms, −6.9 … +8.9 | |
| Startup, its window after the floor app's | 78.30 ms | 87.58 ms | +9.28 ms, −6.18 … +20.33 | ≤ 70 ms ✘ both |
| Startup, its first frame after the floor app's | 92.21 ms | 74.07 ms | −18.13 ms, −107.68 … +79.68 | |
| Memory, the processes' footprint with the GPU's | 49.45 MiB | 60.26 MiB | +10.81, +10.45 … +11.03 | |
| Memory, the processes' footprint without the GPU's | 30.68 MiB | 31.12 MiB | +0.44, +0.08 … +0.66 | |
| Idle, interrupt wakeups, their mean | 0.33/s | 0.33/s | ±0.00, −0.12 … +0.12 | ≤ 0.5/s ✔ |
| Idle, package idle wakeups | 0/s | 0/s | ≤ 0/s ✔ | |
| Idle, the CPU | 0.054 % | 0.053 % | −0.001, −0.003 … +0.002 | |
| Latency, a key to its echo, p50 | 12.31 ms | 12.30 ms | −0.01 ms, −0.32 … +0.24 | ≤ 33.3 ms ✔ |
| Latency, p99 | 29.91 ms | 29.85 ms | ≤ 75 ms ✔ | |
| 1 GiB of plain text on screen, to the quiet | 310.0 MiB/s | 304.3 MiB/s | −5.7, −14.2 … +3.2 | ≥ 284.8 MiB/s ✔ |
| Colored text | 282.5 MiB/s | 276.8 MiB/s | −5.7, −22.0 … −2.7 | |
| Wide characters | 324.6 MiB/s | 322.6 MiB/s | −2.0, −57.1 … +151.5 | |
The lines of seq 1 10000000 | 219.1 MiB/s | 215.8 MiB/s | −3.3, −25.9 … −0.2 | |
| Plain text in a window of 216 × 64 cells | 308.6 MiB/s | 305.7 MiB/s | −2.9, −9.9 … +3.5 | |
| A trackpad's scroll by rows, frames a second | 15.87 | 15.87 | ±0 | |
| A smooth scroll, frames a second | 60.74 | 60.69 | −0.05, −0.25 … +0.05 | |
| A trackpad's scroll by rows, a frame on the CPU | 3.55 ms | 3.65 ms | +0.11 ms, +0.01 … +0.30 | |
| A smooth scroll, a frame on the CPU | 1.89 ms | 1.90 ms | +0.01 ms, −0.02 … +0.07 | |
| A wheel's scroll of plain text, a frame on the CPU | 2.39 ms | 2.44 ms | +0.05 ms, −0.03 … +0.13 | |
| A wheel's scroll of wide text, a frame on the CPU | 2.36 ms | 2.44 ms | +0.08 ms, −0.01 … +0.18 | |
| A smooth scroll, refreshes of a new frame | 99.79 % | 99.75 % | −0.04, −0.41 … +0.33 | |
| A smooth scroll, a frame's GPU time | 0.273 ms | 0.274 ms | +0.001, −0.000 … +0.002 |
- Every budget holds but the startup's gap, over it for both bundles, which are not notarized, as in 1.6.0's sessions. The candidate's notarized DMG measures it at rest.
- The startup, the window at rest, the latency, the scroll and the smooth scroll's frames are 1.6.2's.
- The output is 1.6.2's for plain text, wide characters and the large window. Colored text is 2.0 % slower and the lines of numbers 1.5 % slower, each interval just short of 0: two small costs left, in the VT core's printing.
- A trackpad's scroll by rows takes 0.11 ms more of a frame on the CPU, an interval that just misses 0; the wheel's and the smooth scroll's are 1.6.2's.
- The memory with the GPU's is 10.8 MiB larger, of no leak. 1.7 names ttybench's payload as the program in its title, where 1.6.2 named
login. As the program's mark changes, the title is drawn again, and the window keeps the second of its two drawables. Of a shell, both versions keep both and take some 56 MiB alike. The memory without the GPU's is 0.4 MiB larger.
The window's motion
| Measure | 1.6.2 | 1.7.0 | Change, its 95 % interval |
|---|---|---|---|
| A drag, opaque, frames a second | 31.80 | 30.31 | −1.49, −6.70 … +3.72 |
| A drag, with a blur | 37.92 | 32.44 | −5.48, −13.61 … +2.66 |
| A live resize, opaque | 30.53 | 32.81 | +2.29, −4.36 … +8.93 |
| A live resize, with a blur | 20.53 | 34.25 | +13.72, +10.53 … +16.91 |
| A drag, the compositor's delay | 13.09 ms | 12.96 ms | −0.13, −0.36 … +0.17 |
| A live resize, the compositor's delay | 12.30 ms | 12.36 ms | +0.06, −0.01 … +0.19 |
| A live resize with a blur, the app's CPU | 17.57 % | 22.09 % | +4.52, +2.60 … +6.45 |
| A live resize with a blur, the window server's CPU | 21.52 % | 27.32 % | +5.80, +4.00 … +7.60 |
- The window's motion is 1.6.2's: as many frames of a drag and of a resize, and the same compositor's delay. A resize with a blur showed more frames of 1.7.0, and the CPU that they take.
- Both versions drew about half the frames of 1.6.1's session, 58 a second, of the Mac's state that day: Instruments took some 3.5 minutes a run to record and read every process, where it took under one before. The table of every measure leaves 1.7.0's motion empty, rather than tell a change that the A/B did not find.
Triggers
cat of 1 GiB of plain text on the screen of B, of no trigger, of one and of ten, the find bar's common patterns, none of which matches the text, as most of a program's lines match none; five cycles, scenario-triggers.
| Triggers | None | One | Ten |
|---|---|---|---|
cat of 1 GiB, to the quiet | 299.3 MiB/s | 302.2 MiB/s | 305.9 MiB/s |
Ten triggers cost nothing measurable: the three are within each other's noise, each above the budget of 284.8 MiB/s.
The panes as cards
A tab of four panes of B, as cards against plain: the measured pane on the left, three fifths of the window's width, under the window's middle where the measures point and scroll, and three panes beside it; four cycles, scenario-four-panes.
| Measure | Plain | Cards | Change, its 95 % interval | Budget |
|---|---|---|---|---|
| Idle, interrupt wakeups, their mean | 3.38/s | 3.38/s | +0.01, −0.17 … +0.18 | ≤ +0.1/s ✔ |
| Idle, package idle wakeups | 0/s | 0/s | ≤ 0/s ✔ | |
| Idle, the CPU | 0.258 % | 0.260 % | +0.002, −0.008 … +0.013 | |
| Memory without the GPU's | 58.68 MiB | 58.96 MiB | +0.28, −0.10 … +0.38 | |
| A wheel's scroll, a frame on the CPU | 2.72 ms | 2.85 ms | +0.13 ms, +0.04 … +0.18 | ≤ +5 % ✔ |
| A wheel's scroll, the app's GPU time a second | 19.41 ms | 48.17 ms | +28.76, +26.24 … +29.27 | |
| A wheel's scroll, the window server's GPU time a second | 18.77 ms | 7.52 ms | −11.25, −12.56 … −3.08 |
- The cards cost nothing at rest: the same wakeups, CPU and memory. The 3.38 wakeups a second of both are the three shells beside the measured pane, each of the sessions' account's prompt, which wakes once a second; Lokyr's own are 0.35 a second, as of one pane.
- A frame of the cards takes 4.9 % more of the CPU than a plain one, within the 5 % that the cards were held to.
- The cards take some 17.5 ms more of the GPU a second of a scroll, about 0.9 ms a frame of 20 a second: the app's GPU time is 28.8 ms more, and the window server's 11.3 ms less.
The sessions
Each session's report, of ttybench, in the order that they ran:
- ab-1-start-2026-12-02-1433: the startup, each copy launched 30 times first, beside the floor app, and the memory.
- ab-1-first-frame-2026-12-02-1446: the first frame shown, of Instruments' trace.
- ab-2-idle-2026-12-02-1454: a window at rest, 20 s after the launch.
- ab-3-latency-2026-12-02-1706: the latency, eight cycles of 100 keys.
- ab-4-output-2026-12-02-1712: the output on screen.
- ab-4-output-large-2026-12-02-1715: the output in a window of 216 × 64 cells.
- ab-5-scroll-2026-12-02-1716: the scroll by rows, smooth and of a wheel.
- ab-6-motion-2026-12-02-1725: the window's motion and a smooth scroll's frames.
- scenario-triggers-2026-12-02-1840: ten triggers against none.
- scenario-four-panes-2026-12-02-1842: a tab of four panes as cards against plain.