Fix BenchmarkCascadeTarget

This commit is contained in:
Bjørn Erik Pedersen 2022-02-16 13:23:43 +01:00
parent d16228334d
commit f4c90bd6ba
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F

View file

@ -63,11 +63,11 @@ kind = '{section,term}'
` `
for i := 1; i < 100; i++ { for i := 1; i < 100; i++ {
files += "\n-- content/posts/p1.md --\n" files += fmt.Sprintf("\n-- content/posts/p%d.md --\n", i+1)
} }
for i := 1; i < 100; i++ { for i := 1; i < 100; i++ {
files += "\n-- content/posts/funny/pf1.md --\n" files += fmt.Sprintf("\n-- content/posts/funny/pf%d.md --\n", i+1)
} }
b.Run("Kind", func(b *testing.B) { b.Run("Kind", func(b *testing.B) {