Move benchmark tests (which are slow) out of the main test suite. We can hopefully add them to node-daily-master so that they are still run daily on CI. PR-URL: https://github.com/nodejs/node/pull/24265 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
18 lines
407 B
JavaScript
18 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
|
|
});
|