mirror of
https://github.com/Astatin3/unshell.git
synced 2026-06-08 22:38:01 -06:00
4f0042411d
Factor the benchmark scenarios into standalone example binaries that can be traced directly without cargo run, and simplify the hot call and hook lookup paths using the benchmark output as guidance.
9 lines
242 B
Rust
9 lines
242 B
Rust
#[path = "support/protocol_bench_common.rs"]
|
|
mod common;
|
|
|
|
fn main() {
|
|
let iterations = common::iterations_from_args(1_000);
|
|
common::run_forward_call_receive(iterations);
|
|
println!("forward_call_receive iterations={iterations}");
|
|
}
|