about summary refs log tree commit homepage
path: root/xt/git_async_cmp.t
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-06-10 07:04:22 +0000
committerEric Wong <e@yhbt.net>2020-06-13 07:55:45 +0000
commiteeeae20893a2595631359e719eadac9686572734 (patch)
treec63dc3e396f16066db3e6366997fe11612676ad2 /xt/git_async_cmp.t
parent6d2fad2c3f6eaf7334b1e805de607e1d5b24ff9e (diff)
downloadpublic-inbox-eeeae20893a2595631359e719eadac9686572734.tar.gz
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.
Diffstat (limited to 'xt/git_async_cmp.t')
-rw-r--r--xt/git_async_cmp.t1
1 files changed, 0 insertions, 1 deletions
diff --git a/xt/git_async_cmp.t b/xt/git_async_cmp.t
index 46d27b26..8f8d1cf4 100644
--- a/xt/git_async_cmp.t
+++ b/xt/git_async_cmp.t
@@ -25,7 +25,6 @@ my $async = timeit($nr, sub {
                 $dig->add($$bref);
         };
         my $cat = $git->popen(@cat);
-        $git->cat_async_begin;
 
         while (<$cat>) {
                 my ($oid, undef, undef) = split(/ /);