2022-11-20 20:25:46 +08:00
|
|
|
function run {
|
2023-01-25 20:13:36 +08:00
|
|
|
python3.11.exe -OO DR.py
|
2022-11-20 20:25:46 +08:00
|
|
|
}
|
|
|
|
function viz_run {
|
2023-01-25 20:13:36 +08:00
|
|
|
python3.11 -OO -m viztracer --output_file ./logs/viz_result.json --open --tracer_entries 10000000 DR.py
|
2022-11-20 20:25:46 +08:00
|
|
|
}
|
|
|
|
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
|
|
|
}
|
2023-01-25 20:13:36 +08:00
|
|
|
pause
|