mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
Rename the Edit benchmarks
To make them easier to filter out.
This commit is contained in:
parent
3c568ad013
commit
5b145ddc4c
1 changed files with 1 additions and 1 deletions
|
@ -386,7 +386,7 @@ func BenchmarkSiteNew(b *testing.B) {
|
||||||
for _, bm := range benchmarks {
|
for _, bm := range benchmarks {
|
||||||
name := bm.name
|
name := bm.name
|
||||||
if edit {
|
if edit {
|
||||||
name += "/Edit"
|
name = "Edit_" + 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