mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 02:16:09 +00:00
hugolib: Add some more tags to benchmark
This commit is contained in:
1 parent
b37d959408
commit
250ebc1db5
1 file changed
+1
-1
@@ -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