pub struct Position {
pub backend: String,
pub version: String,
pub config: Config,
pub places: Vec<Option<(usize, u64)>>,
pub dominated_by: Vec<String>,
}Expand description
One backend’s place in each of several workloads, side by side, in one environment. There is no combined score: how much each workload matters is the consumer’s call, so the places are shown and never summed.
Fields§
§backend: StringBackend name.
version: StringBackend version.
config: ConfigBackend configuration.
places: Vec<Option<(usize, u64)>>One entry per workload of the Profile, same order: Some((place, p50_ns)) with place 1 for
the fastest median (ties by name), None where the backend has no number for that workload
(excluded or not measured).
dominated_by: Vec<String>Backends that are at least as fast on every workload and strictly faster on one (“backend version”). Only judged between backends with a number on every workload; empty for one that lacks a number somewhere. A backend nobody dominates is on the Pareto front: no other is better everywhere.