(b *testing.B)
| 1281 | } |
| 1282 | |
| 1283 | func BenchmarkProducerMediumSnappy(b *testing.B) { |
| 1284 | conf := NewFunctionalTestConfig() |
| 1285 | conf.Producer.Compression = CompressionSnappy |
| 1286 | benchmarkProducer(b, conf, "test.1", ByteEncoder(make([]byte, 1024))) |
| 1287 | } |
| 1288 | |
| 1289 | func benchmarkProducer(b *testing.B, conf *Config, topic string, value Encoder) { |
| 1290 | setupFunctionalTest(b) |
nothing calls this directly
no test coverage detected