Skip to main content

Crate bake_benchmark

Crate bake_benchmark 

Source
Expand description

Bake tasks for the shared Base benchmark tooling.

Each task translates its arguments into a base_benchmark::Workspace operation. Preparation, collection, locking, cleanup, validation, summaries, and every default are implemented once, in base-benchmark; the base-benchmark command calls the same operations.

Functionsยง

list
List workspace packages that declare [package.metadata.base-benchmark] scenarios, including unpublished packages, with resolved scenario defaults. Nothing is built or run.
list_task
Generated Bake task descriptor.
prepare
Build labelled source trees with identical settings and freeze their executables. The first tree is the baseline; without trees, the current workspace is built.
prepare_task
Generated Bake task descriptor.
run
Collect a scenario from prepared artifacts in seeded random rounds under the host lock. The report is written to stderr; the result describes the campaign directory, evidence class, and warnings.
run_task
Generated Bake task descriptor.
smoke
Build the current workspace and run every scenario once with its smoke arguments. Smoke results are not performance evidence.
smoke_task
Generated Bake task descriptor.
summarize
Regenerate summary.json from the raw samples of a complete campaign.
summarize_task
Generated Bake task descriptor.