Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.15 KB

Readme.md

File metadata and controls

44 lines (31 loc) · 1.15 KB

Loki - Stop Areas

Description

Reads a ntfs or a gtfs and performs random journey queries between stop areas.

Usage

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

Log level

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.

Disable logs at compile-time

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.

Profile with flamegraph

Install flamegraph-rs and launch

cargo flamegraph --bin loki_random -- path/to/config.toml