grit://cooking/bench/status/dirty@synth-10k
← cookingall benchmarksraw data

grit status · dirty @synth-10k

Dirty worktree status vs git status -s

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 status/dirty@synth-10k2026-10-27 · grit 8dbc58e77 · git version 2.43.0
toolmedianminmaxrunspeak memory
git10 ms9.6 ms33 ms209.4 MB
grit7.9 ms7.5 ms23 ms2022 MB
grit is 1.3× fastermemory: 2.3× more
every timed run (log scale)
git
grit
6.0 ms42 ms
How it's measured
before each run
grit-bench prepare-worktree-status-dirty --git git
git runs
$ git status -s
grit runs
$ grit status
Where the time goesone extra traced run per tool, outside the timed runs
git · median run 10 ms
status: untracked
2.3 ms
dir: read_directory
2.3 ms
index: do_write_index
2.3 ms
index: preload
1.7 ms
index: do_read_index
0.5 ms
index: name-hash-init
0.2 ms
status: index
0.2 ms
status: worktrees
0.2 ms
index: refresh
0.2 ms
unpack_trees: unpack_trees
0.0 ms
cache_tree: read
0.0 ms
status: print
0.0 ms
cache_tree: write
0.0 ms
diff: setup ×2
0.0 ms
diff: write ×2
0.0 ms
unpack_trees: traverse_trees
0.0 ms
grit · median run 7.9 ms
grit.status.scan
5.8 ms
grit.index.read
0.8 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-278dbc58e7710 ms7.9 ms1.3× faster22 MB
2026-10-26c7cf2c44321 ms16 ms1.3× faster21 MB
2026-10-252824ad39112 ms11 ms1.1× faster21 MB
2026-10-24157a05dde11 ms9.6 ms1.1× faster19 MB
2026-10-23bddf92f8611 ms11 mspar19 MB
2026-10-224c131b94212 ms12 mspar18 MB
2026-10-21d4844e92a11 ms18 ms1.6× slower17 MB
2026-10-204754ad0b914 ms24 ms1.7× slower17 MB