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

Merged
freemo merged 1 commits 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
freemo added 1 commit 2026-03-02 07:57:28 +00:00
perf(tests): add ASV benchmarks for test suite runtime regression tracking
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 the
Type
Task
label 2026-03-02 07:58:00 +00:00
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 to 69f5b2e3e6 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
freemo added the
State
Completed
label 2026-03-04 00:41:44 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Reference: cleveragents/cleveragents-core#503