Sparse switch out and back, 300 visible files and 400 excluded directories
repo: 120,000-file repository with unique blobs and a 300-file visible sparse workset · 120,000 files · 2 commits · 3 refs
| tool | median | min | max | runs | peak memory |
|---|---|---|---|---|---|
| git | 75 ms | 74 ms | 76 ms | 5 | 17 MB |
| grit | 761 ms | 750 ms | 778 ms | 5 | 57 MB |
$ git switch --detach sparse-base && git switch --detach sparse-edited
$ grit switch --detach sparse-base && grit switch --detach sparse-edited