test_check_ok_perf.py python
17 lines 484 B
Raw
sha256:106ef9e12cca7f3be3ffb2a6bd3abfa76f032dce453c9e5010d732a8d86f2e14 Reconcile reviewed credential compatibility 32254cd939885d9… Human patch 8 days ago
1 """Performance — scaffold completes within a local budget."""
2
3 from __future__ import annotations
4
5 import time
6 from datetime import date
7 from pathlib import Path
8
9 from tools.check_ok.scaffold import scaffold_side_check
10
11
12 def test_scaffold_under_budget(tmp_path: Path) -> None:
13 start = time.perf_counter()
14 for i in range(20):
15 scaffold_side_check(tmp_path, topic=f"perf-{i}", today=date(2026, 7, 17))
16 elapsed = time.perf_counter() - start
17 assert elapsed < 2.0
File History 2 commits
sha256:106ef9e12cca7f3be3ffb2a6bd3abfa76f032dce453c9e5010d732a8d86f2e14 Reconcile reviewed credential compatibility 32254cd939885d9… Human patch 8 days ago
sha256:c87cf2c2f03da507f66f93922cb339a2cbebb33ad6372a6039032fb09a20da12 Reconcile reviewed Overseer recovery d47291d5d9030de5ebef71… Human minor ⚠ 9 days ago