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 — http: improve for-loop readability in _http_outgoing.js by gengjiawen · Pull Request #26408 · nodejs/node Conversation
Member
Checklist
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
gengjiawen
force-pushed
the
forloop_http_outgoing
branch
from
efd378c to
4b05938
Compare
gengjiawen
commented
Uh oh!
There was an error while loading. Please reload this page.
gengjiawen
force-pushed
the
forloop_http_outgoing
branch
from
4b05938 to
bd731a0
Compare
BridgeAR
reviewed
Uh oh!
There was an error while loading. Please reload this page. Uh oh!
There was an error while loading. Please reload this page.
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
gengjiawen
force-pushed
the
forloop_http_outgoing
branch
from
bd731a0 to
781024d
Compare
Member
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
BridgeAR
approved these changes
Member
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. I would still check for
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Member
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
gengjiawen
force-pushed
the
forloop_http_outgoing
branch
from
781024d to
9c0359e
Compare
|
There was an error while loading. Please reload this page.
|
@BridgeAR Done. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This is a very sensitive hot path. I’m -1 to any changes that do not improve our benchmarks.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
I think this has 0 impact on performance. Will run a benchmark CI to verify. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@lpinca I'm pretty sure it has some impact. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
https://jsperf.com/for-of-vs-for-loop they seem to be on par on Chrome 72. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
If this is a problem for 10.x 8.x and 6.x we can add the required "do not land" labels. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
The |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
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.