Simplify Site benchmarks

Now running `./benchSite.sh` should give a good baseline.
This commit is contained in:
Bjørn Erik Pedersen
2017-10-18 16:46:55 +02:00
parent ad5ef43838
commit c3c10f2c7c
2 changed files with 44 additions and 9 deletions

View File

@@ -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 -cpuprofile cpu.prof