summaryrefslogtreecommitdiff
path: root/test/benchmark/test-benchmark-async-hooks.js
blob: 4cb6f89a8c70e34a96620707e410c7f64a966000 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
'use strict';

const common = require('../common');

if (!common.hasCrypto)
  common.skip('missing crypto');

if (!common.enoughTestMem)
  common.skip('Insufficient memory for async_hooks benchmark test');

const runBenchmark = require('../common/benchmark');

runBenchmark('async_hooks',
             [
               'method=trackingDisabled',
               'n=10'
             ],
             {});