diff options
Diffstat (limited to 'xt/perf-threading.t')
-rw-r--r-- | xt/perf-threading.t | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xt/perf-threading.t b/xt/perf-threading.t index ae98a5ba..57e9db9b 100644 --- a/xt/perf-threading.t +++ b/xt/perf-threading.t @@ -1,4 +1,4 @@ -# Copyright (C) 2016-2020 all contributors <meta@public-inbox.org> +# Copyright (C) 2016-2021 all contributors <meta@public-inbox.org> # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt> # # real-world testing of search threading @@ -18,14 +18,14 @@ require PublicInbox::View; my $msgs; my $elapsed = timeit(1, sub { - $msgs = $srch->{over_ro}->recent({limit => 200000}); + $msgs = $ibx->over->recent({limit => 200000}); }); my $n = scalar(@$msgs); ok($n, 'got some messages'); diag "enquire: ".timestr($elapsed)." for $n"; $elapsed = timeit(1, sub { - PublicInbox::View::thread_results({-inbox => $ibx}, $msgs); + PublicInbox::View::thread_results({ibx => $ibx}, $msgs); }); diag "thread_results ".timestr($elapsed); |