mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-28 21:01:43 -05:00
Fix BenchmarkCascadeTarget
This commit is contained in:
parent
d16228334d
commit
f4c90bd6ba
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue