This commit is contained in:
Frog Rocky
2026-04-02 17:41:23 +02:00
parent 3075cbdd1f
commit 0895b3c31a

View File

@@ -237,7 +237,9 @@ func BenchmarkConnStdNetBindReceive(b *testing.B) {
name: "single",
batchSize: 1,
rxOffload: false,
reader: &benchmarkConnLinuxPacketConn{},
reader: &benchmarkConnLinuxPacketConn{
readBatches: [][]benchmarkConnPacket{benchmarkConnBatchPackets(1, 256)},
},
conn: &benchmarkConnUDPConn{
readPayloads: [][]byte{benchmarkConnPayload(256)},
},