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(performance): eliminate memory debugging overhead from benchmarks
The 3-4x performance regression was caused by memory optimization environment
variables (PYTHONMALLOC=debug, single-threading) that prevent segfaults but
severely impact benchmark performance.
Changes:
- Remove CI=true/GITHUB_ACTIONS=true from benchmark workflows to avoid memory debugging
- Set optimal performance environment for benchmarks (4 threads vs 1)
- Use direct pytest for benchmarks instead of run_tests.py wrapper
- Keep memory optimizations only for regular tests that need segfault protection
- Maintain consistent text size (100 repetitions) across all environments
This should restore benchmark performance to expected levels while maintaining
segfault protection for regular test runs.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments