]> Sergey Matveev's repositories - public-inbox.git/blobdiff - xt/perf-msgview.t
imap+nntp: share COMPRESS implementation
[public-inbox.git] / xt / perf-msgview.t
index f97c06fb2e65a0427fb2e4c8c738d3fb7e506e53..cf550c1a284b80b9dd516444f93302a604bd194d 100644 (file)
@@ -21,7 +21,6 @@ if (require_git(2.19, 1)) {
 "git <2.19, cat-file lacks --unordered, locality suffers\n";
 }
 require_mods qw(Plack::Util);
-use_ok 'Plack::Util';
 my $ibx = PublicInbox::Inbox->new({ inboxdir => $inboxdir, name => 'name' });
 my $git = $ibx->git;
 my $fh = $blob ? undef : $git->popen(@cat);
@@ -66,7 +65,7 @@ my $t = timeit(1, sub {
                        $git->cat_async($oid, $cb);
                }
        }
-       $git->cat_async_wait;
+       $git->async_wait_all;
 });
 diag 'multipart_text_as_html took '.timestr($t)." for $n <=> $m messages";
 is($m, $n, 'rendered all messages');