grit://cooking/bench
← cookingraw data

grit vs git, every day

Each day one agent builds main and times every supported grit command on every repo shape against the system git in the same sitting, recording median wall time and peak memory. Ratios are grit / git: below 1× grit is faster.

$ cat daily/2026-11-09.jsongrit be0b4abcd (0.5.33) · git version 2.43.0
# linux · x86_64 · Intel(R) Xeon(R) Processor · 4 cores · 15.628 GB
scenarios172172 timed against git
faster / par / slower89 / 20 / 63
everyday ops (geomean)0.77×17 headline scenarios
all scenarios (geomean)0.72×
memory > 1.5× git79
failures0
notes: Measured on main be0b4abcd4083781de92a43667b5ee97b5ddc5a1 (grit 0.5.33) with `grit-bench daily` (single invocation of all 172 scenarios; 3 warmups, timed runs per tool, default per-scenario budget) on a 4-vCPU VM; grit is compared with git 2.43.0 only (no baseline release). The first invocation aborted during setup because grit-http-server was neither built nor on PATH (no report was produced and nothing was reused); grit-http-server was then built and the whole run restarted with it on PATH and --http-server set. The run started on 2026-11-09 (UTC) and the report is dated by the run's start day; the report's own timestamp is the time grit-bench wrote it. All 172 scenarios completed for both tools; no failures. The `repos` table is carried over from the previous report (same pinned fixtures, git.git v2.47.0) because grit-bench daily does not emit one. `area` keeps grit-bench's native area names (as in the previous reports) rather than remapping to the coarse list. Per-tool runs/samples_ms/min_ms/max_ms/stddev_ms and the whole detail object come straight from grit-bench; max_rss_kb is peak RSS bytes/1024. grit-bench also flags five extra rows as headline (branch/list-json, branch/merged, log/json-100, pull/rebase, push/force-with-lease); this report marks only the 17 scenarios from the headline table. The headline fetch/pull/push scenarios were measured by grit-bench against its own remotes as described in each scenario's detail. Noise check against the 2026-11-08 report: nine scenarios were re-run once more (--warmup 1 --min-runs 3, which gave 3-20 extra runs per tool depending on the per-scenario budget) and their samples pooled (median of all runs; max_rss_kb is the larger of the two peaks). Flagged for a time ratio >20% worse: branch/contains-json@git-git-10k-refs, branch/contains@git-git-10k-refs (both only because the tiny grit/git ratio ~0.001 moved; grit is ~1000x faster than git), clone/checkout@synth-100k, fsck/full@big-blobs, gc/default@synth-10k. Flagged for a memory ratio >30% worse: add/dry-run@synth-10k, commit/dry-run@synth-10k, stash/list@synth-10k, switch/large-blob@big-asset. No other scenario was re-run. Pooling confirmed add/dry-run (time 1.37x git, RSS 1.52x), commit/dry-run (RSS 1.43x) and stash/list (RSS 1.13x) as persistent memory regressions or near it; see the scenario rows for the pooled numbers.
Regressions since the previous run2026-11-08 → 2026-11-09
▲ [time] branch/contains-json@git-git-10k-refs: grit/git 0.00× → 0.00× (grit 24ms → 35ms, git 28.11s)
▲ [time] branch/contains@git-git-10k-refs: grit/git 0.00× → 0.00× (grit 23ms → 28ms, git 28.16s)
▲ [time] clone/checkout@synth-100k: grit/git 0.68× → 0.82× (grit 2.00s → 2.24s, git 2.72s)
▲ [time] fsck/full@big-blobs: grit/git 0.18× → 0.23× (grit 2.89s → 4.19s, git 18.55s)
▲ [time] gc/default@synth-10k: grit/git 0.04× → 0.42× (grit 12ms → 142ms, git 338ms)
Biggest noticeable gaps to gittime lost per run; what the speed agents work on next
— no gap to git a person would notice
Repo shapes
repofilescommitsrefspackshape
big-asset2230 MBLarge loose text asset, plus README; other branch deletes the asset
big-blobs200120403330.27 MB200 paths with large binary blobs and multiple blob revisions
deep-history20,00050,00015.487 MB50,000-commit linear synthetic history; no commit graph in measured worktree
deep-history-cg20,00050,00015.487 MBSame deep-history fixture; verified commit graph in measured worktree
deep-tree5,0003006045.243 MB5,000 files nested across 30–40 directory levels
git-git4,52575,031954242.564 MBUpstream git/git pinned at v2.47.0, full history
git-git-10k-refs4,52575,03110,957242.564 MBFull git/git history plus 10,000 distinct packed branch tips
large-file10,0011,00180021.422 MBsynth-10k extended by one committed 50k-line large.txt, modified into 500 hunks; file/commit counts derived from recounted base plus that setup step
many-refs2001,00010,0001.044 MB10,000 packed refs
many-refs-loose2001,00010,0001.044 MB10,000 loose refs
small10050600.138 MB100-file synthetic repository
sparse-120k120,000230.307 MB120,000-file repository with a 300-file visible sparse workset; sparse reset/switch scaling
sparse-240k240,000230.602 MB240,000-file repository with a 300-file visible sparse workset
sparse-unique-120k120,000235.103 MB120,000-file repository with unique blobs and a 300-file visible sparse workset
synth-100k100,0001,0001,20052.277 MB100,000-file synthetic repository; canonical cached shape
synth-10k10,0001,00080021.422 MB10,000-file synthetic repository; canonical cached shape, scenario variants documented by the runner
wide-120k120,000320 MB120,000-file tree with 3,000 edits stashed, for stash pop
wide-20k20,000424.345 MB20,000-file tree; both sides edit every file for content merge
wide-48k48,000232.22 MB48,000-file baseline tree; other branch deletes 2,000 files
Every command, every repo shape14 days of history · Δ vs previous run (grit/git ratio)
case @ repogitgritgrit / gitgit peakgrit peakmem / gittrendΔ
worktree/
$ grit add
all @synth-100k142 ms115 ms0.81×29 MB38 MB1.32×±0%
all-ignorecase @synth-100k146 ms176 ms1.21×29 MB51 MB1.78×−9%
dry-run @synth-10k7.4 ms10 ms1.37×13 MB19 MB1.51×±0%
hunks @large-file13 ms16 ms1.21×10 MB22 MB2.15×±0%
lines @large-file13 ms16 ms1.23×10 MB22 MB2.13×±0%
modified @big-blobs210 ms145 ms0.69×78 MB17 MB0.22×±0%
modified @synth-10k ★16 ms11 ms0.66×12 MB21 MB1.77×+7%
patch-file @large-file14 ms10 ms0.75×10.0 MB18 MB1.79×+8%
patch-file @synth-10k6.6 ms7.7 ms1.16×9.3 MB18 MB1.92×±0%
update @synth-100k100 ms82 ms0.82×28 MB34 MB1.21×±0%
update-ignorecase @synth-100k100 ms123 ms1.22×29 MB44 MB1.55×±0%
$ grit clean
only-ignored @synth-10k4.3 ms5.0 ms1.17×8.7 MB14 MB1.66×±0%
untracked @synth-10k4.5 ms5.2 ms1.17×8.5 MB14 MB1.69×±0%
$ grit commit
dry-run @synth-10k11 ms8.1 ms0.73×13 MB18 MB1.41×+9%
paths @synth-10k22 ms23 ms1.06×16 MB23 MB1.47×±0%
small @small5.9 ms5.6 ms0.95×12 MB17 MB1.43×±0%
small @synth-100k882 ms135 ms0.15×36 MB36 MB0.99×+13%
small @synth-10k ★26 ms17 ms0.66×13 MB22 MB1.67×+7%
staged @synth-100k76 ms73 ms0.96×37 MB35 MB0.95×±0%
$ grit init
branch @small2.5 ms2.6 ms1.03×6.4 MB14 MB2.11×+5%
empty @small2.6 ms2.5 ms0.98×6.4 MB14 MB2.13×±0%
$ grit mv
file @synth-10k5.7 ms9.1 ms1.61×8.6 MB18 MB2.13×±0%
$ grit reset
hard @synth-10k16 ms15 ms0.97×11 MB19 MB1.81×±0%
hard-delete-heavy @wide-48k220 ms210 ms0.95×21 MB30 MB1.43×±0%
keep @synth-10k11 ms11 ms0.98×11 MB21 MB1.91×+7%
mixed @synth-10k8.6 ms10 ms1.21×9.2 MB18 MB1.98×±0%
sparse @sparse-120k28 ms23 ms0.82×12 MB20 MB1.60×±0%
sparse @sparse-240k37 ms23 ms0.62×17 MB19 MB1.15×±0%
sparse @sparse-unique-120k54 ms30 ms0.56×22 MB22 MB1.02×±0%
undo-commit @git-git2.0 ms6.1 ms3.01×8.2 MB21 MB2.63×±0%
$ grit restore
hunks @large-file7.2 ms12 ms1.69×8.1 MB21 MB2.62×±0%
paths @synth-10k12 ms13 ms1.06×12 MB20 MB1.63×±0%
$ grit rm
dir @synth-10k11 ms11 ms0.98×9.3 MB19 MB2.01×±0%
dry-run @synth-10k6.7 ms5.3 ms0.80×9.0 MB17 MB1.83×±0%
$ grit stash
pop-index @synth-10k62 ms35 ms0.56×20 MB25 MB1.24×−6%
pop-sparse @wide-120k340 ms124 ms0.36×54 MB39 MB0.73×±0%
push-paths @synth-10k72 ms28 ms0.39×19 MB24 MB1.28×±0%
push-pop @synth-10k ★201 ms122 ms0.61×18 MB22 MB1.27×±0%
$ grit status
clean @deep-tree1.12 s525 ms0.47×39 MB41 MB1.05×±0%
clean @small2.0 ms3.3 ms1.63×7.2 MB15 MB2.05×±0%
clean @synth-100k64 ms49 ms0.77×29 MB34 MB1.17×±0%
clean @synth-10k ★7.1 ms7.3 ms1.03×9.1 MB15 MB1.70×±0%
dirty @deep-tree1.16 s562 ms0.48×39 MB48 MB1.22×±0%
dirty @small1.9 ms2.9 ms1.55×7.2 MB15 MB2.04×±0%
dirty @synth-100k93 ms51 ms0.55×29 MB34 MB1.17×+8%
dirty @synth-10k ★11 ms7.5 ms0.71×9.2 MB16 MB1.73×±0%
paths @synth-100k41 ms43 ms1.06×28 MB34 MB1.22×+19%
renamed @synth-10k7.1 ms7.3 ms1.03×9.3 MB18 MB1.92×±0%
$ grit switch
branch @synth-10k ★23 ms17 ms0.76×10 MB18 MB1.73×±0%
sparse @sparse-120k41 ms23 ms0.57×7.7 MB18 MB2.33×+7%
sparse @sparse-240k61 ms23 ms0.38×8.2 MB18 MB2.22×+7%
sparse @sparse-unique-120k75 ms30 ms0.40×17 MB21 MB1.20×±0%
branching/
$ grit branch
contains @git-git-10k-refs28.16 s28 ms0.00×63 MB31 MB0.49×+28%
contains-json @git-git-10k-refs28.11 s35 ms0.00×63 MB31 MB0.49×+53%
create @many-refs1.6 ms2.7 ms1.72×7.5 MB12 MB1.60×+6%
delete @many-refs4.3 ms3.7 ms0.85×7.7 MB14 MB1.79×+7%
list @many-refs ★1.5 ms2.2 ms1.49×6.4 MB11 MB1.68×±0%
list @many-refs-loose1.4 ms2.1 ms1.55×6.6 MB10 MB1.58×±0%
list-json @many-refs1.6 ms2.4 ms1.45×7.5 MB11 MB1.48×±0%
merged @many-refs1.5 ms2.4 ms1.54×7.2 MB11 MB1.57×+9%
merged-ref @many-refs0.8 ms2.0 ms2.54×6.4 MB9.5 MB1.50×±0%
rename @many-refs1.8 ms3.5 ms1.93×7.3 MB11 MB1.56×±0%
$ grit history
reword @synth-10k6.31 s135 ms0.02×29 MB23 MB0.81×±0%
$ grit merge
clean @synth-100k267 ms132 ms0.50×43 MB44 MB1.01×±0%
clean @synth-10k ★98 ms53 ms0.54×14 MB21 MB1.54×±0%
content-both-sides @wide-20k1.30 s1.18 s0.91×63 MB76 MB1.21×±0%
$ grit pick
one @synth-100k187 ms110 ms0.59×37 MB36 MB0.97×±0%
one @synth-10k ★112 ms50 ms0.44×9.0 MB21 MB2.33×±0%
$ grit rebase
onto @git-git568 ms3.2 ms0.01×66 MB15 MB0.23×±0%
onto @synth-10k43 ms8.7 ms0.20×14 MB16 MB1.14×±0%
$ grit revert
one @synth-10k106 ms40 ms0.37×9.0 MB20 MB2.27×±0%
$ grit stash
list @synth-10k2.8 ms2.4 ms0.87×8.7 MB9.9 MB1.15×+6%
$ grit switch
branch @synth-100k149 ms82 ms0.55×36 MB35 MB0.96×±0%
delete-heavy @wide-48k113 ms113 ms1.00×22 MB29 MB1.34×±0%
large-blob @big-asset846 ms733 ms0.87×306 MB18 MB0.06×±0%
$ grit tag
contains @git-git5.79 s540 ms0.09×61 MB72 MB1.18×+9%
create @many-refs1.6 ms2.6 ms1.57×7.2 MB13 MB1.85×−6%
list @many-refs3.3 ms3.7 ms1.14×7.8 MB12 MB1.55×+6%
list-sort-version @git-git2.0 ms2.9 ms1.49×6.7 MB12 MB1.81×+5%
refs/
$ grit gc
pack-refs @synth-10k1.9 ms3.1 ms1.70×6.6 MB13 MB1.96×±0%
maintenance/
$ grit fsck
full @big-blobs18.55 s4.19 s0.23×3462 MB3816 MB1.10×+26%
full @git-git27.71 s12.38 s0.45×574 MB541 MB0.94×±0%
$ grit gc
default @synth-10k338 ms142 ms0.42×47 MB58 MB1.24×+1091%
$ grit repack
commit-graph @git-git677 ms527 ms0.78×72 MB104 MB1.44×±0%
full @git-git4.40 s2.41 s0.55×454 MB545 MB1.20×±0%
blame/
$ grit blame
file @deep-tree423 ms117 ms0.28×82 MB57 MB0.70×±0%
file @git-git ★274 ms225 ms0.82×234 MB259 MB1.11×±0%
bundles/
$ grit bundle
create @synth-10k260 ms125 ms0.48×42 MB58 MB1.39×±0%
create-all @git-git4.25 s2.66 s0.62×505 MB680 MB1.35×+5%
verify @synth-10k1.5 ms2.6 ms1.76×6.4 MB10 MB1.60×±0%
config/
$ grit config
get @small1.3 ms2.1 ms1.59×6.4 MB11 MB1.73×±0%
get-origin @small1.1 ms2.0 ms1.77×6.3 MB10 MB1.65×+7%
set @small1.4 ms2.2 ms1.58×6.4 MB10 MB1.58×−7%
diff/
$ grit diff
stat @synth-100k100 ms69 ms0.69×29 MB53 MB1.86×+8%
worktree @big-blobs322 ms50 ms0.16×182 MB82 MB0.45×−7%
worktree @deep-tree94 ms70 ms0.74×39 MB42 MB1.08×±0%
worktree @synth-100k114 ms70 ms0.62×29 MB63 MB2.21×±0%
worktree @synth-10k ★7.0 ms7.0 ms1.00×9.5 MB16 MB1.72×−5%
hooks/
$ grit hooks
list @small2.0 ms2.0 ms1.00×6.4 MB10 MB1.58×+6%
ignore/
$ grit ignore
check-1000 @synth-10k2.1 ms5.4 ms2.54×6.4 MB16 MB2.43×±0%
index/
$ grit diff
staged @deep-tree38 ms39 ms1.05×41 MB47 MB1.15×±0%
staged @synth-100k65 ms41 ms0.63×29 MB65 MB2.21×+11%
notes/
$ grit notes
add @synth-10k1.9 ms3.2 ms1.67×7.3 MB15 MB2.05×±0%
list @synth-10k1.4 ms2.4 ms1.72×6.3 MB11 MB1.75×+8%
list-n100 @synth-10k2.2 ms3.1 ms1.42×7.2 MB13 MB1.82×+7%
remotes/
$ grit clone
bare @synth-10k886 ms750 ms0.85×35 MB29 MB0.81×±0%
blobless @git-git8.55 s7.07 s0.83×71 MB69 MB0.98×±0%
checkout @synth-100k2.72 s2.24 s0.82×44 MB76 MB1.73×+20%
full @git-git15.06 s7.95 s0.53×116 MB146 MB1.25×±0%
http @synth-10k620 ms455 ms0.73×35 MB33 MB0.94×±0%
local @synth-10k ★1.00 s860 ms0.86×35 MB32 MB0.91×±0%
shallow @git-git1.59 s1.62 s1.02×38 MB55 MB1.45×±0%
shallow-depth1 @synth-10k186 ms198 ms1.06×31 MB31 MB1.00×+6%
shallow-depth1-http @synth-10k215 ms241 ms1.12×31 MB30 MB0.99×+11%
$ grit fetch
deepen @git-git642 ms172 ms0.27×258 MB56 MB0.22×±0%
dry-run @git-git106 ms54 ms0.51×67 MB49 MB0.73×±0%
incremental @git-git ★105 ms54 ms0.51×68 MB48 MB0.71×±0%
incremental-http @git-git157 ms94 ms0.60×68 MB48 MB0.71×±0%
noop @git-git25 ms9.2 ms0.36×54 MB18 MB0.34×±0%
noop-local @many-refs21 ms15 ms0.73×22 MB18 MB0.80×±0%
noop-local-no-tags @many-refs19 ms12 ms0.60×23 MB17 MB0.77×±0%
one-branch @git-git108 ms56 ms0.52×67 MB48 MB0.71×+5%
$ grit ls-remote
all @many-refs15 ms16 ms1.06×26 MB19 MB0.74×+18%
$ grit pull
check @git-git106 ms55 ms0.52×68 MB48 MB0.71×+5%
fast-forward @git-git ★114 ms60 ms0.52×73 MB48 MB0.66×+6%
rebase @synth-10k73 ms20 ms0.27×40 MB27 MB0.66×±0%
$ grit push
force-with-lease @git-git2.11 s939 ms0.45×318 MB72 MB0.23×±0%
incremental @git-git ★2.12 s1.40 s0.66×319 MB89 MB0.28×±0%
incremental-http @git-git1.60 s894 ms0.56×307 MB89 MB0.29×±0%
refspec @git-git1.05 s981 ms0.93×96 MB76 MB0.79×±0%
$ grit remote
list @small1.3 ms2.1 ms1.60×6.3 MB10 MB1.67×+9%
remove @many-refs791 ms298 ms0.38×9.5 MB26 MB2.78×±0%
rename @many-refs56.20 s3.25 s0.06×9.1 MB63 MB6.92×+12%
show @many-refs35 ms19 ms0.55×29 MB19 MB0.65×±0%
$ grit reset
blobless @git-git2.60 s2.57 s0.99×69 MB63 MB0.91×±0%
revwalk/
$ grit cat
blob @git-git1.5 ms2.3 ms1.56×6.6 MB11 MB1.69×±0%
$ grit log
all @git-git44 ms42 ms0.97×20 MB30 MB1.49×±0%
author @git-git2.4 ms4.3 ms1.81×11 MB20 MB1.92×−6%
author-n50 @deep-history1.8 ms3.4 ms1.94×8.6 MB17 MB1.97×±0%
author-n50 @deep-history-cg2.1 ms3.5 ms1.66×11 MB19 MB1.71×±0%
group-by-author @git-git611 ms361 ms0.59×117 MB60 MB0.51×±0%
json-100 @git-git2.9 ms4.0 ms1.37×14 MB21 MB1.46×±0%
json-filter @git-git2.3 ms4.1 ms1.79×12 MB18 MB1.55×±0%
json-n10-loose-tags @git-git12 ms12 ms1.02×17 MB23 MB1.37×±0%
json-n10-packed-tags @git-git9.9 ms2.9 ms0.29×17 MB16 MB0.94×±0%
limit-path @git-git19 ms16 ms0.84×32 MB45 MB1.38×±0%
oneline-100 @git-git ★3.0 ms4.0 ms1.33×14 MB20 MB1.37×±0%
oneline-100 @synth-100k2.3 ms3.5 ms1.53×9.0 MB16 MB1.74×±0%
path @git-git332 ms323 ms0.97×250 MB269 MB1.08×±0%
stat-n50 @git-git92 ms40 ms0.44×39 MB57 MB1.48×±0%
$ grit merge-base
branches @git-git15 ms3.8 ms0.25×19 MB19 MB1.02×−5%
$ grit patch-id
commit @git-git2.1 ms2.6 ms1.24×12 MB13 MB1.05×±0%
$ grit reflog
list @synth-10k3.8 ms4.6 ms1.22×8.7 MB12 MB1.41×±0%
$ grit resolve
change-id @git-git536 ms548 ms1.02×62 MB106 MB1.72×±0%
head-n @git-git1.3 ms2.2 ms1.69×6.4 MB11 MB1.74×−6%
$ grit revs
author-n50 @deep-history1.8 ms3.1 ms1.77×8.6 MB17 MB1.97×−8%
author-n50 @deep-history-cg2.0 ms3.3 ms1.67×12 MB19 MB1.65×±0%
count @git-git502 ms361 ms0.72×60 MB57 MB0.95×±0%
count-author @deep-history111 ms122 ms1.10×21 MB26 MB1.24×±0%
count-author @deep-history-cg117 ms123 ms1.05×24 MB26 MB1.10×±0%
count-path @git-git387 ms364 ms0.94×241 MB267 MB1.11×±0%
count-range-commit-graph @git-git2.4 ms3.0 ms1.27×19 MB17 MB0.94×±0%
count-since @deep-history1.6 ms2.6 ms1.64×7.8 MB13 MB1.63×±0%
left-right-count @deep-history2.5 ms4.1 ms1.65×8.5 MB15 MB1.76×±0%
$ grit shortlog
ahead @git-git16 ms2.1 ms0.13×19 MB11 MB0.55×±0%
behind @git-git17 ms2.3 ms0.13×19 MB10 MB0.54×±0%
$ grit show
head @big-blobs1.5 ms2.3 ms1.61×7.2 MB15 MB2.02×±0%
head @git-git ★2.0 ms2.7 ms1.34×8.8 MB15 MB1.71×±0%
head @synth-10k2.1 ms2.8 ms1.31×8.4 MB14 MB1.68×±0%
worktrees/
$ grit worktree
add @synth-10k129 ms132 ms1.03×16 MB24 MB1.52×±0%
list @synth-10k1.7 ms2.9 ms1.70×6.4 MB11 MB1.79×±0%
remove @synth-10k95 ms88 ms0.93×6.3 MB12 MB1.82×±0%
★ everyday operation shown on the cooking page · click a case for how it's measured · trend: grit/git time ratio, log scale, dashed line = par