mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
e797d5babd
Originally wrote this for some work that is going to take a while longer before it’s ready to be PR’ed, so it seems fine to start with this on its own. PR-URL: https://github.com/nodejs/node/pull/20034 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
19 lines
407 B
JavaScript
19 lines
407 B
JavaScript
'use strict';
|
|
|
|
require('../common');
|
|
|
|
const runBenchmark = require('../common/benchmark');
|
|
|
|
runBenchmark('zlib',
|
|
[
|
|
'method=deflate',
|
|
'n=1',
|
|
'options=true',
|
|
'type=Deflate',
|
|
'inputLen=1024',
|
|
'duration=0.001'
|
|
],
|
|
{
|
|
'NODEJS_BENCHMARK_ZERO_ALLOWED': 1
|
|
});
|