mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
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'
|
||
|
],
|
||
|
{});
|