diff options
Diffstat (limited to 'stress')
-rwxr-xr-x | stress | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -17,15 +17,23 @@ ts() { echo "$now - $start" | bc } +docgen() { + cargo run -q --bin sp-docgen -- "$1" -o "$2" +} + +codegen() { + cargo run -q --bin sp-codegen -- "$1" -o "$2" -t templates +} + start="$(ts 0)" ./stressgen s "$NSCEN" "$NSTEP" gen="$(ts "$start")" -cargo run -q --bin sp-docgen -- s.md -o s.pdf +docgen s.md s.pdf doc="$(ts "$start")" -cargo run -q --bin sp-codegen -- s.md -o test.py +codegen s.md test.py code="$(ts "$start")" python3 ./test.py > /dev/null |