diff options
Diffstat (limited to 'stress')
-rwxr-xr-x | stress | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -20,13 +20,16 @@ ts() { start="$(ts 0)" ./stressgen s "$NSCEN" "$NSTEP" -echo "generate: $(ts "$start")" +gen="$(ts "$start")" cargo run -q --bin sp-docgen -- s.md -o s.pdf -echo "docgen: $(ts "$start")" +doc="$(ts "$start")" cargo run -q --bin sp-codegen -- s.md -o test.py -echo "codegen: $(ts "$start")" +code="$(ts "$start")" python3 ./test.py > /dev/null -echo "run: $(ts "$start")" +run="$(ts "$start")" + +printf "| %8d | %8d | %8d | %8d | %8d | %8d |\n" \ + "$NSCEN" "$NSTEP" "$gen" "$doc" "$code" "$run" |