Load a single benchmark config by name.
(name: str)
| 46 | |
| 47 | |
| 48 | def load_config(name: str) -> dict: |
| 49 | """Load a single benchmark config by name.""" |
| 50 | _require_yaml() |
| 51 | path = CONFIGS_DIR / f"{name}.yaml" |
| 52 | with open(path) as f: |
| 53 | return yaml.safe_load(f) |
| 54 | |
| 55 | |
| 56 | def load_all_configs() -> list[dict]: |
no test coverage detected