Skip to content

Commit

Permalink
benchmark: pass execArgv to the benchmarking process
Browse files Browse the repository at this point in the history
Benchmarker should pass exec flags (e.g. --no-crankshaft,
--turbofan-filter, --trace-opt etc) to the benchmarking process

Reviewed-By: Sam Roberts <[email protected]>
Reviewed-By: Chris Dickinson <[email protected]>
PR-URL: nodejs#928
  • Loading branch information
petkaantonov committed Feb 25, 2015
1 parent d121e66 commit f8e3298
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions benchmark/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f8e3298

Please sign in to comment.