This commit introduces several performance improvements:
- Optimized `scripts/test_automation.py` by replacing `ProcessPoolExecutor` with sequential execution, reducing CPU overhead for short-lived tasks.
- Optimized `scripts/ci_validate_repo.py` by using `os.walk` and chunked file reading (64KB), improving memory efficiency and traversal speed.
- Optimized `ExpertMAPSARSizeOptimized_Improved.mq5` by implementing 1-second caching for environment API calls (`TerminalInfoInteger`, `MQLInfoInteger`) in the `IsTradingAllowed` hot path.
These changes were verified with benchmarks and existing tests.
Refactored `scripts/test_automation.py` to run independent integration tests in parallel using `concurrent.futures.ProcessPoolExecutor`.
* 💡 **What:** Used `ProcessPoolExecutor` to run tests concurrently.
* 🎯 **Why:** To improve test suite performance.
* 📊 **Measured Improvement:** ~30% faster (3.3s -> 2.25s).
* **Details:** Used processes instead of threads to ensure `contextlib.redirect_stdout` works correctly for each test without interference.
- AUTOMATION_FEATURES.md with comprehensive feature overview
- Integration test suite for verifying all scripts
- Logs directory README for documentation
- All tests passing successfully
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>