aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Runxi Yu2025-11-24 08:00:00 +0800
committerGravatar Runxi Yu2025-11-24 08:00:00 +0800
commitfd7b64c36c265253ee1dd93ac6588e8982ad0e01 (patch)
treea5c0371f7edbbee01b1a97a833e2c917fcfee278
parentREADME: Revamp (diff)
signatureNo signature
README: Add performance
-rw-r--r--README.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/README.md b/README.md
index 1f927bd5..b2c94a30 100644
--- a/README.md
+++ b/README.md
@@ -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