mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-15 20:44:01 +02:00
Rename the Edit benchmarks
To make them easier to filter out.
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user