From: Bjørn Erik Pedersen Date: Fri, 2 Jun 2017 07:21:51 +0000 (+0200) Subject: Write CPU and mem profiles from site benchmark script X-Git-Tag: v0.22~28 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=4e00bb7fdda73ebbab66c025bd84a4806ccc2c8c;p=brevno-suite%2Fhugo Write CPU and mem profiles from site benchmark script --- diff --git a/benchSite.sh b/benchSite.sh index 78a01c6a..8130559f 100755 --- a/benchSite.sh +++ b/benchSite.sh @@ -6,4 +6,4 @@ echo "Running with BenchmarkSiteBuilding/${1}" -go test -run="NONE" -bench="BenchmarkSiteBuilding/${1}$" -test.benchmem=true ./hugolib \ No newline at end of file +go test -run="NONE" -bench="BenchmarkSiteBuilding/${1}$" -test.benchmem=true ./hugolib -memprofile mem.prof -cpuprofile cpu.prof \ No newline at end of file