grit://cooking/bench/notes/add@synth-10k
← cookingall benchmarksraw data

grit notes · add @synth-10k

Add commit note vs git notes add

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 notes/add@synth-10k2026-10-27 · grit 8dbc58e77 · git version 2.43.0
toolmedianminmaxrunspeak memory
git1.8 ms1.3 ms2.1 ms207.2 MB
grit2.8 ms2.4 ms3.2 ms2017 MB
grit is 1.6× slowermemory: 2.3× more
every timed run (log scale)
git
grit
1.1 ms4.0 ms
How it's measured
before each run
set -eu 'grit-bench' prepare-daily-reset --git git git notes --ref refs/notes/commits drop 2>/dev/null || true
git runs
$ git notes add -f -m 'daily bench note' HEAD
grit runs
$ grit notes add --force --message 'daily bench note' HEAD
Where the time goesone extra traced run per tool, outside the timed runs
git
— not traced
grit · median run 2.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-278dbc58e771.8 ms2.8 ms1.6× slower17 MB
2026-10-26c7cf2c4432.6 ms4.5 ms1.7× slower19 MB
2026-10-252824ad3911.8 ms3.1 ms1.7× slower16 MB
2026-10-24157a05dde2.2 ms4.4 ms2.0× slower16 MB
2026-10-23bddf92f862.2 ms4.4 ms2.0× slower16 MB
2026-10-224c131b9422.2 ms4.4 ms2.0× slower17 MB
2026-10-21d4844e92a2.2 ms4.3 ms1.9× slower15 MB
2026-10-204754ad0b92.8 ms5.8 ms2.1× slower15 MB