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

Function BenchmarkProducerLarge

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

Source from the content-addressed store, hash-verified

1273}
1274
1275func BenchmarkProducerLarge(b *testing.B) {
1276 benchmarkProducer(b, nil, "test.64", ByteEncoder(make([]byte, 8192)))
1277}
1278
1279func BenchmarkProducerSmallSinglePartition(b *testing.B) {
1280 benchmarkProducer(b, nil, "test.1", ByteEncoder(make([]byte, 128)))

Callers

nothing calls this directly

Calls 2

benchmarkProducerFunction · 0.85
ByteEncoderTypeAlias · 0.85

Tested by

no test coverage detected