mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
parent
c84ad8db82
commit
21fa1e86f2
1 changed files with 2 additions and 1 deletions
|
@ -170,7 +170,8 @@ date: "2018-02-28"
|
||||||
func BenchmarkMergeByLanguage(b *testing.B) {
|
func BenchmarkMergeByLanguage(b *testing.B) {
|
||||||
const count = 100
|
const count = 100
|
||||||
|
|
||||||
builder := newTestSiteForLanguageMerge(b, count)
|
// newTestSiteForLanguageMerge creates count+1 pages.
|
||||||
|
builder := newTestSiteForLanguageMerge(b, count-1)
|
||||||
builder.CreateSites()
|
builder.CreateSites()
|
||||||
builder.Build(BuildCfg{SkipRender: true})
|
builder.Build(BuildCfg{SkipRender: true})
|
||||||
h := builder.H
|
h := builder.H
|
||||||
|
|
Loading…
Reference in a new issue