Run benchmarks 3 times
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sat, 13 Jan 2018 23:49:01 +0000 (00:49 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sat, 13 Jan 2018 23:49:01 +0000 (00:49 +0100)
benchSite.sh

index fcfa12387a0e245712eda535e801650ddcb93e6a..623086708303b8c7c9bffee576869e79ad874197 100755 (executable)
@@ -9,4 +9,4 @@ GOEXE="${GOEXE-go}"
 
 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