(command: Iterable[str])
| 82 | |
| 83 | |
| 84 | def timed_run(command: Iterable[str]) -> float: |
| 85 | start = time.perf_counter() |
| 86 | try: |
| 87 | subprocess.run(command, cwd=REPO_ROOT, check=True) |
| 88 | except subprocess.CalledProcessError as exc: |
| 89 | raise RuntimeError(f"command failed: {' '.join(command)}") from exc |
| 90 | return time.perf_counter() - start |
| 91 | |
| 92 | |
| 93 | def cargo_build(profile: str) -> float: |
no test coverage detected
searching dependent graphs…