Skip to content

Commit 844b332

Browse files
committed
bench: Move v8_bench into misc
1 parent 2a2942b commit 844b332

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@ var fs = require('fs');
33
var path = require('path');
44
var vm = require('vm');
55

6-
var dir = path.join(__dirname, '..', 'deps', 'v8', 'benchmarks');
6+
var dir = path.join(__dirname, '..', '..', 'deps', 'v8', 'benchmarks');
77

8-
global.print = console.log;
8+
global.print = function(s) {
9+
if (s === '----') return;
10+
console.log('misc/v8_bench.js %s', s);
11+
};
912

1013
global.load = function (x) {
1114
var source = fs.readFileSync(path.join(dir, x), 'utf8');

0 commit comments

Comments
 (0)