mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 15:15:24 +00:00
minor: more useful bench
This commit is contained in:
parent
6c0f20d79f
commit
ee1c23c78c
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue