· Linux x86_64
Editor benchmarks
How long does it take to see a change after a keystroke? Measured on Git-tracked logs and a Zig source file in a terminal.
First frame · 2 GiB log · warm pages
181.33 ms oz
1,103.36 ms · nvim --clean
Large logs
Each run opens the log, jumps to the end, visits line 81, searches, returns to the top, edits, undoes and jumps again.
2 GiB · warm file pages
| Operation | oz | nvim --clean |
|---|---|---|
| First frame | 181.33 / 182.67 | 1,103.36 / 1,124.64 |
| First G | 60.33 / 61.48 | 1.92 / 1.95 |
| :81 | 1.81 / 1.83 | 1.68 / 1.87 |
| Search to first hit | 60.61 / 62.76 | 725.28 / 732.77 |
| gg to start | 1.66 / 1.96 | 1.59 / 1.94 |
| First edit | 2.94 / 2.98 | 3.34 / 3.64 |
| Undo | 1.90 / 1.98 | 2.80 / 3.13 |
| G after undo | 2.00 / 2.05 | 1.53 / 1.83 |
| First frame + first G | 241.51 / 244.15 | 1,104.89 / 1,126.56 |
| Final process tree PSS (GiB) | 2.01 / 2.01 | 2.30 / 2.30 |
2 GiB · cold file pages
| Operation | oz | nvim --clean |
|---|---|---|
| First frame | 328.11 / 329.05 | 1,242.50 / 1,244.82 |
| First G | 63.78 / 68.41 | 1.77 / 1.97 |
| :81 | 2.07 / 2.15 | 1.75 / 1.76 |
| Search to first hit | 61.18 / 61.50 | 718.19 / 729.61 |
| gg to start | 1.83 / 1.85 | 1.52 / 1.52 |
| First edit | 2.89 / 3.06 | 3.49 / 3.79 |
| Undo | 1.85 / 1.96 | 3.02 / 3.14 |
| G after undo | 2.18 / 3.30 | 1.52 / 1.87 |
| First frame + first G | 391.89 / 397.46 | 1,244.47 / 1,246.59 |
| Final process tree PSS (GiB) | 2.01 / 2.01 | 2.30 / 2.30 |
1 GiB · warm file pages
| Operation | oz | nvim --clean |
|---|---|---|
| First frame | 100.07 / 103.17 | 586.77 / 596.79 |
| First G | 31.80 / 34.31 | 1.54 / 1.62 |
| :81 | 1.89 / 2.40 | 1.51 / 1.80 |
| Search to first hit | 30.21 / 35.46 | 353.10 / 355.56 |
| gg to start | 1.94 / 2.12 | 1.76 / 1.80 |
| First edit | 2.01 / 2.47 | 2.49 / 2.68 |
| Undo | 1.75 / 2.57 | 1.89 / 2.95 |
| G after undo | 2.57 / 3.12 | 1.70 / 1.72 |
| First frame + first G | 134.38 / 134.97 | 588.39 / 598.33 |
| Final process tree PSS (GiB) | 1.01 / 1.01 | 1.15 / 1.15 |
1 GiB · cold file pages
| Operation | oz | nvim --clean |
|---|---|---|
| First frame | 165.57 / 171.41 | 660.43 / 662.21 |
| First G | 31.62 / 31.86 | 1.84 / 2.34 |
| :81 | 1.84 / 2.02 | 1.91 / 2.07 |
| Search to first hit | 31.07 / 31.86 | 360.12 / 363.26 |
| gg to start | 1.82 / 2.07 | 1.75 / 1.95 |
| First edit | 1.83 / 1.87 | 2.87 / 2.98 |
| Undo | 1.83 / 2.73 | 2.30 / 2.78 |
| G after undo | 2.71 / 2.90 | 1.62 / 1.71 |
| First frame + first G | 197.19 / 203.27 | 662.27 / 663.81 |
| Final process tree PSS (GiB) | 1.01 / 1.01 | 1.15 / 1.15 |
oz defers building the full line index. On the warm 2 GiB fixture, clean Neovim wins the first G after the screen appears (1.92 vs 60.33 ms). Adding first frame and first G gives 1,104.89 ms for clean Neovim and 241.51 ms for oz. Background Git marks take longer to arrive than typed text (about 1.58 s in a separate 2 GiB check).
Everyday Zig editing
33 KiB of Zig with warm file pages. Each editor ran the same navigation, search, edit, undo and buffer switches. Seven trials measured visible latency and seven separate trials sampled CPU cycles.
| Operation | oz | nvim --clean |
|---|---|---|
| First frame | 37.81 / 39.09 | 29.43 / 32.79 |
| First G | 2.98 / 3.35 | 2.87 / 4.55 |
| Search to first hit | 2.47 / 2.97 | 3.58 / 4.06 |
| gg to start | 2.74 / 3.75 | 2.77 / 3.62 |
| First edit | 3.22 / 4.02 | 2.42 / 3.09 |
| Scroll 80j | 2.48 / 3.05 | 2.65 / 3.72 |
| Undo | 3.67 / 4.29 | 2.36 / 2.74 |
| :e next.txt | 2.50 / 3.22 | 4.05 / 4.57 |
| :e second.zig | 5.03 / 5.36 | 4.79 / 5.21 |
Measurement conditions
- AMD Ryzen 9 9950X, Linux x86_64, local NVMe with Btrfs, Zig 0.17.1 ReleaseFast and Neovim 0.12.6. Both macOS targets cross-compiled. All timings on this page were measured on Linux.
- Each trial starts a fresh editor in a 120 × 40 tmux terminal. Timing includes key delivery and waiting for the first frame showing the target. The on-disk log fixtures contain numbered synthetic rows tracked in Git. Linux mincore verifies 0% or 100% of file pages resident before startup.
- Both columns use the same generated files, key sequences and screen checks, with alternating editor order. Neovim --clean loads its bundled runtime and skips user configuration and third-party plugins.
- Timing and profiling use separate runs. Linux perf records user-space cycles with frame pointers at a period of two million cycles. Each log condition has three timing trials and two profiling trials. P90 is the largest of the three timing samples. Short operations can yield zero CPU samples.