mirror of
https://github.com/Astatin3/unshell.git
synced 2026-06-08 22:38:01 -06:00
Add straceable protocol operation binaries
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.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
#[path = "support/protocol_bench_common.rs"]
|
||||
mod common;
|
||||
|
||||
fn main() {
|
||||
let iterations = common::iterations_from_args(1_000);
|
||||
common::run_local_call_receive(iterations);
|
||||
println!("local_call_receive iterations={iterations}");
|
||||
}
|
||||
Reference in New Issue
Block a user