mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
benchmark: fix net-wrap-js-stream-passthrough
The net-wrap-js-stream-passthrough benchmark was inadvertently broken by
00944c7cc2. This fixes it.
PR-URL: https://github.com/nodejs/node/pull/25273
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
1 parent
ec90cefdd9
commit
77ed1bbea4
1 file changed
+1
-1
@@ -17,7 +17,7 @@ var encoding;
|
||||
|
||||
function main({ dur, len, type }) {
|
||||
// Can only require internals inside main().
|
||||
const JSStreamWrap = require('internal/wrap_js_stream');
|
||||
const JSStreamWrap = require('internal/js_stream_socket');
|
||||
|
||||
switch (type) {
|
||||
case 'buf':
|
||||
|
||||
Reference in new issue
Block a user