(criterion_dir: Path, estimates_path: Path)
| 11 | |
| 12 | |
| 13 | def bench_name(criterion_dir: Path, estimates_path: Path) -> str: |
| 14 | rel = estimates_path.relative_to(criterion_dir) |
| 15 | # strip trailing new/estimates.json |
| 16 | parts = rel.parts[:-2] |
| 17 | return "/".join(parts) |
| 18 | |
| 19 | |
| 20 | def main(): |