mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
Write CPU and mem profiles from site benchmark script
This commit is contained in:
parent
fdcfccedcb
commit
4e00bb7fdd
1 changed files with 1 additions and 1 deletions
|
@ -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
|
Loading…
Reference in a new issue