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:
- The footprint of Luau's plugins: the app started of a home of its own,
HOMEandXDG_CONFIG_HOME, of no plugin, and of one of ten plugins of the template thatsleip newmakes, each of its own name and namespace and of no[activation], so that it activates as the app starts, installed by 0.8.0's Sleip,sleip add --path; idle, memory and the process's threads as above, two rounds, the order reversed in the second. - A plugin's activation, its compilation within, and its VM's heap:
just bench-luau, a release build's activation of a fresh plugin on the SDK's fake host, its VM made, its sources compiled and itsactivaterun, of the template, 67 lines, and of a plugin of 2017 lines, 200 functions of a loop, which registers ten commands, in both executions, 50 runs each after the process's first. - The binary's size: the bundle's and the DMG's, and the app's code by its symbols' addresses, as
nmgives no sizes of Mach-O, Luau's C++, mlua's andplugin-host-luau's apart.
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.4 to 5.5 through the session, of no other work but the system's, Jamf's and Microsoft Defender's; 7.4 down to 2.6 through the second latency session, as Defender scanned the window's motion's recordings, several GB, about 60 % of a core.
Results
| Measure | 0.7.0 | 0.8.0 | Budget |
|---|---|---|---|
| Startup, warm, first frame, median of the four rounds | 239.4, 234.1, 231.9 and 232.7 ms | 250.8, 248.4, 233.8 and 232.9 ms | |
| Its gap to the minimal app's first window, their mean | 17.9 ms | 24.9 ms | ≤ 35 ms |
| Latency at 60 Hz, p50, the mean of 8 rounds | 19.55 ms | 19.64 ms | ≤ 2 refreshes, 33.3 ms |
| Latency at 60 Hz, p99, the mean of 8 rounds | 39.94 ms | 47.29 ms | ≤ 4.5 refreshes, 75 ms |
| Its samples in the fourth refresh or later | 3 of 1592 | 10 of 1592 | |
| The second session, p50 and p99, the means of 16 rounds | 25.85 and 68.31 ms | 25.59 and 70.43 ms | |
| Idle, package idle wakeups | 0 and 0/s | 0 and 0/s | 0/s |
| Idle, interrupt wakeups | 0.35 and 2.85/s | 0.33 and 0.35/s | ≤ 0.5/s |
| Footprint without the GPU's, at rest | 31.2 and 27.6 MB | 27.1 and 27.3 MB | ≤ 35 MB |
| GPU memory | 30.1 MB | 30.1 MB | |
cat of 1 GiB of ASCII on screen, median of 4 | 319.0 MiB/s | 315.0 MiB/s | ≥ 275 MiB/s |
seq 1 10000000 | 214.9 MiB/s | 222.1 MiB/s | |
| Colored text, SGR | 284.3 MiB/s | 285.6 MiB/s | |
| CJK and emoji | 214.0 MiB/s | 215.3 MiB/s | |
| A frame on the CPU, ASCII, p50 and p99 of each round | 0.291 and 0.404, 0.279 and 0.391 ms | 0.296 and 0.438, 0.296 and 0.416 ms | p99 ≤ 2 ms |
| A frame on the CPU, CJK and emoji, p50 of each round | 0.719 and 0.739 ms | 0.704 and 0.728 ms |
- Every budget holds. The latency's p50, idle, the memory, the throughput and the frames are 0.7.0's within their spread: the p50 0.1 ms longer, within its rounds' standard deviation of 1.1 ms; the footprint 27.1 and 27.3 MB, 0.7.0's second round 27.6, its first 31.2; the throughputs within 3 %; 0.7.0's second idle round's 2.85 interrupt wakeups a second a burst of 64 in one sample, none in the others.
- The latency's p99 is 7.4 ms longer, 47.3 ms against 39.9, within the budget of 75: longer in seven rounds of eight, by 3.4 to 19.6 ms, shorter in one by 1.7, so a lengthening of the tail and not a round's, beyond 0.7.0's standard deviation of 5.6 ms and within 0.8.0's of 7.5; 10 samples in the fourth refresh or later against 3, of 1592. The second session, of 16 rounds, ran while Defender scanned the motion's recordings: both apps slower, the p50 25.7 ms, and 0.8.0's p99 2.1 ms longer, within 0.7.0's standard deviation of 5.3 ms, 263 samples in the fourth refresh against 258, so that it neither confirms nor clears the session's at rest. What 0.8.0 adds on the main thread without a plugin: the watches of
plugins.lock, the store andpermissions.toml, which wake nothing at rest, the host's checks of each request and its timers' look at each turn of the loop. - The startup's gap is 7 ms longer, 24.9 ms against 17.9, within the budget of 35: 35.7 and 28.7 ms in the first two rounds, 18.2 and 17.1 in the last two, 0.7.0's 16.3 and 16.8, as a copy's first starts after its first are still slower, as startup-F3-228 found, the rounds' order balanced.
Luau's plugins
| Measure | Value | Budget |
|---|---|---|
| Footprint of a plugin active, of ten against none, each round | 0.88 and 0.85 MB | ≤ 2 MB |
| The app of ten plugins, footprint without the GPU's | 36.1 and 35.8 MB, against 27.4 and 27.4 | |
| Its threads | 36, against 15 | |
| Idle of ten plugins, package idle and interrupt wakeups | 0 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 50 | 0.27 and 0.33 ms | ≤ 5 ms |
| Activation of the template, interpreted | 0.17 and 0.18 ms | |
| Activation of 2017 lines, native | 4.27 and 4.51 ms | ≤ 5 ms |
| Activation of 2017 lines, interpreted | 1.27 and 1.31 ms | |
| The process's first activation | 1.62 ms | |
| A VM's heap once active, of the template and of 2017 lines | 558 and 602 KB | |
| No VM without a third-party plugin | the app of no plugin, 15 threads, 0.7.0's footprint |
- A plugin active costs 0.9 MB of the app's footprint, the budget 2 MB: its VM's heap, 558 KB, most of it the state's libraries, which a plugin's code adds little to, the native code of its functions, and two threads, its own and its watchdog's, which wake nothing at rest. The app of no plugin makes no VM nor thread of Luau's, its footprint and idle 0.7.0's.
- The template activates in 0.27 ms, of the budget of 5; a plugin of 2017 lines in 4.27 ms natively, near it, 1.27 ms of the interpreter, its native compilation about 1.5 µs a line of functions that loop, so that one of about 2400 lines passes it. An activation runs on the plugin's thread, the frames on time meanwhile.
- In one of the two runs of ten plugins, the GPU's memory was 40.5 MB from the start rather than 30.1, a drawable's more of the window's size, 10.4 MB; in none of no plugin, nor of the A/B.
The binary's size
| 0.7.0 | 0.8.0 | |
|---|---|---|
| The bundle | 16.5 MB | 35.3 MB |
| The app's binary | 11.3 MB | 15.5 MB |
| Sleip's binary | 13.1 MB | |
| The DMG | 9.0 MB | 14.7 MB |
| The app's code, of its symbols | 5.15 MB | 7.75 MB |
| Of which Luau's runtime, its VM, compiler and code generator | 1.12 MB | |
| mlua | 0.19 MB | |
plugin-host-luau | 0.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.
| Configuration | A drag, frames a second | Missed | Delay p50 | A resize, frames a second | Missed | Delay p95 | The window server's CPU | The app's CPU |
|---|---|---|---|---|---|---|---|---|
| 0.7.0, opaque | 22.8 | 262.0 | 13.1 ms | 28.2 | 218.5 | 20.9 ms | 23 % | 10 % |
| 0.8.0, opaque | 28.2 | 211.5 | 13.5 ms | 27.1 | 211.5 | 13.2 ms | 23 % | 9 % |
| 0.7.0, a blur | 26.8 | 245.5 | 13.0 ms | 26.1 | 225.0 | 12.8 ms | 23 % | 8 % |
| 0.8.0, a blur | 28.3 | 281.0 | 13.0 ms | 25.1 | 245.0 | 12.9 ms | 23 % | 9 % |
The means of the two rounds; the missed refreshes of 600; the resize's CPUs.
- Both apps showed half the frames of 0.7.0's session, 23 to 28 a second of a drag and 25 to 28 of a resize, against 58 and 56, of 210 to 280 missed refreshes, the window server's CPU 23 % against 39 to 42: the recordings, 36 GB of them, which Microsoft Defender scanned as Instruments wrote them, held the machine, as the three minutes of each recording's save tell. 0.8.0 is 0.7.0 within that noise, of a drag of 28 frames a second against 23 and 27, and a resize of 25 and 27 against 26 and 28, so that the session tells no difference of the apps, nor the motion's own fluency, which a session at rest measures again.