Fetching contributors…
Cannot retrieve contributors at this time
executable file 13 lines (8 sloc) 529 Bytes
# allow user to override go executable by running as GOEXE=xxx make ...
# Send in a regexp mathing the benchmarks you want to run, i.e. './ "YAML"'.
# Note the quotes, which will be needed for more complex expressions.
# The above will run all variations, but only for front matter YAML.
echo "Running with BenchmarkSiteBuilding/${1}"
"${GOEXE}" test -run="NONE" -bench="BenchmarkSiteBuilding/${1}" -test.benchmem=true ./hugolib -memprofile -count 3 -cpuprofile