19 Star 93 Fork 35

Gitee 极速下载 / Hugo-Go

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/gohugoio/hugo
克隆/下载
benchSite.sh 529 Bytes
一键复制 编辑 原始数据 按行查看 历史
Phil Davis 提交于 2020-12-16 16:56 . all: Fix minor typos
#!/bin/bash
# allow user to override go executable by running as GOEXE=xxx make ...
GOEXE="${GOEXE-go}"
# Send in a regexp matching the benchmarks you want to run, i.e. './benchSite.sh "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 mem.prof -count 3 -cpuprofile cpu.prof
1
https://gitee.com/mirrors/Hugo-Go.git
git@gitee.com:mirrors/Hugo-Go.git
mirrors
Hugo-Go
Hugo-Go
master

搜索帮助