Skip to main content

Module benchmark

Module benchmark 

Source
Expand description

Reproducible single-case reconstruction benchmarks.

The runner is generic over the existing reconstruction and measurement traits. Calling it once per concrete algorithm avoids a second algorithm registry or trait-object hierarchy.

Structs§

BenchmarkProfile
Stable metadata for a named benchmark profile.
BenchmarkRecord
Serializable summary of one algorithm run on one immutable problem.

Constants§

BENCHMARK_PROFILES
BENCHMARK_RECORD_FORMAT_VERSION
CPU_BENCHMARK_PROFILE
SMOKE_BENCHMARK_PROFILE

Functions§

annotate_benchmark_profile
Adds the selected profile metadata to one benchmark record.
benchmark_profile
run_benchmark_case
Runs one concrete algorithm and always returns a record. Reconstruction or metric failures are stored in record.error; successful reconstruction data is returned separately so callers may inspect or save it.
save_benchmark_outputs
Saves the standard reconstruction artifacts for a benchmark case and adds their paths to the record.
write_benchmark_csv
write_benchmark_json