Expand description
Module for benchmark timings
Structs§
- Benchmark
Computations - Computed values from benchmark durations.
- Benchmark
Durations - Results of a benchmark run.
- Benchmark
Result - Result of a benchmark run, with metadata
- Instant
- A measurement of a monotonically nondecreasing clock.
Opaque and useful only with
Duration
. - Profile
Duration - Result from profiling between two measurements. This can either be a duration or a future that resolves to a duration.
Enums§
- Timing
Method - 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.