Lokyr
Documentation

The build of 6 November against 0.5.0, and the single tab's title

On this page

Measured on 2026-11-06 in one session, between 22:24 and 22:41, unattended: the app of 0.5.0's DMG, of commit b8f8103, notarized and stapled, against the app of the build of commit a3e5b0b, 0.5.0-20261106, signed, of just bundle; then that build with the tabs plugin and without it, [plugins.tabs] enabled = false, to tell the cost of a single tab's title, which the plugin draws in the titlebar since that build. The reports are in ab-F3-49, with the session's script, run.sh, its config, analyze.py and its tables, analysis.txt.

Method

As in 0.5.0's A/B, 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 rounds of two runs each. Then, of the build of now with the tabs plugin (cur) and without it (notabs): the startup in two rounds, the latency in four, and the frames of a program that sets the window's title 100 times, 20 a second, in two rounds; and the frames of a program that tells its progress, OSC 9;4, 50 times, 10 a second, of a single tab and of a bar shown, hide-when-single = false, two runs each.

Machine

Results

Measure0.5.0NowBudget
Startup, warm, first frame, median of the four rounds226.2, 232.3, 233.2 and 230.9 ms236.7, 234.2, 239.8 and 233.1 ms
Its gap to the minimal app's first window, their mean21.9 ms27.2 ms≤ 35 ms
Latency at 60 Hz, p50, the mean of 8 rounds19.03 ms21.46 ms≤ 2 frames at 120 Hz
Latency at 60 Hz, p99, the mean of 8 rounds47.82 ms35.59 ms≤ 4.5 frames at 120 Hz
Its samples in the fourth refresh or later, of 1592100
Idle, package idle wakeups0 and 0/s0 and 0/s0/s
Idle, interrupt wakeups0.35 and 0.35/s0.33 and 0.35/s≤ 0.5/s
Footprint without the GPU's, at rest25.4 and 25.6 MB26.4 and 26.4 MB≤ 35 MB
GPU memory30.0 MB30.5 MB
cat of 1 GiB of ASCII on screen, median of 4326.8 MiB/s318.4 MiB/s
seq 1 10000000219.8 MiB/s219.8 MiB/s
Colored text, SGR286.2 MiB/s287.2 MiB/s
CJK and emoji216.1 MiB/s216.1 MiB/s
A frame on the CPU, CJK and emoji, p50 of each round0.452 and 0.443 ms0.716 and 0.711 ms
The single tab's titleWith the tabs pluginWithout it
Startup, warm, first frame, median of the two rounds231.9 and 233.9 ms217.9 and 214.6 ms
Latency, p50, the mean of 4 rounds21.48 ms18.73 ms
Latency, p99, the mean of 4 rounds34.88 ms51.20 ms
Its samples in the fourth refresh or later, of 79608
Frames of 100 title changes, each round102 and 1021 and 1
A frame of those, p500.555 and 0.571 ms
A program's progress, 50 changesFrames, each run
A single tab, its bar hidden2 and 2
A bar shown11 and 10

Which part of the title costs

Measured on 2026-11-06, between 23:15 and 23:20, of factors.sh and its reports in factors: an experimental build of a3e5b0b, never committed, whose titlebar LOKYR_EXPERIMENT_TITLEBAR forces, in four variants, the latency in four rounds of a Latin square, each variant once at each place, and the startup in two rounds; the load average 1.4 to 2.5.

VariantThe titlebarThe title's viewStartup, the two roundsLatency p50, mean of 4p99, mean of 4Samples in the first refresh, each roundIn the fourth or laterA frame's CPU, p50
T0the system'snone, no tabs plugin220.6 and 217.1 ms19.86 ms49.51 ms72, 59, 51, 60111.19 ms
T1of no titlenone, no tabs plugin218.8 and 216.8 ms19.60 ms49.92 ms58, 59, 74, 6961.17 ms
T2the system's, over the viewthe title's236.3 and 233.2 ms21.91 ms37.26 ms36, 25, 42, 2701.31 ms
T3of no title, as shippedthe title's236.9 and 235.6 ms21.62 ms37.35 ms42, 40, 40, 4301.29 ms

The start's cause and its fix, and the latency again

Measured on 2026-11-07, between 00:56 and 01:06, unattended, of f3-187/fix.sh and f3-187/fixlat.sh, their reports and analysis.txt in f3-187: the build of a3e5b0b (cur) against the build of the fix with the tabs plugin (fix) and without it (fixnotabs), the startup to the first frame and to the window on screen, of lokyr-bench startup, in four rounds of balanced orders, then the latency in four; the load average 1.9 to 7.0, of the system's own work.

MeasureBefore the fixThe fixThe fix, without the tabs plugin
Startup, first frame, median of each round249.3, 249.0, 247.9 and 236.7 ms233.3, 234.0, 234.8 and 233.3 ms233.2, 232.1, 241.4 and 236.8 ms
Their mean245.7 ms233.8 ms235.8 ms
Startup, the window on screen, their mean250.2 ms227.3 ms224.6 ms
Latency, p50, the mean of 4 rounds24.14 ms23.80 ms26.65 ms
Latency, p99, the mean of 4 rounds41.05 ms42.16 ms72.24 ms
Its samples in the fourth refresh or later, of 7961076

The window's motion

Measured on 2026-11-06, between 23:21 and 23:38, of motion/run.sh and its reports in motion, its means in tables.md, 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. The load average went from 5.3 to 8.6 as the traces were written.

ConfigurationA drag, frames a secondMissedDelay p50A resize, frames a secondMissedThe window server's CPUThe app's CPU
0.5.0, opaque57.315.013.6 ms55.737.033 %18 %
Now, opaque58.89.013.7 ms55.342.534 %19 %
0.5.0, a blur58.016.513.6 ms55.638.536 %18 %
Now, a blur58.016.013.5 ms56.034.536 %17 %