Sparse switch out and back, 300 visible files and 400 excluded directories
repo: 240,000-file repository with a 300-file visible sparse workset · 240,000 files · 2 commits · 3 refs
| tool | median | min | max | runs | peak memory |
|---|---|---|---|---|---|
| git | 62 ms | 61 ms | 65 ms | 20 | 8.1 MB |
| grit | 24 ms | 22 ms | 25 ms | 20 | 20 MB |
$ git switch --detach sparse-base && git switch --detach sparse-edited
$ grit switch --detach sparse-base && grit switch --detach sparse-edited