Document examples and add local remote shell endpoint demo

This commit is contained in:
Michael Mikovsky
2026-04-26 11:25:46 -06:00
parent f332e58e44
commit 2b753685ca
13 changed files with 89 additions and 0 deletions
+5
View File
@@ -1,3 +1,8 @@
//! Protocol benchmark driver.
//!
//! Running the example normally prints the in-process benchmark table. Running it with `tools`
//! builds the standalone operation binaries and feeds them to external profiling tools.
use std::hint::black_box;
use std::path::{Path, PathBuf};
use std::process::Command;
@@ -1,3 +1,5 @@
//! Standalone benchmark binary for `decode_call`.
#[path = "support/bench_common.rs"]
mod common;
@@ -1,3 +1,5 @@
//! Standalone benchmark binary for `encode_call`.
#[path = "support/bench_common.rs"]
mod common;
@@ -1,3 +1,5 @@
//! Standalone benchmark binary for `forward_call_receive`.
#[path = "support/bench_common.rs"]
mod common;
@@ -1,3 +1,5 @@
//! Standalone benchmark binary for `hook_data_receive`.
#[path = "support/bench_common.rs"]
mod common;
@@ -1,3 +1,5 @@
//! Standalone benchmark binary for `local_call_receive`.
#[path = "support/bench_common.rs"]
mod common;
@@ -1,3 +1,8 @@
//! Shared helpers for the standalone benchmark operation binaries.
//!
//! These helpers keep each operation binary tiny while still exposing the same setup and checksum
//! logic to strace, perf, and heaptrack.
#![allow(dead_code)]
use std::hint::black_box;