download
raw
472 Bytes
'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)

Xet Storage Details

Size:
472 Bytes
·
Xet hash:
3c0c887f78b33d9d0bd110e8ee5af54a23c472d5252e2e96467a95eba249476c

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.