mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Optimize exhaustiveness checking perf a bit
This commit is contained in:
parent
597c293a69
commit
94e38261b3
7 changed files with 77 additions and 89 deletions
|
@ -300,7 +300,7 @@ fn integrated_diagnostics_benchmark() {
|
|||
.diagnostics(&diagnostics_config, ide::AssistResolveStrategy::None, file_id)
|
||||
.unwrap();
|
||||
|
||||
let _g = crate::tracing::hprof::init("*>1");
|
||||
let _g = crate::tracing::hprof::init("*");
|
||||
|
||||
{
|
||||
let _it = stdx::timeit("change");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue