summaryrefslogtreecommitdiff
path: root/test/benchmark/test-benchmark-crypto.js
blob: 7f6988acf234d86461a6cadb976633d4476520f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
'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 });