Age | Commit message (Collapse) | Author |
|
|
|
|
|
Now running `./benchSite.sh` should give a good baseline.
|
|
Add a variable to the makefile and benchmark scripts to let users change the command used to build. Doesn't impact tools like govendor.
|
|
|
|
So you can do and get:
```
▶ ./benchSite.sh "YAML,num_pages=10"
Running with BenchmarkSiteBuilding/YAML,num_pages=10
BenchmarkSiteBuilding/YAML,num_pages=10-4 1000 1611261 ns/op 730749 B/op 6458 allocs/op
PASS
ok github.com/spf13/hugo/hugolib 8.168s
```
|
|
And change site benchmark separator to comma to make it Bash and regexp friendly, example:
./benchSite.sh "frontmatter=YAML,num_root_sections=1,num_pages=.*,tags_per_page=20,shortcodes=false,render=false"
|