You've already forked Epicnabbo-Catalogus-Updated-Daily
14 lines
417 B
JavaScript
14 lines
417 B
JavaScript
var Benchmark = require('benchmark');
|
|
|
|
new Benchmark.Suite()
|
|
.add('find-config', require('./find-config.bench'))
|
|
.add('findup-sync', require('./findup-sync.bench'))
|
|
.add('look-up', require('./look-up.bench'))
|
|
.on('cycle', function (event) {
|
|
console.log(String(event.target));
|
|
})
|
|
.on('complete', function () {
|
|
console.log('Fastest:', this.filter('fastest').map('name').join(', '));
|
|
})
|
|
.run({async: true});
|