Difficult-Rocket/start.ps1

14 lines
255 B
PowerShell
Raw Normal View History

2022-11-20 20:25:46 +08:00
function run {
python3.8.exe -O DR.py
}
function viz_run {
viztracer.exe --output_file ./logs/viz_result.json --open --tracer_entries 10000000 DR.py
}
if ($args -eq "run") {
run
} elseif ($args -eq "viz") {
viz_run
2022-11-26 23:35:49 +08:00
} else {
run
2022-11-20 20:25:46 +08:00
}
pause