Run benchmarks 3 times

This commit is contained in:
Bjørn Erik Pedersen 2018-01-14 00:49:01 +01:00
parent 4dac1781e3
commit b6ea6d07d0
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F

View file

@ -9,4 +9,4 @@ GOEXE="${GOEXE-go}"
echo "Running with BenchmarkSiteBuilding/${1}" echo "Running with BenchmarkSiteBuilding/${1}"
"${GOEXE}" test -run="NONE" -bench="BenchmarkSiteBuilding/${1}" -test.benchmem=true ./hugolib -memprofile mem.prof -cpuprofile cpu.prof "${GOEXE}" test -run="NONE" -bench="BenchmarkSiteBuilding/${1}" -test.benchmem=true ./hugolib -memprofile mem.prof -count 3 -cpuprofile cpu.prof