perf(tests): add ASV benchmarks for test suite runtime regression tracking #503

Merged
freemo merged 1 commit from perf/asv-test-runtime-benchmarks into master 2026-03-02 14:30:00 +00:00
Owner

Summary

Add 3 ASV benchmark modules (11 benchmark classes) to track test suite performance over time and enable CI-driven regression detection.

  • bench_unit_tests.py: Feature discovery, step module loading, parallel chunk computation, behave config parsing, test suite metrics tracking
  • bench_coverage_report.py: Coverage config extraction, report parsing, file I/O benchmarks
  • bench_subprocess_overhead.py: Subprocess count tracking, per-feature overhead, worker pool sizing

Uses setattr() pattern for ASV track_*.unit attribute annotations to comply with the project no-type-ignore policy.

Quality Gates

  • lint: PASS
  • typecheck: PASS
  • unit_tests: PASS (7510 scenarios)
  • integration_tests: PASS (pre-existing failures only)
  • coverage_report: PASS (98%)

Closes #486

## Summary Add 3 ASV benchmark modules (11 benchmark classes) to track test suite performance over time and enable CI-driven regression detection. - bench_unit_tests.py: Feature discovery, step module loading, parallel chunk computation, behave config parsing, test suite metrics tracking - bench_coverage_report.py: Coverage config extraction, report parsing, file I/O benchmarks - bench_subprocess_overhead.py: Subprocess count tracking, per-feature overhead, worker pool sizing Uses setattr() pattern for ASV track_*.unit attribute annotations to comply with the project no-type-ignore policy. ### Quality Gates - lint: PASS - typecheck: PASS - unit_tests: PASS (7510 scenarios) - integration_tests: PASS (pre-existing failures only) - coverage_report: PASS (98%) Closes #486
perf(tests): add ASV benchmarks for test suite runtime regression tracking
All checks were successful
CI / benchmark-publish (pull_request) Has been skipped
CI / build (pull_request) Successful in 17s
CI / lint (pull_request) Successful in 18s
CI / quality (pull_request) Successful in 18s
CI / typecheck (pull_request) Successful in 34s
CI / security (pull_request) Successful in 37s
CI / unit_tests (pull_request) Successful in 3m12s
CI / integration_tests (pull_request) Successful in 4m51s
CI / docker (pull_request) Successful in 40s
CI / coverage (pull_request) Successful in 4m19s
CI / benchmark-regression (pull_request) Successful in 23m16s
8683f36817
Add ASV benchmark modules to track test suite performance over time:
- bench_unit_tests.py: Feature discovery, step module loading, parallel
  chunk computation, behave config parsing, and test suite metrics
- bench_coverage_report.py: Coverage collection pipeline timing and
  report generation overhead
- bench_subprocess_overhead.py: Subprocess count tracking and per-feature
  startup cost measurement

These benchmarks establish baselines for the post-optimization state
and enable CI-driven regression detection.

ISSUES CLOSED: #486
freemo added this to the v3.2.0 milestone 2026-03-02 07:59:22 +00:00
freemo force-pushed perf/asv-test-runtime-benchmarks from 8683f36817
All checks were successful
CI / benchmark-publish (pull_request) Has been skipped
CI / build (pull_request) Successful in 17s
CI / lint (pull_request) Successful in 18s
CI / quality (pull_request) Successful in 18s
CI / typecheck (pull_request) Successful in 34s
CI / security (pull_request) Successful in 37s
CI / unit_tests (pull_request) Successful in 3m12s
CI / integration_tests (pull_request) Successful in 4m51s
CI / docker (pull_request) Successful in 40s
CI / coverage (pull_request) Successful in 4m19s
CI / benchmark-regression (pull_request) Successful in 23m16s
to 69f5b2e3e6
Some checks failed
CI / benchmark-publish (pull_request) Has been skipped
CI / lint (pull_request) Successful in 14s
CI / quality (pull_request) Successful in 16s
CI / build (pull_request) Successful in 16s
CI / typecheck (pull_request) Successful in 33s
CI / security (pull_request) Successful in 45s
CI / unit_tests (pull_request) Successful in 1m52s
CI / docker (pull_request) Successful in 9s
CI / integration_tests (pull_request) Successful in 2m57s
CI / coverage (pull_request) Successful in 3m31s
CI / benchmark-regression (pull_request) Successful in 23m16s
CI / lint (push) Successful in 13s
CI / quality (push) Successful in 16s
CI / build (push) Successful in 19s
CI / security (push) Successful in 29s
CI / typecheck (push) Successful in 34s
CI / benchmark-regression (push) Has been skipped
CI / unit_tests (push) Successful in 1m49s
CI / docker (push) Successful in 38s
CI / integration_tests (push) Successful in 2m46s
CI / coverage (push) Successful in 3m38s
CI / benchmark-publish (push) Has been cancelled
2026-03-02 14:06:07 +00:00
Compare
freemo scheduled this pull request to auto merge when all checks succeed 2026-03-02 14:08:53 +00:00
freemo merged commit 69f5b2e3e6 into master 2026-03-02 14:30:00 +00:00
freemo deleted branch perf/asv-test-runtime-benchmarks 2026-03-02 14:30:01 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
cleveragents/cleveragents-core!503
No description provided.