You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(test): reduce benchmark execution time from 10+ minutes to <10 seconds
Major performance improvements:
- Remove incorrect build tags that prevented container usage
- Add Docker detection to skip integration benchmarks gracefully in CI
- Fix BenchmarkWorkerPool deadlock with concurrent draining
- Create optimized Makefile targets for different scenarios:
- test-benchmark-ci: 60s timeout, 100ms benchtime (CI default)
- test-benchmark-fast: 30s timeout, 10ms benchtime (quick dev)
- test-benchmark-full: 300s timeout, full runs (local with Docker)
- Update CI workflow to use fast benchmark target with 2-minute timeout
Results:
- CI benchmarks: ~10 seconds (was timing out at 10 minutes)
- Fast benchmarks: ~2 seconds (for rapid development feedback)
- No more NaN results or hanging tests
- Clean separation between unit and integration benchmarks
Fixes the root cause: build tag confusion where files marked !integration
were trying to use integration test infrastructure (SetupTestContainer).
0 commit comments