Adjust benchmarks - hugo - [fork] hugo port for 9front
HTML git clone git@git.drkhsh.at/hugo.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit 6a09e7f28e0d779aed504379e8eb486c9da9040a
DIR parent 29e5cbb699c691f8c4b67080e3f57ca1d2509d8c
HTML Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date: Mon, 12 Jun 2023 16:06:11 +0200
Adjust benchmarks
Diffstat:
M helpers/url_test.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
DIR diff --git a/helpers/url_test.go b/helpers/url_test.go
@@ -269,7 +269,7 @@ func TestSanitizeURL(t *testing.T) {
func BenchmarkRelURL(b *testing.B) {
v := config.New()
- v.Set("baseURL", "http://base/")
+ v.Set("baseURL", "https://base/")
p := newTestPathSpecFromCfgAndLang(v, "")
b.ResetTimer()
for i := 0; i < b.N; i++ {
@@ -279,7 +279,7 @@ func BenchmarkRelURL(b *testing.B) {
func BenchmarkAbsURL(b *testing.B) {
v := config.New()
- v.Set("baseURL", "http://base/")
+ v.Set("baseURL", "https://base/")
p := newTestPathSpecFromCfgAndLang(v, "")
b.ResetTimer()
b.Run("relurl", func(b *testing.B) {