GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||
GeezerVison is showing github.com — stream: some simplification by ronag · Pull Request #32900 · nodejs/node Conversation
Member
~7% improvement NOTE: Contains 2 commits to reduce the number of PRs. streams/writable-manywrites.js callback='no' writev='no' sync='no' n=2000000 6.27 % ±6.47% ±8.63% ±11.26% streams/writable-manywrites.js callback='no' writev='no' sync='yes' n=2000000 * 8.43 % ±6.68% ±8.90% ±11.59% streams/writable-manywrites.js callback='no' writev='yes' sync='no' n=2000000 7.77 % ±7.88% ±10.49% ±13.69% streams/writable-manywrites.js callback='no' writev='yes' sync='yes' n=2000000 * 6.79 % ±5.75% ±7.65% ±9.96% streams/writable-manywrites.js callback='yes' writev='no' sync='no' n=2000000 *** 11.31 % ±6.08% ±8.11% ±10.60% streams/writable-manywrites.js callback='yes' writev='no' sync='yes' n=2000000 ** 7.76 % ±5.46% ±7.27% ±9.46% streams/writable-manywrites.js callback='yes' writev='yes' sync='no' n=2000000 6.12 % ±7.40% ±9.85% ±12.82% streams/writable-manywrites.js callback='yes' writev='yes' sync='yes' n=2000000 ** 8.11 % ±4.90% ±6.52% ±8.48% Checklist
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
writecb casted to boolean has the same value as writing.
Collaborator
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. Was doing some unecessary checks.
ronag
force-pushed
the
writable-simplify
branch
from
959cba0 to
4ac87be
Compare
ronag
commented
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This condition is a duplicate of what's inside of
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
There was an error while loading. Please reload this page.
|
This seems to have a negative effect on |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
@mscdex Flaky made? Local: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Benchmark CI (creation): https://ci.nodejs.org/view/Node.js%20benchmark/job/benchmark-node-micro-benchmarks/556/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Nope, seems consistent: 17:55:08 streams/creation.js kind='duplex' n=50000000 *** -7.40 % ±2.49% ±3.31% ±4.31% Strange... not sure how this PR could cause that |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
https://ci.nodejs.org/view/Node.js%20benchmark/job/benchmark-node-micro-benchmarks/557/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
@mscdex: I'm quite baffled why this PR would affect duplex creation performance. Any ideas? Anyway, a 7% performance increase in writing I guess is still worth it with a 7% performance degradation in creation? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
This reverts commit 206f62b.
|
I don't know offhand, you'd probably have to compare either the generated/optimized code or optimizer/inliner trace output before and after this PR to see what is different. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.