summaryrefslogtreecommitdiff
path: root/cli/bench/lsp_bench_standalone.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-05-26 15:26:21 +0200
committerGitHub <noreply@github.com>2023-05-26 13:26:21 +0000
commitd5a8a3d69fd7864d2f48d7524fc79bd9d8f51f53 (patch)
treee423434c69fc6f8f2ed62c40f204a13f6403ff7e /cli/bench/lsp_bench_standalone.rs
parent25cbd97ab7ef1866e58238f1c28ec0d86062aee8 (diff)
chore: remove useless benchmark (#19272)
This benchmark is useless and only gives several hundred thousand messages of failure. --------- Co-authored-by: David Sherret <dsherret@gmail.com>
Diffstat (limited to 'cli/bench/lsp_bench_standalone.rs')
-rw-r--r--cli/bench/lsp_bench_standalone.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/bench/lsp_bench_standalone.rs b/cli/bench/lsp_bench_standalone.rs
index 60d5be2d1..b3b1f2d92 100644
--- a/cli/bench/lsp_bench_standalone.rs
+++ b/cli/bench/lsp_bench_standalone.rs
@@ -11,7 +11,7 @@ use test_util::lsp::LspClientBuilder;
// Intended to match the benchmark in quick-lint-js
// https://github.com/quick-lint/quick-lint-js/blob/35207e6616267c6c81be63f47ce97ec2452d60df/benchmark/benchmark-lsp/lsp-benchmarks.cpp#L223-L268
fn incremental_change_wait(bench: &mut Bencher) {
- let mut client = LspClientBuilder::new().build();
+ let mut client = LspClientBuilder::new().use_diagnostic_sync(false).build();
client.initialize_default();
client.write_notification(