mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
9bc16e6a6f
This reverts commit 2ff93c8975
.
PR-URL: https://github.com/nodejs/node/pull/39437
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
14 lines
309 B
JavaScript
14 lines
309 B
JavaScript
'use strict';
|
|
|
|
const common = require('../common');
|
|
|
|
if (!common.hasCrypto)
|
|
common.skip('missing crypto');
|
|
|
|
if (common.hasFipsCrypto)
|
|
common.skip('some benchmarks are FIPS-incompatible');
|
|
|
|
const runBenchmark = require('../common/benchmark');
|
|
|
|
runBenchmark('crypto', { NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });
|