projects
/
brevno-suite
/
hugo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdcfcce
)
Write CPU and mem profiles from site benchmark script
author
Bjørn Erik Pedersen
<bjorn.erik.pedersen@gmail.com>
Fri, 2 Jun 2017 07:21:51 +0000
(09:21 +0200)
committer
Bjørn Erik Pedersen
<bjorn.erik.pedersen@gmail.com>
Fri, 2 Jun 2017 07:38:09 +0000
(09:38 +0200)
benchSite.sh
patch
|
blob
|
history
diff --git
a/benchSite.sh
b/benchSite.sh
index 78a01c6ab836401b8bf276bc1ad8262278f4a389..8130559f5d413fc925ef2e8099167bc7208ccf8c 100755
(executable)
--- 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