Your browser sucks, JavaScript disabled! Gunnar's console needs JavaScript and WebAssembly. Git over SSH on port 2222 does not.

nordisk/knut

xtask/benches/nornir.rs

//! `cargo bench -p xtask` shim for the nornir bench suite.
//!
//! The suite is defined once in `examples/nornir-bench.rs` (run by
//! `nornir bench run` via `cargo run --example`). A `[[bench]]` target is a
//! separate binary, so it must link the same `register_bench!` registrations —
//! we get that by `#[path]`-including the example source. `inventory` then
//! collects every bencher into this binary too.
#[allow(dead_code)]
#[path = "../examples/nornir-bench.rs"]
mod suite;

fn main() -> anyhow::Result<()> {
    nornir_bench::api::run_main_json()
}