diff options
Diffstat (limited to 'stress')
-rwxr-xr-x | stress | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -2,8 +2,14 @@ set -eu -NSCEN="$1" -NSTEP="$2" +NSCEN=1000 +NSTEP=100 + +if [ "$#" = 2 ] +then + NSCEN="$1" + NSTEP="$2" +fi ts() { local start="$1" @@ -19,5 +25,8 @@ echo "generate: $(ts "$start")" cargo run -q --bin sp-docgen -- s.md -o s.pdf echo "docgen: $(ts "$start")" -cargo run -q --bin sp-codegen -- s.md -o test.py --run > /dev/null +cargo run -q --bin sp-codegen -- s.md -o test.py echo "codegen: $(ts "$start")" + +python3 ./test.py > /dev/null +echo "run: $(ts "$start")" |