shithub: hugo

Download patch

ref: 250ebc1db5be13063878b178eaad11c4361b7a9d
parent: b37d95940885c6c671bf12a741de6bcb5b2176dc
author: Bjørn Erik Pedersen <[email protected]>
date: Fri Jun 2 14:40:10 EDT 2017

hugolib: Add some more tags to benchmark

--- a/hugolib/site_benchmark_test.go
+++ b/hugolib/site_benchmark_test.go
@@ -71,7 +71,7 @@
 			conf.RootSections = rootSections
 			for _, numTags := range []int{0, 1, 10, 20, 50, 100, 500, 1000, 5000} {
 				conf.NumTags = numTags
-				for _, tagsPerPage := range []int{0, 1, 5, 20} {
+				for _, tagsPerPage := range []int{0, 1, 5, 20, 50, 80} {
 					conf.TagsPerPage = tagsPerPage
 					for _, numPages := range []int{1, 10, 100, 500, 1000, 5000, 10000} {
 						conf.NumPages = numPages