Skip to main content

Module benchmark

Module benchmark 

Source
Expand description

Benchmarks: one device’s, and one timed on several devices at once.

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.
MultiDeviceDurations
Every sample of a multi-device benchmark, per member, slowest member and wall.
MultiDeviceRun
benchmark timed on every one of clients, member i being clients[i].
MultiDeviceSample
One execution’s durations: each member’s window on its own stream, and the wall around all.
ProfileDuration
Result from profiling between two measurements. This can either be a duration or a future that resolves to a duration.

Enums§

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.