-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
lib: optimize priority queue #57100
lib: optimize priority queue #57100
Conversation
695af3e
to
8c8dc2a
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #57100 +/- ##
=======================================
Coverage 90.26% 90.26%
=======================================
Files 630 630
Lines 184634 184645 +11
Branches 36137 36126 -11
=======================================
+ Hits 166654 166675 +21
+ Misses 11022 11017 -5
+ Partials 6958 6953 -5
|
@aduh95 would you like to take a look as well? |
Benchmark CI: https://ci.nodejs.org/view/Node.js%20benchmark/job/benchmark-node-micro-benchmarks/1660/
|
61fed01
to
db55a71
Compare
@aduh95 can we try again? I rebased maybe there was a flaky test |
@gurgunday yes it was likely a flaky test. However, please don't rebase in this case, we can resume the failing jobs (when you rebase, we have re-run the whole suite). When getting a flaky test, you can search for issues reporting them (if we ignore them, they're only going to pile up until the CI is completely unusable); I've (re)opened the following issues to track those flakes: |
@aduh95 sorry for that, I didn't know Thanks for the response, I'll try to take a look at these flaky tests as well! |
Landed in 52ecb96 |
PR-URL: #57100 Reviewed-By: Daniel Lemire <daniel@lemire.me> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Huge credit to @lemire, I only ported the parts that we can to improve performance without introducing breaking changes
First run:
After:
Before:
Second run:
After:
Before: