bench_ping_pong

Function bench_ping_pong 

Source
pub(crate) async fn bench_ping_pong(
    transport: ChannelTransport,
    num_iterations: usize,
    message_size: usize,
) -> Result<Duration>
Expand description

Run a single in-process ping-pong benchmark, returning total elapsed time.