Performance

Summary

Read benchmark trends and the release performance gate.

Every push to main runs the benchmark suite once on a shared Linux runner and records the median of three cold samples per metric. The charts below are those records, newest on the right. They show drift across many small commits; a single point is noise, a slope is a finding.

60 pushes recorded, newest 99d06a5 on 2026-11-11. Each line is the median of three cold samples on a shared Linux runner.

Render to ready
0 ms505 ms1010 msoldernewest
  • interaction-latency/render_ready_ms175 ms
  • large-stream/render_ready_ms563 ms
  • non-ascii-stream/render_ready_ms160 ms
Key press latency
0 ms72 ms143 msoldernewest
  • interaction-latency/nav_press_median_ms24 ms
  • interaction-latency/nav_press_p95_ms31 ms
  • large-stream/row_step_median_ms48 ms
  • non-ascii-stream/block_step_median_ms19 ms
Parsing
0 ms66 ms133 msoldernewest
  • artifact-parse/plan_parse_ms40 ms
  • artifact-parse/anchor_fuzzy_resolve_ms10 ms
  • artifact-parse/many_files_diff_rows_ms72 ms
  • artifact-parse/large_file_diff_rows_ms94 ms
Daemon
0 ms50 ms101 msoldernewest
  • daemon-roundtrip/session_create_total_ms71 ms
  • daemon-roundtrip/session_get_total_ms23 ms
Retained memory
0 MiB58 MiB117 MiBoldernewest
  • interaction-latency/after_navigation_heap22 MiB
  • large-stream/after_steps_heap72 MiB
  • daemon-roundtrip/after_sessions_heap13 MiB

What the numbers mean

  • Render to ready is the time from mounting the review to the app's ready signal, with the daemon already running. It is the cost of the artifact, not of launching the binary.
  • Key press latency is a caret move timed until the painted frame settles, as the in-process median and p95. It carries a fixed measurement cost of a few milliseconds, so compare the lines, not the absolute values.
  • Parsing batches fast operations so their totals clear the release gate's 5 ms floor; the batch sizes are constant, so the lines are comparable.
  • Retained memory is heap in use after a full collection.

How releases are guarded

The numbers here are informational. The release workflow separately measures the previous published binary against the fresh one on the same runner, interleaved, and refuses to stage a release whose startup or first frame got materially slower: at least 15 percent and 5 milliseconds. A pull request also receives a comment comparing its head against its merge base with the same thresholds, which never blocks a merge. Details live in the repository's benchmarks README.