grit://cooking/bench/stash/pop-index@synth-10k
← cookingall benchmarksraw data

grit stash · pop-index @synth-10k

Restore index from stash: grit stash pop --index vs git stash pop --index

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 stash/pop-index@synth-10k2026-10-27 · grit 8dbc58e77 · git version 2.43.0
toolmedianminmaxrunspeak memory
git61 ms59 ms64 ms2020 MB
grit36 ms35 ms39 ms2029 MB
grit is 1.7× fastermemory: 1.4× more
every timed run (log scale)
git
grit
28 ms80 ms
How it's measured
before each run
set -eu set -eu 'grit-bench' prepare-daily-reset --git git cd /tmp/grit-bench-scratch/daily-synth-10k/worktree-run-synth-10k 'grit-bench' prepare-worktree-commit-staged --git git first=$(head -1 /tmp/grit-bench-scratch/daily-synth-10k/.grit-bench-worktree-paths) echo bench >> "$first" (git stash clear 2>/dev/null || true) git stash push -q -m 'daily-bench-index'
git runs
$ git stash pop --index
grit runs
$ grit stash pop --index
Where the time goesone extra traced run per tool, outside the timed runs
git · median run 61 ms
index: do_write_index ×7
16 ms
run: git status
11 ms
run: git reset
9.7 ms
index: preload ×6
9.6 ms
unpack_trees: unpack_trees ×5
6.8 ms
run: git apply
6.5 ms
run: git diff-tree
5.3 ms
merge: checkout
5.0 ms
index: do_read_index ×7
4.1 ms
unpack_trees: traverse_trees ×5
2.7 ms
status: untracked
2.3 ms
dir: read_directory
2.3 ms
index: refresh ×4
1.9 ms
cache_tree: update ×3
0.5 ms
index: name-hash-init ×2
0.5 ms
status: index
0.3 ms
cache_tree: read ×7
0.2 ms
cache_tree: write ×7
0.1 ms
status: print
0.1 ms
merge: incore_nonrecursive
0.1 ms
grit · median run 36 ms
grit.index.write
2.5 ms
grit.index.read
0.8 ms
grit.diff.tree ×6
0.2 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-278dbc58e7761 ms36 ms1.7× faster29 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——