Skip to content
Permalink
Browse files

benchmark: fix net-wrap-js-stream-passthrough

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 targos committed Dec 29, 2018
1 parent 217bb0e commit 516f75fda8aa83925bdcf2c3ed2662cb14c16212
Showing with 1 addition and 1 deletion.
  1. +1 −1 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':

0 comments on commit 516f75f

Please sign in to comment.
You can’t perform that action at this time.