Skip to content

Commit

Permalink
benchmark: fix net-wrap-js-stream-passthrough
Browse files Browse the repository at this point in the history
The net-wrap-js-stream-passthrough benchmark was inadvertently broken by
00944c7. This fixes it.

PR-URL: nodejs#25273
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
  • Loading branch information
Trott authored and refack committed Jan 10, 2019
1 parent d880ab5 commit 062645c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmark/net/net-wrap-js-stream-passthrough.js
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down

0 comments on commit 062645c

Please sign in to comment.