Write CPU and mem profiles from site benchmark script

This commit is contained in:
Bjørn Erik Pedersen 2017-06-02 09:21:51 +02:00
parent fdcfccedcb
commit 4e00bb7fdd

View file

@ -6,4 +6,4 @@
echo "Running with BenchmarkSiteBuilding/${1}"
go test -run="NONE" -bench="BenchmarkSiteBuilding/${1}$" -test.benchmem=true ./hugolib
go test -run="NONE" -bench="BenchmarkSiteBuilding/${1}$" -test.benchmem=true ./hugolib -memprofile mem.prof -cpuprofile cpu.prof