All Downloads are FREE. Search and download functionalities are using the official Maven repository.

node_modules.split2.bench.js Maven / Gradle / Ivy

There is a newer version: 1.4.0
Show newest version
'use strict'

var split = require('./')
var bench = require('fastbench')
var fs = require('fs')

function benchSplit (cb) {
  fs.createReadStream('package.json')
    .pipe(split())
    .on('end', cb)
    .resume()
}

var run = bench([
  benchSplit
], 10000)

run(run)




© 2015 - 2025 Weber Informatics LLC | Privacy Policy