process: optimize asyncHandledRejections by using FixedQueue#60854
Merged
nodejs-github-bot merged 1 commit intonodejs:mainfrom Jan 2, 2026
Merged
process: optimize asyncHandledRejections by using FixedQueue#60854nodejs-github-bot merged 1 commit intonodejs:mainfrom
nodejs-github-bot merged 1 commit intonodejs:mainfrom
Conversation
Collaborator
|
Review requested:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #60854 +/- ##
==========================================
+ Coverage 88.52% 88.54% +0.02%
==========================================
Files 703 703
Lines 208585 208585
Branches 40225 40218 -7
==========================================
+ Hits 184650 184693 +43
+ Misses 15953 15911 -42
+ Partials 7982 7981 -1
🚀 New features to boost your workflow:
|
IlyasShabi
approved these changes
Nov 26, 2025
Qard
approved these changes
Nov 28, 2025
Collaborator
3b5e9c0 to
b63ee89
Compare
Collaborator
Qard
approved these changes
Dec 27, 2025
Collaborator
Collaborator
|
Landed in 012bf70 |
aduh95
pushed a commit
that referenced
this pull request
Jan 9, 2026
PR-URL: #60854 Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Ilyas Shabi <ilyasshabi94@gmail.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
aduh95
pushed a commit
that referenced
this pull request
Jan 12, 2026
PR-URL: #60854 Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Ilyas Shabi <ilyasshabi94@gmail.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
RafaelGSS
pushed a commit
that referenced
this pull request
Jan 13, 2026
PR-URL: #60854 Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Ilyas Shabi <ilyasshabi94@gmail.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Member
|
This commit makes cc: @joyeecheung @nodejs/releasers - this might fail on v24 too. |
RafaelGSS
pushed a commit
to RafaelGSS/node
that referenced
this pull request
Jan 15, 2026
PR-URL: nodejs#60854 Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Ilyas Shabi <ilyasshabi94@gmail.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
islandryu
pushed a commit
to islandryu/node
that referenced
this pull request
Jan 25, 2026
PR-URL: nodejs#60854 Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Ilyas Shabi <ilyasshabi94@gmail.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
branch:
main:
Using a regular Array for a queue that only shifts elements is inefficient due to O(N) time complexity per shift operation. FixedQueue provides O(1) dequeue performance
In the benchmark, to really highlight the effect, I used the
--unhandled-rejections=warnflag since it uses the queue even more