Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34.2k
benchmark: Add NodeError and Error benchmark#43077
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
RafaelGSS commented May 12, 2022
Furthermore, I can go deeper into the analysis and share my thoughts here. |
Uh oh!
There was an error while loading. Please reload this page.
mscdex commented May 12, 2022
What is the purpose of |
7a0b11e to f5ece4aCompare
mcollina left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
RafaelGSS commented May 24, 2022
Well, lately I have had no time to investigate/improve how the A few insights to solve it can be found in: nodejs/undici#1203 (comment). |
nodejs-github-bot commented May 24, 2022
nodejs-github-bot commented May 24, 2022
aduh95 commented May 25, 2022
f5ece4a to 64fc8c1Compareaduh95 commented May 25, 2022
aduh95 commented May 25, 2022
Can you add a test, similarly as node/test/benchmark/test-benchmark-misc.js Lines 1 to 7 in 9e40df7
|
juanarbol left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
64fc8c1 to df87435CompareRafaelGSS commented May 25, 2022
Just did, I knew I was forgetting something. |
nodejs-github-bot commented May 26, 2022
nodejs-github-bot commented May 26, 2022
nodejs-github-bot commented May 27, 2022
df87435 to da88923CompareRafaelGSS commented May 27, 2022
Just rebased on master to check if the flaky tests are gone |
nodejs-github-bot commented May 27, 2022
nodejs-github-bot commented May 29, 2022
nodejs-github-bot commented May 30, 2022
Commit Queue failed- Loading data for nodejs/node/pull/43077 ✔ Done loading data for nodejs/node/pull/43077 ----------------------------------- PR info ------------------------------------ Title benchmark: Add NodeError and Error benchmark (#43077) Author Rafael Gonzaga (@RafaelGSS) Branch RafaelGSS:benchmark/node-error -> nodejs:master Labels discuss, author ready, needs-ci Commits 1 - benchmark: add node-error benchmark Committers 1 - RafaelGSS PR-URL: https://github.com/nodejs/node/pull/43077 Reviewed-By: Matteo Collina Reviewed-By: Juan José Arboleda Reviewed-By: Antoine du Hamel ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/43077 Reviewed-By: Matteo Collina Reviewed-By: Juan José Arboleda Reviewed-By: Antoine du Hamel -------------------------------------------------------------------------------- ⚠ Commits were pushed since the last review: ⚠ - benchmark: add node-error benchmark ℹ This PR was created on Thu, 12 May 2022 19:26:45 GMT ✔ Approvals: 3 ✔ - Matteo Collina (@mcollina) (TSC): https://github.com/nodejs/node/pull/43077#pullrequestreview-983394804 ✔ - Juan José Arboleda (@juanarbol): https://github.com/nodejs/node/pull/43077#pullrequestreview-985584535 ✔ - Antoine du Hamel (@aduh95) (TSC): https://github.com/nodejs/node/pull/43077#pullrequestreview-985886311 ✔ Last GitHub CI successful ℹ Last Full PR CI on 2022-05-29T18:37:24Z: https://ci.nodejs.org/job/node-test-pull-request/44228/ ℹ Last Benchmark CI on 2022-05-25T23:03:58Z: https://ci.nodejs.org/view/Node.js%20benchmark/job/benchmark-node-micro-benchmarks/1145/ - Querying data for job/node-test-pull-request/44228/ ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/2409007414 |
PR-URL: #43077 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Juan José Arboleda <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
RafaelGSS commented May 30, 2022
Landed in 0903515 |
PR-URL: #43077 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Juan José Arboleda <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
PR-URL: nodejs#43077 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Juan José Arboleda <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
PR-URL: #43077 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Juan José Arboleda <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
PR-URL: #43077 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Juan José Arboleda <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
PR-URL: #43077 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Juan José Arboleda <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
PR-URL: nodejs/node#43077 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Juan José Arboleda <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
While investigating
fetchperformance (nodejs/undici#1203 (comment)) I've found thatNodeErroris a bottleneck inWebStreams.I created this Pull Request to share the insights and help as I can to improve the
NodeErrorperformance. We can use this PR thread to discuss approaches to solve it.For reference, this is the benchmark result I'm getting:
*-cpu description: CPU product: AMD Ryzen 5 3500X 6-Core Processor vendor: Advanced Micro Devices [AMD] physical id: 2f bus info: cpu@0 version: AMD Ryzen 5 3500X 6-Core Processor serial: Unknown slot: AM4 size: 4030MHz capacity: 4100MHz width: 64 bits clock: 100MHzcc: @jasnell@mcollina