From: Petka Antonov Date: Mon, 23 Feb 2015 20:22:27 +0000 (+0200) Subject: benchmark: pass execArgv to the benchmarking process X-Git-Tag: v1.4.1~18 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8a1e22af3a44d83dbaacbe9f5299a62bb8e279e0;p=platform%2Fupstream%2Fnodejs.git 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 --- diff --git a/benchmark/common.js b/benchmark/common.js index c4a5f7e..06f26d1 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)