Skip to content

Commit

Permalink
Rename the Edit benchmarks
Browse files Browse the repository at this point in the history
To make them easier to filter out.
  • Loading branch information
bep committed Feb 18, 2020
1 parent 3c568ad commit 5b145dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hugolib/site_benchmark_new_test.go
Expand Up @@ -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)
Expand Down

0 comments on commit 5b145dd

Please sign in to comment.