8839: minor: more useful bench r=matklad a=matklad

bors r+
🤖

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
bors[bot] 2021-05-14 17:24:39 +00:00 committed by GitHub
commit 260bcd942b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,7 +123,7 @@ fn integrated_completion_benchmark() {
};
{
let _it = stdx::timeit("unqualified path completion");
let _p = profile::span("unqualified path completion");
let _span = profile::cpu_span();
let analysis = host.analysis();
let config = CompletionConfig {
@ -156,7 +156,7 @@ fn integrated_completion_benchmark() {
};
{
let _it = stdx::timeit("dot completion");
let _p = profile::span("dot completion");
let _span = profile::cpu_span();
let analysis = host.analysis();
let config = CompletionConfig {