From 21e2f19ae2a3baa744b6bbed997f757f0af7e01f Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Tue, 10 Mar 2026 18:45:38 +0800 Subject: README: go-git perf improved --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'README.md') 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 -- cgit v1.3.1-10-gc9f91