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

Function BenchmarkProducerSmall

functional_producer_test.go:1267–1269  ·  view source on GitHub ↗

Benchmarks

(b *testing.B)

Source from the content-addressed store, hash-verified

1265// Benchmarks
1266
1267func BenchmarkProducerSmall(b *testing.B) {
1268 benchmarkProducer(b, nil, "test.64", ByteEncoder(make([]byte, 128)))
1269}
1270
1271func BenchmarkProducerMedium(b *testing.B) {
1272 benchmarkProducer(b, nil, "test.64", ByteEncoder(make([]byte, 1024)))

Callers

nothing calls this directly

Calls 2

benchmarkProducerFunction · 0.85
ByteEncoderTypeAlias · 0.85

Tested by

no test coverage detected