Literal path count without commit-graph: grit revs --count HEAD -- Documentation/git-log.txt vs git rev-list (issue #1517)
repo: Upstream git/git pinned at v2.47.0, full history · 4,525 files · 75,031 commits · 954 refs
| tool | median | min | max | runs | peak memory |
|---|---|---|---|---|---|
| git | 383 ms | 380 ms | 384 ms | 5 | 240 MB |
| grit | 375 ms | 370 ms | 399 ms | 5 | 269 MB |
$ git rev-list --count HEAD -- Documentation/git-log.txt
$ grit revs --count HEAD -- Documentation/git-log.txt