From 8a1e22af3a44d83dbaacbe9f5299a62bb8e279e0 Mon Sep 17 00:00:00 2001 From: Petka Antonov Date: Mon, 23 Feb 2015 22:22:27 +0200 Subject: [PATCH] benchmark: pass execArgv to the benchmarking process Benchmarker should pass exec flags (e.g. --no-crankshaft, --turbofan-filter, --trace-opt etc) to the benchmarking process Reviewed-By: Sam Roberts Reviewed-By: Chris Dickinson PR-URL: https://github.com/iojs/io.js/pull/928 --- benchmark/common.js | 1 + 1 file changed, 1 insertion(+) diff --git a/benchmark/common.js b/benchmark/common.js index c4a5f7ebb6620c..06f26d1ce372eb 100644 --- a/benchmark/common.js +++ b/benchmark/common.js @@ -145,6 +145,7 @@ Benchmark.prototype._run = function() { var argv = queue[i++]; if (!argv) return; + argv = process.execArgv.concat(argv); var child = spawn(node, argv, { stdio: 'inherit' }); child.on('close', function(code, signal) { if (code)