Module benchmark

Source
Expand description

Module for benchmark timings

Re-exports§

pub use crate::profile::TimingMethod;
pub use crate::profile::ProfileDuration;

Structs§

BenchmarkComputations
Computed values from benchmark durations.
BenchmarkDurations
Results of a benchmark run.
BenchmarkResult
Result of a benchmark run, with metadata
Instant
A measurement of a monotonically nondecreasing clock. Opaque and useful only with Duration.

Traits§

Benchmark
Benchmark trait.

Functions§

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