mirror of
https://github.com/gohugoio/hugo.git
synced 2025-03-12 17:02:51 +00:00
Another benchmark rename
This commit is contained in:
parent
5b145ddc4c
commit
e5329f13c0
1 changed files with 2 additions and 0 deletions
|
@ -387,6 +387,8 @@ func BenchmarkSiteNew(b *testing.B) {
|
||||||
name := bm.name
|
name := bm.name
|
||||||
if edit {
|
if edit {
|
||||||
name = "Edit_" + name
|
name = "Edit_" + name
|
||||||
|
} else {
|
||||||
|
name = "Regular_" + name
|
||||||
}
|
}
|
||||||
b.Run(name, func(b *testing.B) {
|
b.Run(name, func(b *testing.B) {
|
||||||
sites := make([]*sitesBuilder, b.N)
|
sites := make([]*sitesBuilder, b.N)
|
||||||
|
|
Loading…
Reference in a new issue