Files
unshell/examples/protocol/bench/op_hook_data_receive.rs
T

11 lines
320 B
Rust
Raw Normal View History

//! Standalone benchmark binary for `hook_data_receive`.
2026-04-25 14:46:59 -06:00
#[path = "support/bench_common.rs"]
2026-04-25 12:56:29 -06:00
mod common;
fn main() {
let iterations = common::iterations_from_args(1_000);
2026-04-25 13:04:24 -06:00
let checksum = common::run_hook_data_receive(iterations);
println!("hook_data_receive iterations={iterations} checksum={checksum}");
2026-04-25 12:56:29 -06:00
}