mirror of
https://github.com/Astatin3/unshell.git
synced 2026-06-08 22:38:01 -06:00
11 lines
320 B
Rust
11 lines
320 B
Rust
//! Standalone benchmark binary for `hook_data_receive`.
|
|
|
|
#[path = "support/bench_common.rs"]
|
|
mod common;
|
|
|
|
fn main() {
|
|
let iterations = common::iterations_from_args(1_000);
|
|
let checksum = common::run_hook_data_receive(iterations);
|
|
println!("hook_data_receive iterations={iterations} checksum={checksum}");
|
|
}
|