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: #928
  • Loading branch information
petkaantonov authored and sam-github committed Feb 24, 2015
1 parent 234e691 commit 8a1e22a
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 8a1e22a

Please sign in to comment.