aboutsummaryrefslogtreecommitdiffhomepage
path: root/benchSite.sh
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2017-10-18 16:46:55 +0200
committerBjørn Erik Pedersen <[email protected]>2017-10-18 16:46:55 +0200
commitc3c10f2c7ce4ee11186f51161943efc8b37a28c9 (patch)
tree0c3db4b81df5b16fcefa352d31ed11a2d3ae7f7f /benchSite.sh
parentad5ef438380d6ecba93b9b01a7893d450f652f72 (diff)
downloadhugo-c3c10f2c7ce4ee11186f51161943efc8b37a28c9.tar.gz
hugo-c3c10f2c7ce4ee11186f51161943efc8b37a28c9.zip
Simplify Site benchmarks
Now running `./benchSite.sh` should give a good baseline.
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 fd088a5ec..fcfa12387 100755
--- a/benchSite.sh
+++ b/benchSite.sh
@@ -9,4 +9,4 @@ GOEXE="${GOEXE-go}"
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 -cpuprofile cpu.prof