Bounded branch --contains HEAD~100 -n 100 on 10,000 unique packed tips
repo: Full git/git history plus 10,000 distinct packed branch tips · 4,525 files · 75,031 commits · 10,957 refs
| tool | median | min | max | runs | peak memory |
|---|---|---|---|---|---|
| git | 29.83 s | 29.61 s | 30.97 s | 5 | 63 MB |
| grit | 27 ms | 27 ms | 27 ms | 4 | 34 MB |
$ git for-each-ref --contains bb4248452e49ec81fff8b0748a32871d8d1dd6d3 --count=100 '--format=%(refname:short)' refs/heads/
$ grit branch --contains bb4248452e49ec81fff8b0748a32871d8d1dd6d3 -n 100
| date | grit commit | git | grit | grit vs git | grit peak |
|---|---|---|---|---|---|
| 2026-10-27 | 8dbc58e77 | 29.83 s | 27 ms | 1098× faster | 34 MB |
| 2026-10-26 | c7cf2c443 | 45 ms | 35 ms | 1.3× faster | 35 MB |
| 2026-10-25 | 2824ad391 | — | not run | — | — |
| 2026-10-24 | 157a05dde | — | not run | — | — |
| 2026-10-23 | bddf92f86 | — | not run | — | — |
| 2026-10-22 | 4c131b942 | — | not run | — | — |
| 2026-10-21 | d4844e92a | — | not run | — | — |
| 2026-10-20 | 4754ad0b9 | — | not run | — | — |