download
raw
547 Bytes
'use strict'
const benchmark = require('benchmark')
const createError = require('..')
const FastifyError = createError('CODE', 'Not available')
Error.stackTraceLimit = 0
new benchmark.Suite()
.add('no-stack instantiate Error', function () { new Error() }, { minSamples: 100 }) // eslint-disable-line no-new
.add('no-stack instantiate FastifyError', function () { new FastifyError() }, { minSamples: 100 }) // eslint-disable-line no-new
.on('cycle', function onCycle (event) { console.log(String(event.target)) })
.run({ async: false })

Xet Storage Details

Size:
547 Bytes
·
Xet hash:
32d99a23b090b772631f4da850bd739798f2ecd9f9562f5f57e0d11b2638ff7d

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