aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-10 18:45:38 +0800
committerGravatar Runxi Yu2026-03-10 18:45:38 +0800
commit21e2f19ae2a3baa744b6bbed997f757f0af7e01f (patch)
tree9448050a8a342b7d93fbe58cdfb9123d8ca0be7d
parentresearch: dpack fetch (diff)
signatureNo signature
README: go-git perf improved
-rw-r--r--README.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/README.md b/README.md
index 9d85f0db..e7b06049 100644
--- a/README.md
+++ b/README.md
@@ -238,7 +238,9 @@ Furgit will probably not, and will remain sans-IO.
* `legacy` branch furgit is slightly faster due to buffer reuse and custom
ZLIB. These will be re-added.
* Alpine edge, i5-10210U, `performance` governor, `linux.git`.
-* go-git expects significant speed-ups after [mmap](https://pkg.go.dev/github.com/go-git/go-git/v6/storage/filesystem/mmap)
+* My copy of go-git is v6 with
+ [#1894](https://github.com/go-git/go-git/pull/1894)
+ and other optimizations merged in.
* These lone tests do not represent all workloads. Test your usage
pattern yourself (and contribute to gitbench).
@@ -251,7 +253,7 @@ Mainly tests the packfile object reader.
| Git | 337 ms | 226 ms | 108 ms |
| libgit2 | 391 ms | 269 ms | 120 ms |
| Furgit | 487 ms | 457 ms | 49 ms |
-| go-git | 38 s | 36 s | 2 s |
+| go-git | 4.2 s | 2.2 s | 2.0 s |
## Repos and mirrors