]> Sergey Matveev's repositories - public-inbox.git/commit - xt/git_async_cmp.t
imap: use git-cat-file asynchronously
authorEric Wong <e@yhbt.net>
Wed, 10 Jun 2020 07:04:22 +0000 (07:04 +0000)
committerEric Wong <e@yhbt.net>
Sat, 13 Jun 2020 07:55:45 +0000 (07:55 +0000)
commiteeeae20893a2595631359e719eadac9686572734
treec63dc3e396f16066db3e6366997fe11612676ad2
parent6d2fad2c3f6eaf7334b1e805de607e1d5b24ff9e
imap: use git-cat-file asynchronously

This ought to improve overall performance with multiple clients.
Single client performance suffers a tiny bit due to extra
syscall overhead from epoll.

This also makes the existing async interface easier-to-use,
since calling cat_async_begin is no longer required.
12 files changed:
MANIFEST
lib/PublicInbox/Git.pm
lib/PublicInbox/GitAsyncCat.pm [new file with mode: 0644]
lib/PublicInbox/IMAP.pm
lib/PublicInbox/Inbox.pm
t/git.t
xt/cmp-msgstr.t
xt/cmp-msgview.t
xt/eml_check_limits.t
xt/git_async_cmp.t
xt/msgtime_cmp.t
xt/perf-msgview.t