Performance
Side-by-side timings for stock Git vs arks come from Docker clean-room verification used by maintainers. Prefer reading them as wall-clock evidence on shared journeys that matter under parallel / multi-session load — not as a product brochure slogan, and not how end users run arks.
You run the native arks CLI on your machine. Docker is the verification venue only.
Warning
This page does not advertise a blanket “faster than Git” claim. Cite the receipt when you quote a number. Host laptop timings are advisory only — they are not product-verified. Absolute milliseconds change when seeds grow; ratios are the honest compare.
How to read these numbers
- Motive link: Faster single journeys do not by themselves prove contention relief; they are receipts that the native engine stays competitive on the allow-list while concurrency work proceeds elsewhere (Concurrent sessions).
- Venue: pinned clean-room image; in-image stock Git 2.39.5 vs release-profile
arks. - Aggregation: median wall-clock over 3 iterations (
median_p95). - Ratio:
arks_median / git_median. Values below1.0mean arks used less wall-clock on that fixture. - Bars: ≤ 0.8× on every shared journey is the broad measured bar (19/19). ≤ 0.5× is the stricter bar — reached across 19/19 journeys in the latest sole-Docker hardlink run (hardlink receipt:
ALIAS0.4926,REVERT0.4227). Earlier PATH/execalias runs reached 18/19 ≤0.5× (alias PATH/execreceipt,REVERT0.4943,ALIAS0.5489; all 19/19 ≤0.8×) and historical 8/8 on the original subset (historical 8/8 receipt).
Carrying receipts:
- Sole-Docker hardlink receipt (19/19 ≤0.5×) — latest stricter ≤0.5× clean-room run
- Alias PATH/
execclean-room receipt — prior PATH/execalias run (18/19 ≤0.5×, 19/19 ≤0.8×) - Full clean-room matrix re-evaluation — full matrix re-evaluation
- Historical 8/8 remeasure receipt — baseline charts below
- Prior 8/8 carrying receipt
- Historical progressive ≤0.5× set
- Full shared-journey baseline (19/19 ≤0.8×)
- Alias amortization notes (historical 7/8)
- Journey catalog notes: verify/matrices/matrix-g016-journey-compare.md
Recent hot-path & server optimization rounds
Targeted clean-room optimization rounds (Docker against stock Git 2.39.5) accelerated CLI hot paths, hardened multi-agent atomic file durability, and improved arks serve throughput:
| Round | Optimization focus | Docker clean-room result | Receipt |
|---|---|---|---|
| Round 1 — CLI hot paths & server cache | O(N) stat_change fast-path + prefix/suffix-trimmed Myers diff, O(1) parent tree OID empty-commit check, per-OID reflog abbreviation cache; (mtime, len)-validated ForgeStore RwLock cache, sync_global_auth fast-path, TCP_NODELAY, and single-buffer HTTP writes |
19/19 journeys 0.17×–0.73× vs stock Git; commit 4×640: 4.99ms vs 9.34ms (0.53×); reflog 2000: 4.49ms vs 7.51ms (0.60×); 256 concurrent cached ForgeStore reads + 16 interleaved writes (0 stale reads, 0 lost updates) |
Perf Round 1 receipt |
Round 2 — Zero-alloc xdiff, atomic .tmp & Keep-Alive |
Cow-borrowed zero-alloc LineOpts::key, prefix/suffix trimming & compact Myers trace in xdiff; unique sibling .tmp atomic writes across 5 durable/content-addressed paths; pre-spawn HTTP concurrency cap (503 Retry-After: 1), bounded HTTP/1.1 Keep-Alive (64 req/conn, 5s idle timeout), and gzip decompression cap (413) |
4,000-line xdiff byte-exact parity (J-DIFF-01: 273ms vs 530ms, 0.515×); 32-thread arks-lease + 32-thread arks-object + 16-thread LFS PUT contention PASS; 256-request Keep-Alive soak fd_delta == 0 |
Perf Round 2 receipt |
Hot-path ratios (arks / Git 2.39.5)
Lower ratio = less wall-clock time for arks in Docker clean-room (arks_median / git_median). Sources: Round 1 u1-bench.log and Round 2 receipt.json.
| Hot-path workload | arks / Git 2.39.5 (Docker clean-room) |
|---|---|
| Commit (4x640 lines) | 0.53 |
| Reflog (2,000 entries) | 0.6 |
| Diff (4,000-line xdiff) | 0.515 |
Claim bars (honesty)
| Target | Result | Evidence |
|---|---|---|
| Full shared-journey suite ≤0.8× | 19/19 measured, N/A-free across clean-room runs | hardlink receipt · alias PATH/exec receipt |
| Stricter ≤0.5× bar | 19/19 in latest sole-Docker hardlink run (ALIAS 0.4926, REVERT 0.4227); prior PATH/exec run was 18/19 ≤0.5× (ALIAS 0.5489) |
hardlink receipt · prior unblock · historical 8/8 |
Median wall-clock (ms)
Docker clean-room measurement — median ms (Git vs arks). Source: .spec/evidence/20261110142500-g19-remeasure-pf5-8of8/. Prefer ratios across receipts.
| Journey | Git | arks |
|---|---|---|
| Local | 320 | 152 |
| Branch | 334 | 148 |
| Merge FF | 6 | 2 |
| Rebase | 31 | 6 |
| Bundle | 388 | 148 |
| Clone HTTP | 38 | 6 |
| Clone path | 46 | 8 |
| Alias | 320 | 152 |
| Worktree | 540 | 206 |
| Tag | 194 | 64 |
| Stash | 529 | 214 |
| Cherry-pick | 74 | 30 |
| Diff | 185 | 75 |
| rm / mv | 690 | 262 |
| Archive | 32 | 16 |
| Reflog | 8 | 4 |
| Revert | 8 | 2 |
| Repack | 33 | 6 |
| Submodule | 132 | 16 |
Ratio (arks / Git)
Lower ratio = less wall-clock for arks on that clean-room fixture. Baseline ratio chart (Clone HTTP 0.1579, historical 8/8 receipt).
| Journey | arks / Git |
|---|---|
| Local | 0.475 |
| Branch | 0.4431 |
| Merge FF | 0.3333 |
| Rebase | 0.1935 |
| Bundle | 0.3814 |
| Clone HTTP | 0.1579 |
| Clone path | 0.1739 |
| Alias | 0.475 |
| Worktree | 0.3815 |
| Tag | 0.3299 |
| Stash | 0.4045 |
| Cherry-pick | 0.4054 |
| Diff | 0.4054 |
| rm / mv | 0.3797 |
| Archive | 0.5 |
| Reflog | 0.5 |
| Revert | 0.25 |
| Repack | 0.1818 |
| Submodule | 0.1212 |
Sole-Docker hardlink ratio (19/19 ≤0.5×)
Latest sole-Docker hardlink clean-room run (hardlink receipt): all 19/19 journeys stay at or below 0.5× median wall-clock (ALIAS 0.4926, REVERT 0.4227).
| Journey | arks / Git (sole Docker hardlink) |
|---|---|
| Local | 0.3744 |
| Branch | 0.3854 |
| Merge FF | 0.3333 |
| Rebase | 0.087 |
| Bundle | 0.37 |
| Clone HTTP | 0.1935 |
| Clone path | 0.2162 |
| Alias | 0.4926 |
| Worktree | 0.4055 |
| Tag | 0.3019 |
| Stash | 0.3794 |
| Cherry-pick | 0.3846 |
| Diff | 0.4068 |
| rm / mv | 0.3531 |
| Archive | 0.375 |
| Reflog | 0.5 |
| Revert | 0.4227 |
| Repack | 0.1875 |
| Submodule | 0.1538 |
Summary
All 19 shared journeys meet the ≤0.8× wall-clock bar, and the latest sole-Docker hardlink run keeps all 19/19 at or below 0.5×. Absolute milliseconds are not comparable across seed or receipt generations without reading the receipt. Clone HTTP runs through the native arks HTTP server with pack reuse. For cgroup-capped multi-agent overload contention, 5× HTTP backpressure, 340-client Forge write storms, 10,002-file monorepo caps, 5-minute endurance soak, and chaos injection receipts (6/6 suites PASS · 0 open findings), see Stress & resilience.
Note
Charts track the clean-room timing receipts on disk. When a new comparative run lands under
.spec/evidence/, update_data/charts/and this page together — never invent timings.
Docker is for verification
| Audience | How arks runs |
|---|---|
| End users / developers trying the product | Native arks binary (cargo build -p arks --release or an installed binary on PATH) |
| Maintainers proving claims | Docker clean-room verification compose services (shared-journey functional compare and comparative timing suites) |
If a page ever sounded like “run arks in Docker,” that was verification framing, not the product runtime.
Next
Stress & resilience Concurrent sessions Limits Getting started