grit://cooking/bench/rm/dry-run@synth-10k
← cookingall benchmarksraw data

grit rm · dry-run @synth-10k

Preview remove directory: grit rm --dry-run <dir> vs git rm -n -r <dir>

repo: 10,000-file synthetic repository; canonical cached shape, scenario variants documented by the runner · 10,000 files · 1,000 commits · 800 refs

$ grit-bench daily --only rm/dry-run@synth-10k2026-10-27 · grit 8dbc58e77 · git version 2.43.0
toolmedianminmaxrunspeak memory
git6.1 ms5.8 ms6.7 ms209.1 MB
grit7.7 ms7.3 ms8.0 ms2019 MB
grit is 1.2× slowermemory: 2.1× more
every timed run (log scale)
git
grit
4.6 ms10 ms
How it's measured
before each run
grit-bench prepare-worktree-rm-dir --git git
git runs
$ git rm -n -r data/d0000
grit runs
$ grit rm --dry-run data/d0000
Where the time goesone extra traced run per tool, outside the timed runs
git · median run 6.1 ms
index: do_read_index
0.6 ms
index: preload
0.5 ms
index: refresh
0.3 ms
cache_tree: read
0.0 ms
grit · median run 7.7 ms
grit.index.read
0.9 ms
grit.repository.open
0.2 ms
grit.config.load ×2
0.1 ms
grit.pack.index.open
0.0 ms
Every day8 days
dategrit commitgitgritgrit vs gitgrit peak
2026-10-278dbc58e776.1 ms7.7 ms1.2× slower19 MB
2026-10-26c7cf2c443—not run——
2026-10-252824ad391—not run——
2026-10-24157a05dde—not run——
2026-10-23bddf92f86—not run——
2026-10-224c131b942—not run——
2026-10-21d4844e92a—not run——
2026-10-204754ad0b9—not run——