mirror of
https://github.com/nodejs/node.git
synced 2025-05-02 20:46:16 +00:00

Add minimal test for `assert` benchmarks. PR-URL: https://github.com/nodejs/node/pull/15174 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
13 lines
317 B
JavaScript
13 lines
317 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', 'prim=null', 'size=1', 'type=Int8Array']
|
|
);
|