mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-16 20:53:59 +02:00
Run benchmarks 3 times
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user