aboutsummaryrefslogtreecommitdiff
path: root/benchmark/common.js
diff options
context:
space:
mode:
authorPetka Antonov <petka_antonov@hotmail.com>2015-02-23 22:22:27 +0200
committerSam Roberts <sam@strongloop.com>2015-02-24 15:55:12 -0800
commit8a1e22af3a44d83dbaacbe9f5299a62bb8e279e0 (patch)
tree766ff6c2bfcf3a1c4aff07f6c37ba5fd620bbd14 /benchmark/common.js
parent234e6916b8abcb470dd4f976384869db02bdc3cf (diff)
downloadandroid-node-v8-8a1e22af3a44d83dbaacbe9f5299a62bb8e279e0.tar.gz
android-node-v8-8a1e22af3a44d83dbaacbe9f5299a62bb8e279e0.tar.bz2
android-node-v8-8a1e22af3a44d83dbaacbe9f5299a62bb8e279e0.zip
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
Diffstat (limited to 'benchmark/common.js')
-rw-r--r--benchmark/common.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/benchmark/common.js b/benchmark/common.js
index c4a5f7ebb6..06f26d1ce3 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)