diff --git a/benchmark/v8_bench.js b/benchmark/misc/v8_bench.js similarity index 61% rename from benchmark/v8_bench.js rename to benchmark/misc/v8_bench.js index fbd3748ca2..8bf49f3f61 100644 --- a/benchmark/v8_bench.js +++ b/benchmark/misc/v8_bench.js @@ -3,9 +3,12 @@ var fs = require('fs'); var path = require('path'); var vm = require('vm'); -var dir = path.join(__dirname, '..', 'deps', 'v8', 'benchmarks'); +var dir = path.join(__dirname, '..', '..', 'deps', 'v8', 'benchmarks'); -global.print = console.log; +global.print = function(s) { + if (s === '----') return; + console.log('misc/v8_bench.js %s', s); +}; global.load = function (x) { var source = fs.readFileSync(path.join(dir, x), 'utf8');