1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00

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