mirror of https://github.com/nodejs/node.git
19 lines
402 B
JavaScript
19 lines
402 B
JavaScript
'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'
|
|
],
|
|
{});
|