(b *testing.B)
| 57 | } |
| 58 | |
| 59 | func BenchmarkStorage_Delivery(b *testing.B) { |
| 60 | randomKey := "rcpt-" + strconv.FormatInt(time.Now().UnixNano(), 10) + "@example.org" |
| 61 | |
| 62 | be := createTestDB(b, "") |
| 63 | if err := be.CreateIMAPAcct(randomKey); err != nil { |
| 64 | b.Fatal(err) |
| 65 | } |
| 66 | |
| 67 | testutils.BenchDelivery(b, be, "sender@example.org", []string{randomKey}) |
| 68 | } |
| 69 | |
| 70 | func BenchmarkStorage_DeliveryLZ4(b *testing.B) { |
| 71 | randomKey := "rcpt-" + strconv.FormatInt(time.Now().UnixNano(), 10) + "@example.org" |
nothing calls this directly
no test coverage detected