summaryrefslogtreecommitdiff
path: root/test/benchmark
diff options
context:
space:
mode:
authorMatteo Collina <hello@matteocollina.com>2018-05-04 08:00:07 +0200
committerShelley Vohr <shelley.vohr@gmail.com>2020-02-17 12:38:51 -0800
commit6be51296e4e2a977c2c825719912bef1aa5b5bfc (patch)
treeb505d22440fe283a8e7e1fddf8e1a600d4521ffd /test/benchmark
parentba9fae058abd273934bf759ca4c89e060519c691 (diff)
downloadnode-new-6be51296e4e2a977c2c825719912bef1aa5b5bfc.tar.gz
async_hooks: add executionAsyncResource
Remove the need for the destroy hook in the basic APM case. Co-authored-by: Stephen Belanger <admin@stephenbelanger.com> PR-URL: https://github.com/nodejs/node/pull/30959 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/benchmark')
-rw-r--r--test/benchmark/test-benchmark-async-hooks.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/benchmark/test-benchmark-async-hooks.js b/test/benchmark/test-benchmark-async-hooks.js
index 9951d8c933..662a6a07f3 100644
--- a/test/benchmark/test-benchmark-async-hooks.js
+++ b/test/benchmark/test-benchmark-async-hooks.js
@@ -15,6 +15,8 @@ runBenchmark('async_hooks',
'asyncHooks=all',
'connections=50',
'method=trackingDisabled',
- 'n=10'
+ 'n=10',
+ 'type=async-resource',
+ 'asyncMethod=async'
],
{});