]> git.lizzy.rs Git - rust.git/commit
internal: switch from CLI to internal benchmarking
authorAleksey Kladov <aleksey.kladov@gmail.com>
Tue, 30 Mar 2021 08:59:00 +0000 (11:59 +0300)
committerAleksey Kladov <aleksey.kladov@gmail.com>
Tue, 30 Mar 2021 09:47:23 +0000 (12:47 +0300)
commit797185e1b66fb0d6ec1dedf206616890b5e3fef3
tree8455d51018e4c395ac33d6df4174c94dbd6dbcb1
parent904bdff2241a54c6aebe0f6fd39e6560550a66b0
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.
crates/rust-analyzer/src/benchmarks.rs [new file with mode: 0644]
crates/rust-analyzer/src/bin/flags.rs
crates/rust-analyzer/src/bin/main.rs
crates/rust-analyzer/src/cli.rs
crates/rust-analyzer/src/cli/analysis_bench.rs [deleted file]
crates/rust-analyzer/src/lib.rs