Browse Source

bench: Move v8_bench into misc

v0.9.11-release
isaacs 12 years ago
parent
commit
844b33205c
  1. 7
      benchmark/misc/v8_bench.js

7
benchmark/v8_bench.js → 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');
Loading…
Cancel
Save