Files
pricing_review/run_tests_perf.bat

16 lines
455 B
Batchfile
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@echo off
REM 跑性能/压测基线(打印实测数值;超软阈值仅告警不失败)
REM 规模可调:set PR_PERF_BILLS=15000 复现 15230 清单案例
set VENV_PY=C:\Users\MZ\pyenvs\pricing-review\Scripts\python.exe
cd /d %~dp0CostReview
%VENV_PY% -m pytest -m perf -q -s --tb=short -p no:cacheprovider
if errorlevel 1 (
echo.
echo [run_tests_perf] PERF TESTS FAILED
pause
exit /b 1
)
echo.
echo [run_tests_perf] PERF TESTS DONE
pause