MCPcopy
hub / github.com/IBM/sarama / BenchmarkProducerMedium

Function BenchmarkProducerMedium

functional_producer_test.go:1271–1273  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

1269}
1270
1271func BenchmarkProducerMedium(b *testing.B) {
1272 benchmarkProducer(b, nil, "test.64", ByteEncoder(make([]byte, 1024)))
1273}
1274
1275func BenchmarkProducerLarge(b *testing.B) {
1276 benchmarkProducer(b, nil, "test.64", ByteEncoder(make([]byte, 8192)))

Callers

nothing calls this directly

Calls 2

benchmarkProducerFunction · 0.85
ByteEncoderTypeAlias · 0.85

Tested by

no test coverage detected