author | Alberto Bertogli
<albertito@blitiri.com.ar> 2022-09-25 02:24:21 UTC |
committer | Alberto Bertogli
<albertito@blitiri.com.ar> 2022-10-07 10:59:43 UTC |
parent | a5ec3c0a0d8835a4ed83231d2f9139ae3e3f9dc4 |
test/perf/perf.sh | +3 | -3 |
diff --git a/test/perf/perf.sh b/test/perf/perf.sh index e887eb3..54b83b9 100755 --- a/test/perf/perf.sh +++ b/test/perf/perf.sh @@ -35,16 +35,16 @@ snoop for s in 1k 10k 100k 250k 500k 1M 10M; do echo "### Size: $s" - truncate -s $s testdata/dir/perf-$s + yes y | head -c $s > testdata/dir/perf-$s.txt echo "#### gofer" - runwrk "http://localhost:8450/perf-$s" + runwrk "http://localhost:8450/perf-$s.txt" mv wrkout.csv .perf-out/gofer-$s.csv echo snoop echo "#### nginx" - runwrk "http://localhost:8077/perf-$s" + runwrk "http://localhost:8077/perf-$s.txt" mv wrkout.csv .perf-out/nginx-$s.csv echo snoop