aboutsummaryrefslogtreecommitdiffhomepage
path: root/benchSite.sh
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2017-06-02 09:21:51 +0200
committerBjørn Erik Pedersen <[email protected]>2017-06-02 09:38:09 +0200
commit4e00bb7fdda73ebbab66c025bd84a4806ccc2c8c (patch)
treef259f9723d071669a1125e6e96c2f9d82f3f7d8f /benchSite.sh
parentfdcfccedcbcec122e754f544efef8732b1928eae (diff)
downloadhugo-4e00bb7fdda73ebbab66c025bd84a4806ccc2c8c.tar.gz
hugo-4e00bb7fdda73ebbab66c025bd84a4806ccc2c8c.zip
Write CPU and mem profiles from site benchmark script
Diffstat (limited to 'benchSite.sh')
-rwxr-xr-xbenchSite.sh2
1 files changed, 1 insertions, 1 deletions
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