aboutsummaryrefslogtreecommitdiff
path: root/crates/rust-analyzer/src/integrated_benchmarks.rs
diff options
context:
space:
mode:
authorKirill Bulatov <[email protected]>2021-06-11 07:27:25 +0100
committerKirill Bulatov <[email protected]>2021-06-11 07:27:25 +0100
commit339448157c479f724ae22fce6d5fa78f76c59720 (patch)
treee69382ca1a8c98a0ff2fd6e0395d6b379f80f705 /crates/rust-analyzer/src/integrated_benchmarks.rs
parentb24f816c0d8aaa37fbc0b33f90dd67afbf28adaa (diff)
Only prefill caches in the completion benchmark
Diffstat (limited to 'crates/rust-analyzer/src/integrated_benchmarks.rs')
-rw-r--r--crates/rust-analyzer/src/integrated_benchmarks.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/rust-analyzer/src/integrated_benchmarks.rs b/crates/rust-analyzer/src/integrated_benchmarks.rs
index ec36a5f5c..8ddeb59f7 100644
--- a/crates/rust-analyzer/src/integrated_benchmarks.rs
+++ b/crates/rust-analyzer/src/integrated_benchmarks.rs
@@ -37,6 +37,7 @@ fn integrated_highlighting_benchmark() {
37 load_out_dirs_from_check: true, 37 load_out_dirs_from_check: true,
38 wrap_rustc: false, 38 wrap_rustc: false,
39 with_proc_macro: false, 39 with_proc_macro: false,
40 prefill_caches: false,
40 }; 41 };
41 42
42 let (mut host, vfs, _proc_macro) = { 43 let (mut host, vfs, _proc_macro) = {
@@ -91,6 +92,7 @@ fn integrated_completion_benchmark() {
91 load_out_dirs_from_check: true, 92 load_out_dirs_from_check: true,
92 wrap_rustc: false, 93 wrap_rustc: false,
93 with_proc_macro: false, 94 with_proc_macro: false,
95 prefill_caches: true,
94 }; 96 };
95 97
96 let (mut host, vfs, _proc_macro) = { 98 let (mut host, vfs, _proc_macro) = {