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:
Michael Mikovsky
2026-04-25 12:56:29 -06:00
parent 16164354e3
commit 4f0042411d
8 changed files with 240 additions and 46 deletions
@@ -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}");
}