mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
hugolib: Add some more tags to benchmark
This commit is contained in:
@@ -71,7 +71,7 @@ func BenchmarkSiteBuilding(b *testing.B) {
|
|||||||
conf.RootSections = rootSections
|
conf.RootSections = rootSections
|
||||||
for _, numTags := range []int{0, 1, 10, 20, 50, 100, 500, 1000, 5000} {
|
for _, numTags := range []int{0, 1, 10, 20, 50, 100, 500, 1000, 5000} {
|
||||||
conf.NumTags = numTags
|
conf.NumTags = numTags
|
||||||
for _, tagsPerPage := range []int{0, 1, 5, 20} {
|
for _, tagsPerPage := range []int{0, 1, 5, 20, 50, 80} {
|
||||||
conf.TagsPerPage = tagsPerPage
|
conf.TagsPerPage = tagsPerPage
|
||||||
for _, numPages := range []int{1, 10, 100, 500, 1000, 5000, 10000} {
|
for _, numPages := range []int{1, 10, 100, 500, 1000, 5000, 10000} {
|
||||||
conf.NumPages = numPages
|
conf.NumPages = numPages
|
||||||
|
Reference in New Issue
Block a user