0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00

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 <vieuxtech@gmail.com>
Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
PR-URL: https://github.com/iojs/io.js/pull/928
This commit is contained in:
Petka Antonov 2015-02-23 22:22:27 +02:00 committed by Sam Roberts
parent 234e6916b8
commit 8a1e22af3a

View File

@ -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)