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§
- Discovered
Bench - A benchmark discovered by scanning the repository.
Enums§
- Bench
Source - 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
rootfor benchmarks. Does not recurse into hidden ortargetdirs. - generate_
config - Build a
ConfigFilefrom discovered benchmarks and a preset. - render_
config_ toml - Render a
ConfigFileto a well-commented TOML string. - scaffold_
ci - Generate CI workflow content for the given platform.