Another benchmark rename
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 18 Feb 2020 08:48:36 +0000 (09:48 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 18 Feb 2020 08:48:36 +0000 (09:48 +0100)
hugolib/site_benchmark_new_test.go

index 0fa6e991288088df31e920ce32f81e5da7f9564d..cd5d94bb0207e1c40e7cc24c600b83040807d28d 100644 (file)
@@ -387,6 +387,8 @@ func BenchmarkSiteNew(b *testing.B) {
                        name := bm.name
                        if edit {
                                name = "Edit_" + name
+                       } else {
+                               name = "Regular_" + name
                        }
                        b.Run(name, func(b *testing.B) {
                                sites := make([]*sitesBuilder, b.N)