Reads a ntfs or a gtfs and performs random journey queries between stop areas.
The loki_random
binary perform random queries on a provided dataset.
It is useful for benchmarking.
See the sample config file for configuration options.
Run with
cargo run --release -- path/to/config.toml
You can obtain more logs by setting the environment variable RUST_LOG
the appropriate log level.
For example :
RUST_LOG=TRACE cargo run --release -- path/to/config.toml
The allowed log levels are TRACE, DEBUG, INFO, WARN, ERROR
.
You can disable a log level at compile time by specifying features for the log crate in Cargo.toml, see the log documentation for more details.
Install flamegraph-rs and launch
cargo flamegraph --bin loki_random -- path/to/config.toml