X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=xt%2Fperf-msgview.t;h=cf550c1a284b80b9dd516444f93302a604bd194d;hb=23af251dd607c4e75ab1e68063f2c885c48cc035;hp=f97c06fb2e65a0427fb2e4c8c738d3fb7e506e53;hpb=5cec164a0c5688a0410964cdc07c7e843e175545;p=public-inbox.git diff --git a/xt/perf-msgview.t b/xt/perf-msgview.t index f97c06fb..cf550c1a 100644 --- a/xt/perf-msgview.t +++ b/xt/perf-msgview.t @@ -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');