Performance · 0.19.0
Measured, not claimed
Every figure on this page comes from a run recorded in the repository: the reference laptop for real speed, QEMU to compare one build with the next. Nothing here is compared with another operating system until both have run on the same machine.
On real hardware
The reference laptop, measured
An Intel Core i3-3217U at 1.8 GHz, with 2 cores and 4 threads, booted from a USB stick: run bench over SSH on development build 69, on 20 November 2026.
- 260 ns
- an empty system call, into the kernel and back
- ≈ 8 µs
- a message and its answer between two threads
- 218k–237k
- messages a second, whatever the size up to 256 bytes
- 17–23 µs
- a request to a service in another process, with its answer
Files go at the USB stick’s speed, not the system’s: a 4 KiB read is one USB mass-storage command, and an atomic replace waits for the stick’s flash. And these are a floor, not a tuned figure: the kernel has no IPC fast path yet, so every message goes through the general queue, the scheduler and a wake-up.
The laptop’s figures, in a table
p50 / p95 / p99 of runs 2 and 3; development build 69, 4 CPUs online
| Measurement | Run 2 | Run 3 |
|---|---|---|
| Empty system call (ns) | 262 / 262 / 407 | 260 / 262 / 373 |
| IPC round trip, 8 B (ns) | 8 576 / 10 898 / 11 447 | 7 721 / 10 909 / 11 501 |
| IPC round trip, 64 B (ns) | 8 774 / 11 163 / 11 857 | 7 737 / 10 929 / 11 565 |
| IPC round trip, 256 B (ns) | 7 846 / 11 247 / 12 378 | 8 284 / 11 726 / 12 260 |
| IPC messages a second, 8 / 64 / 256 B | 229 096 / 224 372 / 229 925 | 236 676 / 234 054 / 218 200 |
| Request to the file service (µs) | 21 / 22 / 28 | 22 / 23 / 29 |
| Request to the network service (µs) | 17 / 19 / 29 | 19 / 20 / 32 |
| Read 4 KiB from the USB stick (µs) | 2 997 / 3 000 / 3 008 | — |
| Replace 4 KiB on the USB stick (µs) | 16 327 / 16 995 / 17 939 | — |
| Quiet idle, all CPUs (‰) | 998 | — |
Before and after
What each change bought
When a change is meant to make something faster, the same measurement runs on the build before and the build after, on the same machine. Most of these are QEMU figures: they compare builds, they do not predict hardware.
Before and after, in a table
Each row measured on the build before and the build after, on the same machine
| Measurement | Where | Before | After | Gain |
|---|---|---|---|---|
| Listing a directory (fsd list) | QEMU · ADR 0020 | 9 993 µs | 44 µs | 227× |
| A request to the network service | QEMU · ADR 0044 | 10 001 µs | 71 µs | 141× |
| A full-screen flip, 800×600 | laptop · ADR 0078 | 43.6 ms | 0.86 ms | 51× |
| SHA-256 of 16 KiB in WebAssembly | QEMU · ADR 0071 | 233 ms | 11 ms | 21× |
| Echo of a key over SSH, median | QEMU · ADR 0069 | 30.6 ms | 9.7 ms | 3.2× |
| SSH output | laptop · 0.17 | 0.12 MB/s | 1.15 MB/s | 9.6× |
| Pixels written when the pointer moves 1 px, 1024×768 | host test · ADR 0046 | 786 432 | 247 | 3 184× fewer |
3D on the CPU
One band per processor
There is no GPU driver for 3D yet, so the software renderer draws every pixel. With threads in a process (ADR 0082) it draws each frame in bands, one per processor, and moves their edges after each frame so every band takes the same time. Same laptop, same scenes, 800×600.
Pixels, not triangles, cost the CPU, so the per-pixel scenes gain most. On 2 real cores the gain is 1.7 to 3 times, and the package peaked at 78 °C, against 69 °C on one thread. These are the CPU baseline that a GPU path must beat, scene by scene, before it is called a win.
The 3D figures, in a table
Frames per second at 800×600; bench3d 6 on one thread and bench3d 8 with bands that follow the work
| Scene | One thread | Bands, 4 threads | Gain |
|---|---|---|---|
| geometry | 113 | 189 | 1.7× |
| geometry-dense | 53 | 99 | 1.9× |
| texture-nearest | 61 | 126 | 2.1× |
| texture-linear | 54 | 113 | 2.1× |
| texture-mipmap | 51 | 104 | 2.0× |
| shading-gouraud | 82 | 159 | 1.9× |
| shading-phong | 26 | 69 | 2.7× |
| effect2d-3x3 | 21 | 43 | 2.0× |
| effect2d-5x5 | 9 | 20 | 2.2× |
| terrain | 24 | 45 | 1.9× |
| objects | 28 | 53 | 1.9× |
| shadow (2 scenes) | 14 | 31 | 2.2× |
| fractal | 21 | 62 | 3.0× |
| everything | 21 | 41 | 2.0× |
Compute on the GPU
A first kernel on the HD 4000
Two 1024 × 1024 float matrices multiplied by hand-assembled kernels on the GPU’s EUs, against one core of the CPU. The GPU’s product equals the CPU’s to the bit (ADR 0086).
About 2 % of the GPU’s peak: the first correct kernel, not a fast one. At its top clock it beats one CPU core, and the package reaches 76 to 78 °C. Finding the bottleneck is a study of its own before the next change.
The GPU figures, in a table
Best of 10 runs of run gpu_probe 3; temperature of the package after each clock’s runs
| Run | Time | GFLOP/s | Package |
|---|---|---|---|
| CPU, one core | 422 ms | 5.1 | — |
| GPU at 350 MHz | 600 ms | 3.6 | 63 °C |
| GPU at 650 MHz | 420 ms | 5.1 | 67 °C |
| GPU at 1050 MHz | 320–340 ms | 6.3–6.7 | 76–78 °C |
How it is measured
Repeatable on your own machine
- bench gives p50, p95 and p99 of each measurement; the second run is kept, since the first pays for the program’s pages and buffers
- cargo xtask perf runs the benchmark alone in QEMU and fails a build whose latency passes twice the baseline
- Heavy runs go scene by scene under a thermal watch, each one started below 70 °C
- QEMU figures compare builds on one host; only the laptop’s figures speak for real hardware
ari> run bench # on AriCodeOS: p50 / p95 / p99 of each measurement
cargo xtask perf # on the host: QEMU against the recorded baseline