Uh oh!
There was an error while loading. Please reload this page.
stream: refactor Writable buffering - #31046
Conversation
24f8b15 to
0c9b7e7CompareUh oh!
There was an error while loading. Please reload this page.
mscdex
commented
Dec 21, 2019
Might be a good idea to check CITGM to check for dependencies on the old internal state properties? |
e6c3b63 to
76eb9ecCompareronag
commented
Dec 21, 2019
@mscdex: I noticed that using symbol accessors seems slower than regular properties. Is this something we are aware of or am I just unlucky in my benchmarks? |
This comment has been minimized.
This comment has been minimized.
bd5e468 to
3df92f4CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
5a4a300 to
fd9c408CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
a7d1723 to
393c31fCompare709439b to
393c31fCompare393c31f to
8165483Compareronag
commented
Jan 1, 2020
rebased to fix conflicts |
5b9a81c to
b161293CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
mafintosh
commented
Apr 23, 2020
LGTM on green canary |
ronag
commented
Apr 23, 2020
ronag
commented
Apr 23, 2020
CITGM OK. |
This comment has been minimized.
This comment has been minimized.
Refactors buffering in Writable to use an array instead of a linked list. PR-URL: #31046 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Denys Otrishko <shishugi@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
ronag
commented
Apr 23, 2020
Landed in d8c57cb |
There seems to have been some significant performance regressions with the latest changes: |
@ronag .... it would appear that maybe one of the handful of streams related PRs you just landed may be having some CI issues: https://ci.nodejs.org/job/node-test-commit-linux/34504/ test-stream-pipeline consistently failing on Linux... |
ronag
commented
Apr 23, 2020
That's strange. I'm on it. |
ronag
commented
Apr 23, 2020
All of them have green CI, so it must be that one of them made the other fail. |
jasnell
commented
Apr 23, 2020
Entirely possible. Just ran the tests a second time (with a different unrelated PR) and seeing the same failures. https://ci.nodejs.org/job/node-test-commit-linux/34506/ |
Yep, Working towards a PR to resolve it. |
While nodejs#31046 did make async writes faster it at the same time made sync writes slower. This PR corrects this while maintaining performance improvements.
While #31046 did make async writes faster it at the same time made sync writes slower. This PR corrects this while maintaining performance improvements. PR-URL: #33032 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Brian White <mscdex@mscdex.net> Reviewed-By: Zeyu Yang <himself65@outlook.com>
Refactors buffering in Writable to use an array instead of a linked list. PR-URL: #31046 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Denys Otrishko <shishugi@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
While #31046 did make async writes faster it at the same time made sync writes slower. This PR corrects this while maintaining performance improvements. PR-URL: #33032 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Brian White <mscdex@mscdex.net> Reviewed-By: Zeyu Yang <himself65@outlook.com>
Refactors buffering in Writable to use an array instead of a linked list. PR-URL: #31046 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Denys Otrishko <shishugi@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
While #31046 did make async writes faster it at the same time made sync writes slower. This PR corrects this while maintaining performance improvements. PR-URL: #33032 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Brian White <mscdex@mscdex.net> Reviewed-By: Zeyu Yang <himself65@outlook.com>

Another try on this, now without the reduced performance:
Benchmarks from #31066
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes