Skip to main content

Crate hypobench_harness

Crate hypobench_harness 

Source
Expand description

Custom harness runtime for hypobench

This replaces criterion’s default harness with an HTTP-controlled one. The harness exposes benchmark functions via HTTP endpoints, allowing external orchestration of benchmark execution.

Structs§

BenchmarkRegistry
Registry of discovered benchmarks.

Functions§

run_harness
Run the harness HTTP server.
run_harness_async
Async implementation of the harness server.

Type Aliases§

BenchmarkFn
A benchmark function that runs n inner iterations and returns total elapsed.