Initial commit of files

This commit is contained in:
2026-02-02 20:02:11 +00:00
parent 695f853c94
commit 46ebe81379
2444 changed files with 576762 additions and 0 deletions

27
node_modules/split2/bench.js generated vendored Normal file
View File

@@ -0,0 +1,27 @@
'use strict'
const split = require('./')
const bench = require('fastbench')
const binarySplit = require('binary-split')
const fs = require('fs')
function benchSplit (cb) {
fs.createReadStream('package.json')
.pipe(split())
.on('end', cb)
.resume()
}
function benchBinarySplit (cb) {
fs.createReadStream('package.json')
.pipe(binarySplit())
.on('end', cb)
.resume()
}
const run = bench([
benchSplit,
benchBinarySplit
], 10000)
run(run)