todo
A config template can be found in config/bench.toml
.
In root directory of ceresdb
(not this directory ceresdb/benchmarks
), run the following command:
ANALYTIC_BENCH_CONFIG_PATH=/path/to/bench.toml cargo bench -p benchmarks
Print logs:
RUST_LOG=info ANALYTIC_BENCH_CONFIG_PATH=/path/to/bench.toml cargo bench -p benchmarks
Run specific bench:
ANALYTIC_BENCH_CONFIG_PATH=/path/to/bench.toml cargo bench --bench bench -p benchmarks -- read_parquet
If you want to enable pprof, add --profile-time 60
, see pprof-rs#127