mirror of
https://github.com/nodejs/node.git
synced 2025-05-20 22:43:26 +00:00

PR-URL: https://github.com/nodejs/node/pull/20125 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Rich Trott <rtrott@gmail.com>
21 lines
352 B
JavaScript
21 lines
352 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',
|
|
[
|
|
'len=1',
|
|
'method=',
|
|
'n=1',
|
|
'primitive=null',
|
|
'size=1',
|
|
'type=Int8Array'
|
|
]
|
|
);
|