Rename the Edit benchmarks

To make them easier to filter out.
This commit is contained in:
Bjørn Erik Pedersen 2020-02-18 09:44:55 +01:00
parent 3c568ad013
commit 5b145ddc4c
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F

View file

@ -386,7 +386,7 @@ func BenchmarkSiteNew(b *testing.B) {
for _, bm := range benchmarks {
name := bm.name
if edit {
name += "/Edit"
name = "Edit_" + name
}
b.Run(name, func(b *testing.B) {
sites := make([]*sitesBuilder, b.N)