node/benchmark/async_hooks
Chengzhong Wu 3000d77017
async_hooks: add async local storage propagation benchmarks
Add micro-benchmarks to verify the performance degradation related to
the number of active `AsyncLocalStorage`s.

With these benchmarks, trying to improve the async context propagation
to be an O(1) operation, which is an operation more frequent compared
to `asyncLocalStorage.run` and `asyncLocalStorage.getStore`.

PR-URL: https://github.com/nodejs/node/pull/46414
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
2023-02-03 21:12:17 +00:00
..
async-local-storage-getstore-nested-resources.js async_hooks: add async local storage propagation benchmarks 2023-02-03 21:12:17 +00:00
async-local-storage-getstore-nested-run.js async_hooks: add async local storage propagation benchmarks 2023-02-03 21:12:17 +00:00
async-local-storage-propagate-asyncresource.js async_hooks: add async local storage propagation benchmarks 2023-02-03 21:12:17 +00:00
async-local-storage-propagate-promise.js async_hooks: add async local storage propagation benchmarks 2023-02-03 21:12:17 +00:00
async-local-storage-run.js
async-resource-vs-destroy.js
gc-tracking.js
http-server.js
promises.js