Skip to content

Commit 260bcd9

Browse files
bors[bot]matklad
andauthored
Merge #8839
8839: minor: more useful bench r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
2 parents e7b8e6f + ee1c23c commit 260bcd9

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)