Skip to main content

Module baseline

Module baseline 

Source
Expand description

Baseline storage for benchmark results.

In 0.1.x, baselines were passed in as inline Option<Duration>. 0.4.x+ lifts that constraint: baselines can be persisted to and loaded from disk via the BaselineStore trait. The default backend is JsonFileBaselineStore, which writes one JSON file per (scope, name) key with atomic write-temp-rename semantics.

Structs§

Baseline
Persisted baseline for a single benchmark.
JsonFileBaselineStore
Filesystem-backed JSON baseline store.

Traits§

BaselineStore
A storage backend for benchmark baselines.