Skip to main content

Module baseline

Module baseline 

Source
Expand description

Baseline records and their on-disk store.

A baseline stores not just a CU figure but the fingerprint metadata needed to decide whether a later comparison is still valid.

Structs§

BaselineComparison
The result of comparing a current run to a baseline.
BaselineRecord
A single scenario’s recorded baseline.
BaselineStore
A collection of baseline records keyed by scenario name. Serialized as a stable, sorted JSON object.
Fingerprint
The fingerprint of the inputs that produced a measurement. If any component changes, a stored baseline is considered stale for the affected reason.

Functions§

hash_bytes
FNV-1a hash of bytes, rendered as lowercase hex.
hash_str
FNV-1a hash of a string.