Uh oh!
There was an error while loading. Please reload this page.
stream: writable buffering - #28978
Conversation
ronag
commented
Aug 5, 2019
mcollina
commented
Aug 5, 2019
Here they are: https://github.com/nodejs/node/blob/master/doc/guides/writing-and-running-benchmarks.md Be careful with this change, you are touching one of the worst hot paths in Node.js (together with |
mcollina
commented
Aug 5, 2019
The semversiness of this is a bit problematic, as this is likely to break some external users. |
ronag
commented
Aug 5, 2019
@mcollina: this is definitly semver major. Is this something that you would even consider? If not please let me know so I don't spend time in vain :). |
dc5503a to
a092cb8Comparemcollina
commented
Aug 5, 2019
I think it's worthwhile having a look if it could be simplified/improved the performance of it. |
a092cb8 to
23ee586Comparelpinca
commented
Aug 5, 2019
This should definitely be benchmarked to see if it's actually faster and how much. |
Uh oh!
There was an error while loading. Please reload this page.
23ee586 to
b6a212fCompareronag
commented
Aug 5, 2019
b6a212f to
3e51f4cCompareUh oh!
There was an error while loading. Please reload this page.
a2ce565 to
a8ba29cCompareronag
commented
Aug 5, 2019
Got the benchmark comparison working! Seems like a negligible difference. Though the simplification part is still probably worth it. |
c0088f0 to
a5607bdCompared99f8da to
85b51a2CompareUh oh!
There was an error while loading. Please reload this page.
85b51a2 to
30cb4e6Compare@mcollina nothing I do here seems to make much of a difference... maybe not a hot path or maybe better benchmarks are needed? Or I'm doing something wrong... The current benchmark mostly test sync writing... which I don't think is a good real-world example. |
bfc1416 to
cd6006cCompareronag
commented
Aug 5, 2019
Note this also changes the behaviour so that |
53164df to
df77306Comparedf77306 to
69a6436Compare69a6436 to
9033d42Compareronag
commented
Aug 5, 2019
this is WIP |
Simplify and optimize writable stream buffering.
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes