Lokyr
Documentation

0.8.0 against 0.7.0

On this page

Measured on 2026-11-09 in one session, between 15:51 and 16:13, unattended: the app of 0.7.0's DMG, of commit 6ba2c80, against the app of 0.8.0's, of commit 46a17733, both notarized and stapled, as just release built them, each started once before the measured rounds; then the window's motion, until 17:00; then a second session of the latency alone, until 17:08. The reports are in ab-F4-25, with the session's script, run.sh, the plugins' homes', plugins.sh, its analysis, analyze.py, and its tables, analysis.txt; the second latency session's in latency.

Method

As in 0.7.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 runs in each of two rounds; the same pause of 2 s before each run of the startup and of the latency. Each copy, new out of its DMG, started once before any measure, as startup-F3-228 found a new executable's first starts slowed by the scans of Microsoft Defender.

Besides, of 0.8.0 alone:

Machine

Results

Measure0.7.00.8.0Budget
Startup, warm, first frame, median of the four rounds239.4, 234.1, 231.9 and 232.7 ms250.8, 248.4, 233.8 and 232.9 ms
Its gap to the minimal app's first window, their mean17.9 ms24.9 ms≤ 35 ms
Latency at 60 Hz, p50, the mean of 8 rounds19.55 ms19.64 ms≤ 2 refreshes, 33.3 ms
Latency at 60 Hz, p99, the mean of 8 rounds39.94 ms47.29 ms≤ 4.5 refreshes, 75 ms
Its samples in the fourth refresh or later3 of 159210 of 1592
The second session, p50 and p99, the means of 16 rounds25.85 and 68.31 ms25.59 and 70.43 ms
Idle, package idle wakeups0 and 0/s0 and 0/s0/s
Idle, interrupt wakeups0.35 and 2.85/s0.33 and 0.35/s≤ 0.5/s
Footprint without the GPU's, at rest31.2 and 27.6 MB27.1 and 27.3 MB≤ 35 MB
GPU memory30.1 MB30.1 MB
cat of 1 GiB of ASCII on screen, median of 4319.0 MiB/s315.0 MiB/s≥ 275 MiB/s
seq 1 10000000214.9 MiB/s222.1 MiB/s
Colored text, SGR284.3 MiB/s285.6 MiB/s
CJK and emoji214.0 MiB/s215.3 MiB/s
A frame on the CPU, ASCII, p50 and p99 of each round0.291 and 0.404, 0.279 and 0.391 ms0.296 and 0.438, 0.296 and 0.416 msp99 ≤ 2 ms
A frame on the CPU, CJK and emoji, p50 of each round0.719 and 0.739 ms0.704 and 0.728 ms

Luau's plugins

MeasureValueBudget
Footprint of a plugin active, of ten against none, each round0.88 and 0.85 MB≤ 2 MB
The app of ten plugins, footprint without the GPU's36.1 and 35.8 MB, against 27.4 and 27.4
Its threads36, against 15
Idle of ten plugins, package idle and interrupt wakeups0 and 0.35/s, against 0 and 0.28 to 0.32/s≤ 0.5/s
Activation of the template, native, median and p90 of 500.27 and 0.33 ms≤ 5 ms
Activation of the template, interpreted0.17 and 0.18 ms
Activation of 2017 lines, native4.27 and 4.51 ms≤ 5 ms
Activation of 2017 lines, interpreted1.27 and 1.31 ms
The process's first activation1.62 ms
A VM's heap once active, of the template and of 2017 lines558 and 602 KB
No VM without a third-party pluginthe app of no plugin, 15 threads, 0.7.0's footprint

The binary's size

0.7.00.8.0
The bundle16.5 MB35.3 MB
The app's binary11.3 MB15.5 MB
Sleip's binary13.1 MB
The DMG9.0 MB14.7 MB
The app's code, of its symbols5.15 MB7.75 MB
Of which Luau's runtime, its VM, compiler and code generator1.12 MB
mlua0.19 MB
plugin-host-luau0.60 MB

The app's code grows by 2.6 MB, Luau's runtime 1.1 MB of it, mlua and the host 0.8 MB, the rest the plugins' host and the packages' formats in the kernel; the bundle by Sleip, whose binary holds Luau's type checker and its own Luau, and the standard library's notice, 1.5 MB.

The window's motion

Measured between 16:13 and 17:00, of motion/run.sh and its reports in motion, as in 0.7.0's A/B: 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, opaque, and translucent at 0.95 with a blur of 10; two rounds, the second in the reverse order. The traces, too large to keep, gave figures.csv. Instruments took about three minutes to save each recording of 13 s, against one in 0.7.0's session.

ConfigurationA drag, frames a secondMissedDelay p50A resize, frames a secondMissedDelay p95The window server's CPUThe app's CPU
0.7.0, opaque22.8262.013.1 ms28.2218.520.9 ms23 %10 %
0.8.0, opaque28.2211.513.5 ms27.1211.513.2 ms23 %9 %
0.7.0, a blur26.8245.513.0 ms26.1225.012.8 ms23 %8 %
0.8.0, a blur28.3281.013.0 ms25.1245.012.9 ms23 %9 %

The means of the two rounds; the missed refreshes of 600; the resize's CPUs.