diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-03-13 11:55:57 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-03-13 11:58:38 +0200 |
commit | 10ba53bafa8555b7dd238902e81e12e151e63518 (patch) | |
tree | 36efd96538f82409449971cacc25a270f5d35afe /stress | |
parent | c2debdaafbf00f10922164fc8d4e2c56232f0fec (diff) | |
download | subplot-10ba53bafa8555b7dd238902e81e12e151e63518.tar.gz |
Change: ./stress to print more tabular results
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" |