Skip to content

Commit 8a1e22a

Browse files
petkaantonovsam-github
authored andcommitted
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: #928
1 parent 234e691 commit 8a1e22a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

benchmark/common.js

+1
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ Benchmark.prototype._run = function() {
145145
var argv = queue[i++];
146146
if (!argv)
147147
return;
148+
argv = process.execArgv.concat(argv);
148149
var child = spawn(node, argv, { stdio: 'inherit' });
149150
child.on('close', function(code, signal) {
150151
if (code)

0 commit comments

Comments
 (0)