fix(backend): Convert legacy queries and add translate wrapper

This commit is contained in:
VPS 4 Builder
2026-05-13 09:53:00 +02:00
parent 9d10fed38e
commit e260eed28b
3254 changed files with 4328622 additions and 1578 deletions
+27
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)