-
Notifications
You must be signed in to change notification settings - Fork 206
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
25d87b7
commit d6c7d9b
Showing
2 changed files
with
6 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,15 @@ | ||
# Benchmarks | ||
|
||
## Test Data | ||
todo | ||
A config template can be found in [here](config.toml). | ||
|
||
## Config | ||
A config template can be found in `config/bench.toml`. | ||
|
||
## Run benchmarks | ||
## How to run | ||
```bash | ||
ANALYTIC_BENCH_CONFIG_PATH=/path/to/bench.toml cargo bench -p benchmarks | ||
ANALYTIC_BENCH_CONFIG_PATH=/path/to/config cargo bench -p benchmarks | ||
``` | ||
|
||
Print logs: | ||
```bash | ||
RUST_LOG=info ANALYTIC_BENCH_CONFIG_PATH=/path/to/bench.toml cargo bench -p benchmarks | ||
``` | ||
Set `RUST_LOG=debug` to enable verbose log. | ||
|
||
Run specific bench: | ||
## Run specific bench: | ||
```bash | ||
ANALYTIC_BENCH_CONFIG_PATH=/path/to/bench.toml cargo bench --bench bench -p benchmarks -- bench_encoding | ||
ANALYTIC_BENCH_CONFIG_PATH=/path/to/config cargo bench --bench bench -p benchmarks -- bench_encoding | ||
``` |
File renamed without changes.