ref: ddd75f212110a3d6643a07301e377415f3d163bd
parent: 4ed6ebef4ca71572a19bb890cb4c026a688b2b5b
author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
date: Mon Jan 13 11:47:10 EST 2020
hugolib: Some more benchmark adjustments
--- a/hugolib/site_benchmark_new_test.go
+++ b/hugolib/site_benchmark_new_test.go
@@ -278,9 +278,13 @@
{{ len .Sections }}
{{ len .Pages }}
{{ len .RegularPages }}
+{{ len .Resources }}
{{ len site.RegularPages }}
{{ len site.Pages }}
-
+{{ with .NextInSection }}Next in section: {{ .RelPermalink }}{{ end }}
+{{ with .PrevInSection }}Prev in section: {{ .RelPermalink }}{{ end }}
+{{ with .Next }}Next: {{ .RelPermalink }}{{ end }}
+{{ with .Prev }}Prev: {{ .RelPermalink }}{{ end }}
`
sb := newTestSitesBuilder(b).WithConfigFile("toml", `