grit://cooking/bench/clone/checkout@synth-100k
← cookingall benchmarksraw data

grit clone · checkout @synth-100k

Local-path clone with full checkout of 100k files vs git clone

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

$ grit-bench daily --only clone/checkout@synth-100k2026-10-27 · grit 8dbc58e77 · git version 2.43.0
toolmedianminmaxrunspeak memory
git2.99 s2.95 s3.01 s544 MB
grit2.20 s2.17 s2.21 s576 MB
grit is 1.4× fastermemory: 1.7× more
every timed run (log scale)
git
grit
1.72 s3.79 s
How it's measured
setup
remote /tmp/grit-bench-scratch/daily-remote-synth-100k-path-clone/remote.git served by no server
before each run
grit-bench prepare-network-clone --git git --bare /tmp/grit-bench-scratch/daily-remote-synth-100k-path-clone/remote.git
git runs
$ rm -rf /tmp/grit-bench-scratch/daily-remote-synth-100k-path-clone/remote.git-campaign-clone && cd /tmp/grit-bench-scratch/daily-remote-synth-100k-path-clone && git clone -q /tmp/grit-bench-scratch/daily-remote-synth-100k-path-clone/remote.git remote.git-campaign-clone
grit runs
$ rm -rf /tmp/grit-bench-scratch/daily-remote-synth-100k-path-clone/remote.git-campaign-clone && cd /tmp/grit-bench-scratch/daily-remote-synth-100k-path-clone && grit clone  /tmp/grit-bench-scratch/daily-remote-synth-100k-path-clone/remote.git remote.git-campaign-clone
checked first
before timing, git and grit were each run once and their results compared
Where the time goesone extra traced run per tool, outside the timed runs
git · median run 2.99 s
unpack_trees: unpack_trees
2.88 s
unpack_trees: traverse_trees
34 ms
cache_tree: update
29 ms
index: do_write_index
25 ms
run: git-upload-pack
22 ms
cache_tree: write
0.1 ms
grit · median run 2.20 s
grit.index.write
21 ms
grit.index.read ×2
7.0 ms
grit.repository.open ×3
0.3 ms
grit.config.load ×4
0.2 ms
grit.pack.index.open ×4
0.1 ms
Every day8 days
dategrit commitgitgritgrit vs gitgrit peak
2026-10-278dbc58e772.99 s2.20 s1.4× faster76 MB
2026-10-26c7cf2c4437.11 s4.52 s1.6× faster82 MB
2026-10-252824ad3913.22 s3.87 s1.2× slower129 MB
2026-10-24157a05dde3.40 s2.90 s1.2× faster151 MB
2026-10-23bddf92f86—not run——
2026-10-224c131b942—not run——
2026-10-21d4844e92a—not run——
2026-10-204754ad0b9—not run——