]> Sergey Matveev's repositories - public-inbox.git/commit
wwwatomstream: support async blob fetch
authorEric Wong <e@yhbt.net>
Sun, 5 Jul 2020 23:27:37 +0000 (23:27 +0000)
committerEric Wong <e@yhbt.net>
Mon, 6 Jul 2020 20:01:15 +0000 (20:01 +0000)
commit9eac193c72e1380972f3589cb6b4f36b79183233
tree8ab042225a260c550606cc428473cd4653f1aab2
parenta3a6e24993a4c8d0fbcb56a23548c65e62f0a6ed
wwwatomstream: support async blob fetch

This allows -httpd to handle other requests while waiting
for git to retrieve and decode blobs.  We'll also break
apart t/psgi_v2.t further to ensure tests run against
-httpd in addition to generic PSGI testing.

Using xt/httpd-async-stream.t to test against clones of meta@public-inbox.org
shows a 10-12% performance improvement with the following env:
TEST_JOBS=1000 TEST_CURL_OPT=--compressed TEST_ENDPOINT=new.atom
Documentation/mknews.perl
lib/PublicInbox/WwwAtomStream.pm
t/psgi_v2.t