mirror of
https://github.com/soypat/lneto.git
synced 2026-09-12 09:39:31 +00:00
add missing backoffs
This commit is contained in:
@@ -112,6 +112,7 @@ func BenchmarkTCPHandshake(b *testing.B) {
|
||||
RxBuf: buf[:MTU],
|
||||
TxBuf: buf[MTU : MTU*2],
|
||||
TxPacketQueueSize: 4,
|
||||
RWBackoff: backoffYield,
|
||||
})
|
||||
if err != nil {
|
||||
b.Fatal(err)
|
||||
@@ -120,6 +121,7 @@ func BenchmarkTCPHandshake(b *testing.B) {
|
||||
RxBuf: buf[2*MTU : 3*MTU],
|
||||
TxBuf: buf[3*MTU : 4*MTU],
|
||||
TxPacketQueueSize: 4,
|
||||
RWBackoff: backoffYield,
|
||||
})
|
||||
if err != nil {
|
||||
b.Fatal(err)
|
||||
|
||||
Reference in New Issue
Block a user