minor: more useful bench

This commit is contained in:
Aleksey Kladov 2021-05-14 20:23:29 +03:00
parent 6c0f20d79f
commit ee1c23c78c

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 {