diff options
Diffstat (limited to 'stress')
-rwxr-xr-x | stress | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -0,0 +1,23 @@ +#!/bin/sh + +set -eu + +NSCEN=1000 +NSTEP=100 + +ts() { + local start="$1" + local now="$(date +%s)" + echo "$now - $start" | bc +} + +start="$(ts 0)" + +./stressgen s "$NSCEN" "$NSTEP" +echo "generate: $(ts "$start")" + +cargo run -q --bin sp-docgen -- s.md -o s.pdf +echo "docgen: $(ts "$start")" + +cargo run -q --bin sp-codegen -- s.md -o test.py --run > /dev/null +echo "codegen: $(ts "$start")" |