shithub: hugo

Download patch

ref: 9fa71c945e761c960c2181ed3ce88395a7c23cac
parent: d25d89e653bceec53666cc9610137f9443551d72
author: Bjørn Erik Pedersen <[email protected]>
date: Wed May 31 10:48:49 EDT 2017

hubolib: Add 10k pages as a benchmark variant

--- a/hugolib/site_benchmark_test.go
+++ b/hugolib/site_benchmark_test.go
@@ -45,7 +45,7 @@
 			conf.RootSections = rootSections
 			for _, tagsPerPage := range []int{0, 1, 5, 20} {
 				conf.TagsPerPage = tagsPerPage
-				for _, numPages := range []int{10, 100, 500, 1000, 5000} {
+				for _, numPages := range []int{10, 100, 500, 1000, 5000, 10000} {
 					conf.NumPages = numPages
 					for _, render := range []bool{false, true} {
 						conf.Render = render