]> Sergey Matveev's repositories - public-inbox.git/commit
mboxgz: do asynchronous git blob retrievals
authorEric Wong <e@yhbt.net>
Sun, 5 Jul 2020 23:27:30 +0000 (23:27 +0000)
committerEric Wong <e@yhbt.net>
Mon, 6 Jul 2020 20:01:15 +0000 (20:01 +0000)
commitc86657e655936d59cab8a88ef1fc1e986c5fb3f0
tree3fb85a047354a50827cc033f8fdc67da4fabf023
parenta3f00c4a7851b98b81a2fcb31d5ed131908e22de
mboxgz: do asynchronous git blob retrievals

This lets the -httpd worker process make better use of time
instead of waiting for git-cat-file to respond.  With 4 jobs in
the new test case against a clone of
<https://public-inbox.org/meta/>, a speedup of 10-12% is shown.
Even a single job shows a 2-5% improvement on an SSD.
MANIFEST
lib/PublicInbox/HTTP.pm
lib/PublicInbox/MboxGz.pm
xt/httpd-async-stream.t [new file with mode: 0644]