diff options
| author | 2025-11-24 08:00:00 +0800 | |
|---|---|---|
| committer | 2025-11-24 08:00:00 +0800 | |
| commit | fd7b64c36c265253ee1dd93ac6588e8982ad0e01 (patch) | |
| tree | a5c0371f7edbbee01b1a97a833e2c917fcfee278 | |
| parent | README: Revamp (diff) | |
| signature | No signature | |
README: Add performance
| -rw-r--r-- | README.md | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -47,6 +47,28 @@ to some extent [tangled](https://tangled.org/@tangled.org/core). * Minor SIMD optimizations for Adler-32 * Memory-mapping packfiles and their indexes +## Performance + +See [gitbench](https://git.sr.ht/~runxiyu/gitbench) for details on methods. + +All tests below were run on `linux.git` with `HEAD` at `6da43bbeb6918164` +on a `Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz`. + +### Traversing all trees + +* Git: 0.1 seconds +* Furgit: 9 seconds +* libgit2: 19 seconds +* go-git: 122 seconds + +### Traversing the root tree only + + +* Furgit: 1ms +* Git: 4ms +* libgit2: 11ms +* go-git: 1800ms + ## Dependencies * The standard library |
