testutils: Don't benchmark functions separately in BenchDelivery

While providing per-function information, it creates misleading profiler
output.
This commit is contained in:
fox.cpp 2019-10-09 11:47:21 +03:00
parent 2fbe066ae5
commit d460d697f6
No known key found for this signature in database
GPG key ID: E76D97CCEDE90B6C
3 changed files with 13 additions and 110 deletions

View file

@ -67,7 +67,7 @@ func BenchmarkStorage_Delivery(b *testing.B) {
u.Logout()
}
testutils.BenchDelivery(b, be, false, "sender@example.org", []string{randomKey + "@example.org"})
testutils.BenchDelivery(b, be, "sender@example.org", []string{randomKey + "@example.org"})
}
func BenchmarkStorageFsstore_Delivery(b *testing.B) {
@ -80,5 +80,5 @@ func BenchmarkStorageFsstore_Delivery(b *testing.B) {
u.Logout()
}
testutils.BenchDelivery(b, be, false, "sender@example.org", []string{randomKey + "@example.org"})
testutils.BenchDelivery(b, be, "sender@example.org", []string{randomKey + "@example.org"})
}