The inline images' cost of none shown
Measured on 2026-11-12 between 15:15 and 15:23, unattended: the app of 0.9.0's release, the copy that /Applications held, against the bundle of the inline images, of just bundle of the branch that brings them, both copied anew into /tmp/lokyr and started once before any measure, as a scan of a new executable slows its first starts. The reports are in ab-F3-249, with the session's script, run.sh, its analysis, analyze.py, and its tables, analysis.txt.
Method
As in 0.9.0's A/B, of its parts that the images could touch: the config of compare-F2-134, Menlo at 13 points, 120 × 40 cells, an opaque window; idle over 60 s and memory over 10 s of a bundle started with open -n, 20 s after its start, two rounds, the order reversed in the second; the throughput of the four workloads of onscreen-F2-56 on screen, two runs in each of two rounds. No image shows in any run: the measures tell what the images' code costs where no program sends one, a snapshot's look at the placements of none and a parser's limit of OSC 1337. The startup and the latency, whose code the images leave as it was, are not measured.
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.4 through the session, of no other work but the system's, Jamf's and Microsoft Defender's.
Results
| Measure | 0.9.0 | Inline images | Budget |
|---|---|---|---|
| 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 | 27.9 and 27.3 MB | 27.6 and 27.4 MB | ≤ 35 MB |
| GPU memory | 30.1 MB | 30.1 MB | |
cat of 1 GiB of ASCII on screen, median of 4 | 317.7 MiB/s | 318.9 MiB/s | ≥ 275 MiB/s |
seq 1 10000000 | 224.4 MiB/s | 226.3 MiB/s | |
| Colored text, SGR | 284.7 MiB/s | 292.8 MiB/s | |
| CJK and emoji | 213.8 MiB/s | 209.6 MiB/s | |
| A frame on the CPU, ASCII, p50 and p99 of each round | 0.278 and 0.398, 0.280 and 0.430 ms | 0.281 and 0.391, 0.286 and 0.416 ms | p99 ≤ 2 ms |
- The images cost nothing where none shows: every budget holds, the throughputs within 3 % either way, CJK's 2 % slower and SGR's 3 % faster, as the rounds of one bundle spread as much, the frames' times and the memory at rest 0.9.0's.