From 7e43ea6eaf6eb05fa0d7bbb29ea3c0822c4b035e Mon Sep 17 00:00:00 2001 From: Arjan Bal Date: Thu, 9 Oct 2025 00:37:43 +0530 Subject: [PATCH] Enable buffer pooling by default --- benchmark/benchmain/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark/benchmain/main.go b/benchmark/benchmain/main.go index 39a0cc3812eb..443799f57871 100644 --- a/benchmark/benchmain/main.go +++ b/benchmark/benchmain/main.go @@ -116,7 +116,7 @@ var ( serverWriteBufferSize = flags.IntSlice("serverWriteBufferSize", []int{-1}, "Configures the server write buffer size in bytes. If negative, use the default - may be a comma-separated list") sleepBetweenRPCs = flags.DurationSlice("sleepBetweenRPCs", []time.Duration{0}, "Configures the maximum amount of time the client should sleep between consecutive RPCs - may be a comma-separated list") connections = flag.Int("connections", 1, "The number of connections. Each connection will handle maxConcurrentCalls RPC streams") - recvBufferPool = flags.StringWithAllowedValues("recvBufferPool", recvBufferPoolNil, "Configures the shared receive buffer pool. One of: nil, simple, all", allRecvBufferPools) + recvBufferPool = flags.StringWithAllowedValues("recvBufferPool", recvBufferPoolSimple, "Configures the shared receive buffer pool. One of: nil, simple, all", allRecvBufferPools) sharedWriteBuffer = flags.StringWithAllowedValues("sharedWriteBuffer", toggleModeOff, fmt.Sprintf("Configures both client and server to share write buffer - One of: %v", strings.Join(allToggleModes, ", ")), allToggleModes)