Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 11 lines (8 sloc) 201 Bytes
#!/bin/bash
URLS=/path/to/benchmark_urls.txt
RESULTS=/path/to/benchmark_results.txt
CONCURRENCY=1
AMOUNT=1
while read -r LINE
do /usr/bin/ab -c$CONCURRENCY -n$AMOUNT $LINE >> $RESULTS
done < $URLS