Skip to content

Commit ee1c23c

Browse files
committed
minor: more useful bench
1 parent 6c0f20d commit ee1c23c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/rust-analyzer/src/integrated_benchmarks.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ fn integrated_completion_benchmark() {
123123
};
124124

125125
{
126-
let _it = stdx::timeit("unqualified path completion");
126+
let _p = profile::span("unqualified path completion");
127127
let _span = profile::cpu_span();
128128
let analysis = host.analysis();
129129
let config = CompletionConfig {
@@ -156,7 +156,7 @@ fn integrated_completion_benchmark() {
156156
};
157157

158158
{
159-
let _it = stdx::timeit("dot completion");
159+
let _p = profile::span("dot completion");
160160
let _span = profile::cpu_span();
161161
let analysis = host.analysis();
162162
let config = CompletionConfig {

0 commit comments

Comments
 (0)