mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
b5420c9577
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>
22 lines
368 B
JavaScript
22 lines
368 B
JavaScript
'use strict';
|
|
|
|
require('../common');
|
|
|
|
// Minimal test for assert benchmarks. This makes sure the benchmarks aren't
|
|
// completely broken but nothing more than that.
|
|
|
|
const runBenchmark = require('../common/benchmark');
|
|
|
|
runBenchmark(
|
|
'assert',
|
|
[
|
|
'strict=1',
|
|
'len=1',
|
|
'method=',
|
|
'n=1',
|
|
'primitive=null',
|
|
'size=1',
|
|
'type=Int8Array'
|
|
]
|
|
);
|