internal: switch from CLI to internal benchmarking

We have a CLI for benchmarking, but no one actually uses it it seems.
Let's try switching to "internal" benchmarks, implemented as rust tests.
They should be easier to "script" to automate tracking of perf
regressions.
This commit is contained in:
Aleksey Kladov
2021-03-30 11:59:00 +03:00
parent 904bdff224
commit 797185e1b6
6 changed files with 76 additions and 262 deletions

View File

@@ -39,6 +39,9 @@ mod op_queue;
pub mod lsp_ext;
pub mod config;
#[cfg(test)]
mod benchmarks;
use serde::de::DeserializeOwned;
use std::fmt;