F3's architecture against F2
Measured on 2026-11-02, between 08:20 and 08:32, in one session: the bundle of F2, main at d458e4c, which tells 0.1.0-20261101, against the bundle of F3's 0.2.0, f3 at 50b3ed8, built with LOKYR_RELEASE=0.2.0, each measure in turns, F2 then F3, against the budgets. The raw reports, the script and the config are in ab-F3-13/.
Method
- One session, in turns: the machine's state moves the figures from a day to the next, as startup-F2-53 found, so that F2's are measured again beside F3's, rather than compared with the figures of their earlier reports.
run.shruns each measure for F2, then for F3, twice; the latency five times. - The config, of its own through
XDG_CONFIG_HOME, as compare-F2-134's: Menlo at 13 points, no ligatures, a window of 120 × 40 cells, opaque, about 10 000 rows of scrollback; the cursor blinks, as by default. - Startup:
lokyr-bench startup --first-frame, warm, 10 runs after 2, from the process's start to the first frame on the display; the minimal AppKit app of F0,Spike.app, its first window, in the same rounds. The cold startup, which needssudo purge, is left out. - Latency:
lokyr --bench latency --keys 200, the app's own keys, one every 40 to 62 ms, to their echo on the display. - Idle and memory: the bundle started with
open -n, its window in front;lokyr-bench idleover 60 s, 20 s after the start, once the cursor stopped blinking;lokyr-bench memoryover 10 s after it. - Throughput on screen:
lokyr --bench output --window 1920x1080runningtools/bench/onscreen.pyon each workload of onscreen-F2-56, three times, and the frames' times on the CPU.
Machine
- Apple M5 Pro, macOS 27.2 (26B123), on AC power; the main display a 6016 × 3384 panel at 60 Hz, as 3008 × 1692 points, on which every window opened; a load of about 2.3 from other apps.
Results
| Measure | F2 | F3, 0.2.0 | Budget |
|---|---|---|---|
| Startup, warm, first frame, median | 236.2 and 234.8 ms | 220.1 and 234.8 ms | |
| Its gap to the minimal app's first window | 8.6 and 10.1 ms | −7.5 and 10.1 ms | ≤ 35 ms |
| Its spread | 7.8 and 8.7% | 13.9 and 14.9% | |
| Latency at 60 Hz, p50, rounds 1 and 2 | 19.7 and 19.7 ms | 20.1 and 18.5 ms | |
| Latency at 60 Hz, p99, rounds 1 and 2 | 43.7 and 43.4 ms | 59.1 and 43.2 ms | |
| Latency at 60 Hz, p50, rounds 3 to 5 | 27.2, 26.4 and 27.0 ms | 27.2, 25.3 and 25.7 ms | |
| Latency at 60 Hz, p99, rounds 3 to 5 | 74.4, 68.8 and 67.4 ms | 69.3, 70.9 and 70.2 ms | |
| Idle, package idle wakeups | 0/s | 0/s | 0/s |
| Idle, interrupt wakeups | 0.35/s | 0.35/s | ≤ 0.5/s |
| Footprint without the GPU's, at rest | 24.7 and 24.6 MB | 24.5 and 24.3 MB | ≤ 35 MB |
| GPU memory | 30.0 MB | 30.0 MB | |
cat of 1 GiB of ASCII on screen, median of 3 | 321.0 MiB/s | 318.8 MiB/s | |
seq 1 10000000 | 207.6 MiB/s | 219.2 MiB/s | |
| Colored text, SGR | 285.7 MiB/s | 285.5 MiB/s | |
| CJK and emoji | 218.1 MiB/s | 220.0 MiB/s | |
| A frame on the CPU at 3840 × 2224 pixels, ASCII, p50 and p99 | 0.260 and 0.339 ms | 0.261 and 0.344 ms | p99 ≤ 2 ms |
- No budget is worse than F2's beyond its measure's spread. Startup, idle, memory and throughput are F2's within their runs' spread: the throughputs' runs of each bundle move by 2 to 7%, more than the bundles differ.
- The latency's p99 of F3's first round, 59.1 ms, is two samples of 200 past 43 ms, which the second round did not have; in rounds 3 to 5, which the machine's load made slower for both, F2's p99 took 67 to 74 ms, and F3's 69 to 71. The p50 moves with F2's in each round.
- The frames' p99 of the short workloads, 60 to 104 frames, is their slowest frame: 1.3 against 2.2 ms for
seq, 3.8 against 2.5 for SGR, 1.6 against 3.1 for CJK, whose frames draw glyphs that the atlas lacks; one frame each way, not a trend. - At 60 Hz: the main display runs at 60 Hz, where latency-F2-54 measured the budget's 120 Hz on the built-in display; the frames' counts, 1.1 to 1.2 at the p50 and 2.6 to 3.6 at the p99 in the first rounds, are within the budget of 2 and 4.5 frames at either rate.