Files
greptimedb/benchmarks
tison 9dd6e033a7 refactor: move Database to client crate behind testing feature (#4059)
* refactor: move Database to client crate behind testing feature

Signed-off-by: tison <wander4096@gmail.com>

* partial move

Signed-off-by: tison <wander4096@gmail.com>

* catch up more

Signed-off-by: tison <wander4096@gmail.com>

* fix imports

Signed-off-by: tison <wander4096@gmail.com>

* finish

Signed-off-by: tison <wander4096@gmail.com>

* tidy

Signed-off-by: tison <wander4096@gmail.com>

---------

Signed-off-by: tison <wander4096@gmail.com>
2024-05-28 03:21:43 +00:00
..

Benchmarkers for GreptimeDB

Wal Benchmarker

The wal benchmarker serves to evaluate the performance of GreptimeDB's Write-Ahead Log (WAL) component. It meticulously assesses the read/write performance of the WAL under diverse workloads generated by the benchmarker.

How to use

To compile the benchmarker, navigate to the greptimedb/benchmarks directory and execute cargo build --release. Subsequently, you'll find the compiled target located at greptimedb/target/release/wal_bench.

The ./wal_bench -h command reveals numerous arguments that the target accepts. Among these, a notable one is the cfg-file argument. By utilizing a configuration file in the TOML format, you can bypass the need to repeatedly specify cumbersome arguments.