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