pub enum SubMsFeatureCategory {
HotPath,
Structural,
Auxiliary,
Reported,
Indeterminate,
}Expand description
How a feature relates to the latency claim. The bench decides this from a size sweep; the string form is the manifest wire value + the UI enum.
Variants§
HotPath
Per-op, size-independent latency -> a measured p99 claim.
Structural
O(n) whole-structure op -> excluded from the per-op sub-ms claim.
Auxiliary
No hot-path workload, or a measured non-effect -> capability, no claim.
Reported
Flat and per-op, but above the sub-ms claim line -> REPORTED, not claimed.
Distinct from Structural, which means O(n): an op can be genuinely
size-independent and still cost 30 ms. Without this the classifier had no
upper bound at all and published such a figure as a per-op claim.
Indeterminate
The measurement cannot separate this feature from the guard that would decide it -> no category, and the reason says which test was too close.
Not a failure. A feature that genuinely costs about what the base op costs has no true side of a 10% line, and picking one produces a verdict that flips between runs of unchanged code while looking authoritative.
Implementations§
Trait Implementations§
Source§impl Clone for SubMsFeatureCategory
impl Clone for SubMsFeatureCategory
Source§fn clone(&self) -> SubMsFeatureCategory
fn clone(&self) -> SubMsFeatureCategory
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more