-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun_benchmarks.bat
More file actions
36 lines (30 loc) · 972 Bytes
/
run_benchmarks.bat
File metadata and controls
36 lines (30 loc) · 972 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
@echo off
setlocal
echo RPC Benchmark Suite
echo ==================
:: Simply pass all arguments directly to the Python script
python run_benchmarks.py %*
if %errorlevel% neq 0 (
echo Error running benchmarks. Exiting.
exit /b %errorlevel%
)
echo.
echo Benchmarks completed. Generating report...
python generate_report.py --results-dir benchmark_results\latest
if %errorlevel% neq 0 (
echo Error generating report. Exiting.
exit /b %errorlevel%
)
echo.
echo View results with:
echo python view_results.py --results-dir benchmark_results\latest
echo python view_results.py --results-dir benchmark_results\latest --implementation rpyc
echo python view_results.py --results-dir benchmark_results\latest --test test_benchmark_simple_call
echo.
echo Generating dashboard...
python benchmark_dashboard.py --results-dir benchmark_results\latest
if %errorlevel% neq 0 (
echo Error generating dashboard. Exiting.
exit /b %errorlevel%
)
endlocal