diff options
author | Chengzhong Wu <chengzhong.wcz@alibaba-inc.com> | 2023-02-04 05:12:17 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-03 21:12:17 +0000 |
commit | 3000d770179029094f7a80ac0a0c95f6a00a01c3 (patch) | |
tree | 954531919cef513467bb18a08174b08d8b43d7cb /benchmark/url/url-resolve.js | |
parent | 88d71dc301028735decf6f12cc1174f13c5cacff (diff) | |
download | node-new-3000d770179029094f7a80ac0a0c95f6a00a01c3.tar.gz |
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>
Diffstat (limited to 'benchmark/url/url-resolve.js')
0 files changed, 0 insertions, 0 deletions