diff --git a/benchmark/_http-benchmarkers.js b/benchmark/_http-benchmarkers.js index 5db65fdbcd4fea..54b7481afaa817 100644 --- a/benchmark/_http-benchmarkers.js +++ b/benchmark/_http-benchmarkers.js @@ -92,9 +92,7 @@ class TestDoubleBenchmarker { const child = child_process.fork(this.executable, { silent: true, env: Object.assign({}, process.env, { - duration: options.duration, - connections: options.connections, - path: `http://127.0.0.1:${options.port}${options.path}` + test_url: `http://127.0.0.1:${options.port}${options.path}` }) }); return child; diff --git a/benchmark/_test-double-benchmarker.js b/benchmark/_test-double-benchmarker.js index 0a8c5f9264efc8..8c2f744fbf6e9f 100644 --- a/benchmark/_test-double-benchmarker.js +++ b/benchmark/_test-double-benchmarker.js @@ -2,6 +2,6 @@ const http = require('http'); -http.get(process.env.path, function() { +http.get(process.env.test_url, function() { console.log(JSON.stringify({ throughput: 1 })); });