on this page ▾
[ ARCHITECTURE ] PERFORMANCE

Performance (measured)#

uv run python scripts/benchmark.py --files 20000 --big-mb 512 --runs 2000 on Linux 6.17, 20 cores, Python 3.12, local NVMe, RVC_NO_FSYNC=1. Single run; numbers are what was observed on 2026-12-04, not guarantees.

Operation Result
add 20 000 small files 3.19 s
commit (20 000-entry manifest) 0.86 s
status, clean tree 1.67 s (1.46 s second run)
status with one modified file 0.99 s
commit one change 0.95 s
checkout of the previous commit 3.12 s
store a 512 MiB incompressible checkpoint 0.51 s (≈ 1 GB/s)
stage 2 000 runs + 500 claims + 2 500 edges 10.6 s
commit / load that graph (2 501 nodes) 1.35 s / 0.61 s
descendants of the dataset (2 500 nodes) 0.007 s
full audit (4 000 findings) 0.82 s
fsck (25 012 objects, ~550 MB) 4.06 s

Two problems found by this benchmark were fixed before recording: a quadratic provenance-cycle check in stage_edge (it rebuilt the whole graph per edge) and zlib-compressing incompressible large files (23 MB/s → ~1 GB/s).

Not measured: millions of files (flat manifests make every commit O(files)), multi-GB transfers over a real network, concurrent server load, and PostgreSQL query performance at scale. Do not assume support for those scales.

docs/performance.md