1
0
Fork 0
mirror of https://github.com/gohugoio/hugo.git synced 2025-04-13 18:14:32 +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