Skip to main content

Module init

Module init 

Source
Expand description

Benchmark discovery and config generation for perfgate init.

Scans a repository to detect benchmark targets and generates a perfgate.toml configuration file.

Structs§

DiscoveredBench
A benchmark discovered by scanning the repository.

Enums§

BenchSource
How a benchmark was discovered.
CiPlatform
CI platform for workflow scaffolding.
Preset
Budget preset for config generation.

Functions§

ci_workflow_path
Return the default CI workflow file path for a platform.
discover_benchmarks
Scan root for benchmarks. Does not recurse into hidden or target dirs.
generate_config
Build a ConfigFile from discovered benchmarks and a preset.
render_config_toml
Render a ConfigFile to a well-commented TOML string.
scaffold_ci
Generate CI workflow content for the given platform.