Module benchmark

Source
Expand description

Module for benchmarking any executable part

Structs§

BenchmarkComputations
Computed values from benchmark durations.
BenchmarkDurations
Results of a benchmark run.
BenchmarkResult
Result of a benchmark run, with metadata

Enums§

ProfileDuration
Result from profiling between two measurements. This can either be a duration or a future that resolves to a duration.
TimingMethod
How a benchmark’s execution times are measured.

Traits§

Benchmark
Benchmark trait.

Functions§

run_benchmark
Runs the given benchmark on the device and prints result and information.