Skip to main content

Crate criterion_hypothesis_harness

Crate criterion_hypothesis_harness 

Source
Expand description

Custom harness runtime for criterion-hypothesis

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.