From 4e00bb7fdda73ebbab66c025bd84a4806ccc2c8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Fri, 2 Jun 2017 09:21:51 +0200 Subject: [PATCH] Write CPU and mem profiles from site benchmark script --- benchSite.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchSite.sh b/benchSite.sh index 78a01c6ab..8130559f5 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