#!perl -w
-# Copyright (C) 2019-2020 all contributors <meta@public-inbox.org>
+# Copyright (C) 2019-2021 all contributors <meta@public-inbox.org>
# License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
use strict;
use Test::More;
}
my @dig;
my $nr = $ENV{NR} || 1;
+diag "NR=$nr";
my $async = timeit($nr, sub {
my $dig = Digest::SHA->new(1);
my $cb = sub {
$git->cat_async($oid, $cb);
}
close $cat or die "cat: $?";
- $git->cat_async_wait;
+ $git->async_wait_all;
push @dig, ['async', $dig->hexdigest ];
});