From 516f75fda8aa83925bdcf2c3ed2662cb14c16212 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sat, 29 Dec 2018 08:19:38 -0800 Subject: [PATCH] benchmark: fix net-wrap-js-stream-passthrough The net-wrap-js-stream-passthrough benchmark was inadvertently broken by 00944c7cc25f391c3fbeba1e054a56a62cf0de12. This fixes it. PR-URL: https://github.com/nodejs/node/pull/25273 Reviewed-By: Luigi Pinca Reviewed-By: Colin Ihrig --- benchmark/net/net-wrap-js-stream-passthrough.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark/net/net-wrap-js-stream-passthrough.js b/benchmark/net/net-wrap-js-stream-passthrough.js index 0e76281b25e927..74652225889bb0 100644 --- a/benchmark/net/net-wrap-js-stream-passthrough.js +++ b/benchmark/net/net-wrap-js-stream-passthrough.js @@ -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':