cluster: use rest param & Reflect.apply#17655
cluster: use rest param & Reflect.apply#17655mithunsasidharan wants to merge 1 commit intonodejs:masterfrom mithunsasidharan:pr_reflect
Conversation
|
@apapirovski : Your thoughts on whether this helps ? This is citing previous PR #17486 . If you feel this helps, I'll open it for review. |
|
I would recommend checking whether the |
|
@apapirovski : It seems to me that it is internal. But does it matter really with regards to perf gain ? In all cases shouldn't it help with that 1-2 % as mentioned ? Thanks. |
|
@mithunsasidharan You have to consider whether this is a hot path code or not. Otherwise the 1% faster |
|
@apapirovski : Sure.. let's park it for now... I'll probably check in detail over weekend and see if it really helps as you mentioned. I'll get back to some coverage for now ! Meanwhile I found this went unnoticed and thought I could raise a PR for it ? nodejs/code-and-learn#72 (comment) Do you suggest we should probably create an issue for this and leave it for some starters ? |
Used
Reflect.applyfor performance gain citing similar change infs.jsChecklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)
cluster