summaryrefslogtreecommitdiff
path: root/vrsite/bench_test.go
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-08-01 16:18:19 -0300
committerGabriel Schneider <[email protected]>2026-08-01 18:21:40 -0300
commit151ea12251ed876aa87bb486da1bc337e25369e9 (patch)
tree0363d90b5df6fc8b17b1737ef2793ba3825ba4d4 /vrsite/bench_test.go
parent8ec4e135e318c7799b2576a8729493c063da4a97 (diff)
downloadnotevi-151ea12251ed876aa87bb486da1bc337e25369e9.tar.gz
notevi-151ea12251ed876aa87bb486da1bc337e25369e9.zip
Diffstat (limited to 'vrsite/bench_test.go')
-rw-r--r--vrsite/bench_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vrsite/bench_test.go b/vrsite/bench_test.go
index c3eac0c..6e3f907 100644
--- a/vrsite/bench_test.go
+++ b/vrsite/bench_test.go
@@ -268,7 +268,7 @@ func BenchmarkRender(b *testing.B) {
// template execution for an already-rendered file page
func BenchmarkExecute(b *testing.B) {
hl := benchHL(b)
- tpl := newTemplates()
+ tpl := newTemplates(hl)
site := &Site{
Title: "bench", Files: map[string]*File{},
Theme: loadTheme("", "", "dark"), Light: loadTheme("", "", "light"),