grit://cooking/bench/diff/stat@synth-100k
← cookingall benchmarksraw data

grit diff · stat @synth-100k

Unstaged worktree diff stat (~1% modified): grit diff --stat vs git diff --stat

repo: 100,000-file synthetic repository; canonical cached shape · 100,000 files · 1,000 commits · 1,200 refs

$ grit-bench daily --only diff/stat@synth-100k2026-10-27 · grit 8dbc58e77 · git version 2.43.0
toolmedianminmaxrunspeak memory
git100 ms95 ms104 ms1929 MB
grit64 ms60 ms68 ms1957 MB
grit is 1.6× fastermemory: 2.0× more
every timed run (log scale)
git
grit
48 ms131 ms
How it's measured
before each run
grit-bench prepare-worktree-diff --git git
git runs
$ git diff --stat
grit runs
$ grit diff --stat
checked first
the starting state is verified before every timed run
Where the time goesone extra traced run per tool, outside the timed runs
git · median run 100 ms
index: preload
18 ms
index: do_read_index
5.0 ms
cache_tree: read
0.2 ms
diff: setup
0.0 ms
diff: write
0.0 ms
grit · median run 64 ms
grit.index.read
8.1 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-278dbc58e77100 ms64 ms1.6× faster57 MB
2026-10-26c7cf2c443180 ms140 ms1.3× faster63 MB
2026-10-252824ad391105 ms93 ms1.1× faster58 MB
2026-10-24157a05dde103 ms107 mspar59 MB
2026-10-23bddf92f86—not run——
2026-10-224c131b942—not run——
2026-10-21d4844e92a—not run——
2026-10-204754ad0b9—not run——