summaryrefslogtreecommitdiff
path: root/stress
diff options
context:
space:
mode:
Diffstat (limited to 'stress')
-rwxr-xr-xstress11
1 files changed, 7 insertions, 4 deletions
diff --git a/stress b/stress
index 7ec1a46..e464496 100755
--- a/stress
+++ b/stress
@@ -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"