We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea44b8b commit fbe946bCopy full SHA for fbe946b
benchmark/net/tcp-raw-pipe.js
@@ -97,8 +97,6 @@ function client() {
97
if (err)
98
fail(err, 'connect');
99
100
- clientHandle.readStart();
101
-
102
clientHandle.onread = function(nread, buffer) {
103
if (nread < 0)
104
fail(nread, 'read');
@@ -112,6 +110,8 @@ function client() {
112
110
113
111
bench.start();
114
+ clientHandle.readStart();
+
115
setTimeout(function() {
116
// multiply by 2 since we're sending it first one way
117
// then then back again.
0 commit comments