-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
benchmark: update iterations of benchmark/async_hooks/async-local- #51420
benchmark: update iterations of benchmark/async_hooks/async-local- #51420
Conversation
benchmark@benchmark-S2600WFT: v16.20.2/bin/node benchmark/async_hooks/async-local-storage-getstore-nested-resources.js
compared with node16, node21 performance downgraded by about 40%. Root cause is repetition is too small and only occupies about 1% of scoring period while 99% is occupied by GC. When the repetition is enlarged a lot, node21 downgration was fixed.
|
Would you mind rebasing on top of the main branch? One of the GitHub actions failed but I can not restart it. |
sure I will rebase |
storage-getstore-nested-resources.js Fixes: nodejs#50571
5156af6
to
13b615c
Compare
Landed in bf4a63e |
storage-getstore-nested-resources.js Fixes: nodejs#50571 PR-URL: nodejs#51420 Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
storage-getstore-nested-resources.js
Before applying this PR, the real logic code of "aync hooks" is not measured accurately.
<style> </style>After increasing the iteration value, the test case behavior made sense.