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: #25273
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
Trott authored and BethGriggs committed Apr 28, 2019
1 parent a5b0fbd commit 8353a21
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 8353a21

Please sign in to comment.