Skip to content

benchmark: benchmarking impacts of async hooks on promises

Refs: https://github.com/nodejs/diagnostics/issues/124

FWIW, following is the result of the benchmark:

async_hooks/promises.js asyncHooks="enabled" n=1000000: 143,333.79312043046
async_hooks/promises.js asyncHooks="disabled" n=1000000: 394,449.2637313192
Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Merge request reports

Loading