You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default Node.js enables Nagle's algorithm. This adds a small
delay when sending tiny buffers to batch-send them later.
Unfortunately this makes protocol negotiation slower as the
protocol strings are small enough to be batch sent.
The change here is to turn it off by default, this reduces the
perf test connection establisment from 1.2s to 0.8s.
See the latency measurements in the "Connection Establishment"
test [on this run](https://observablehq.com/@libp2p-workspace/performance-dashboard?branch=cac8364ac83a4d8856851687a605e50b1e3855fb)
for an example.
0 commit comments