mirror of
https://github.com/nodejs/node.git
synced 2025-05-19 20:06:58 +00:00

This reduces the runtime and makes sure the strict and loose options can be tested individually. Besides that a couple of redundant cases were removed. PR-URL: https://github.com/nodejs/node/pull/22211 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@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'
|
|
]
|
|
);
|