aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_ty/src/diagnostics/decl_check/case_conv.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-06-11 07:28:32 +0100
committerGitHub <[email protected]>2021-06-11 07:28:32 +0100
commitc62ec3d9986d45224d4c64ba9b7b22c1d1d0afb2 (patch)
treee69382ca1a8c98a0ff2fd6e0395d6b379f80f705 /crates/hir_ty/src/diagnostics/decl_check/case_conv.rs
parentc4c1fcb8e902adcc7879996fa7f53200fb36ce33 (diff)
parent339448157c479f724ae22fce6d5fa78f76c59720 (diff)
Merge #9208
9208: minor: Populate import maps eagerly to speed up flyimports r=SomeoneToIgnore a=SomeoneToIgnore Part of #7542 Follow up of https://github.com/rust-analyzer/rust-analyzer/pull/9206#issuecomment-859097783 Reduces `import_on_the_fly @ sel` case in the `integrated_completion_benchmark` by ~300ms. Also enables cache priming for manual workspace loading to reflect the results in the benchmarks. Before: <img width="1198" alt="image" src="https://user-images.githubusercontent.com/2690773/121606148-4a734a80-ca56-11eb-812a-7955e93817f1.png"> After: <img width="1200" alt="image" src="https://user-images.githubusercontent.com/2690773/121606156-4e06d180-ca56-11eb-891b-1ed878b53d7e.png"> Co-authored-by: Kirill Bulatov <[email protected]>
Diffstat (limited to 'crates/hir_ty/src/diagnostics/decl_check/case_conv.rs')
0 files changed, 0 insertions, 0 deletions