mirror of
https://github.com/foxcpp/maddy.git
synced 2025-04-07 06:57:37 +03:00
testutils: Don't benchmark functions separately in BenchDelivery
While providing per-function information, it creates misleading profiler output.
This commit is contained in:
parent
2fbe066ae5
commit
d460d697f6
3 changed files with 13 additions and 110 deletions
|
@ -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"})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue