From: Bjørn Erik Pedersen Date: Tue, 12 Mar 2019 19:27:50 +0000 (+0100) Subject: hugolib: Adjust site benchmark X-Git-Tag: v0.55.0~52 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=34c49d788c102a370006e476d6f6143a51b2a03d;p=brevno-suite%2Fhugo hugolib: Adjust site benchmark Having all the pages with shortcodes isn't realistic. --- diff --git a/hugolib/site_benchmark_test.go b/hugolib/site_benchmark_test.go index d30d30a8..7fb46235 100644 --- a/hugolib/site_benchmark_test.go +++ b/hugolib/site_benchmark_test.go @@ -259,7 +259,7 @@ weight = %d if cfg.Shortcodes { contentPagesContent = [3]string{ - someMarkdownWithShortCode, + someMarkdown, strings.Repeat(someMarkdownWithShortCode, 2), strings.Repeat(someMarkdownWithShortCode, 3), }