Lokyr
Documentation

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

Results

Measure0.3.00.4.0Budget
Startup, warm, first frame, median251.3 and 236.8 ms230.3 and 236.4 ms
Its gap to the minimal app's first window40.0 and 23.0 ms19.0 and 22.6 ms≤ 35 ms
Its spread13.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 818.9 and 18.9 ms20.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 841.4 and 42.3 ms49.6 and 46.0 ms≤ 4.5 frames at 120 Hz
Idle, package idle wakeups0 and 0/s0 and 0/s0/s
Idle, interrupt wakeups0.35/s0.35/s≤ 0.5/s
Footprint without the GPU's, at rest24.5 and 24.8 MB24.9 and 25.2 MB≤ 35 MB
GPU memory13.7 MB14.1 MB
cat of 1 GiB of ASCII on screen, median of 3307.7 MiB/s309.7 MiB/s
seq 1 10000000205.7 MiB/s216.5 MiB/s
Colored text, SGR265.8 MiB/s274.7 MiB/s
CJK and emoji215.8 MiB/s217.1 MiB/s
A frame on the CPU at 1920 × 1112 pixels, ASCII, p50 and p990.259 and 0.347 ms0.255 and 0.340 msp99 ≤ 2 ms