FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

module: use optional chaining in cjs/loader.js by RaisinTen · Pull Request #37238 · nodejs/node · GitHub

/ node Public

module: use optional chaining in cjs/loader.js - #37238

Closed
RaisinTen wants to merge 0 commit into
nodejs:masterfrom
RaisinTen:module/add-optional-chaining-in-cjs-loader
Closed

module: use optional chaining in cjs/loader.js#37238
RaisinTen wants to merge 0 commit into
nodejs:masterfrom
RaisinTen:module/add-optional-chaining-in-cjs-loader

Conversation

Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown
Collaborator

RaisinTen commented Feb 5, 2021
edited
Loading

Copy link
Copy Markdown
Member Author

Benchmark CI for module:
https://ci.nodejs.org/view/Node.js%20benchmark/job/benchmark-node-micro-benchmarks/935/

No significant perf regressions
20:33:02 module/module-loader-deep.jscache='false' files=1000 ext='.js'                            *     -3.51 %       ±3.25%  ±4.32%  ±5.63%
20:33:02 module/module-loader.jscache='false' n=1 files=500 dir='rel' name='/index.js'             *     -3.80 %       ±2.97%  ±3.95%  ±5.14%
20:33:02 module/module-loader.jscache='true' n=1000 files=500 dir='abs' name='/'                   *     -1.81 %       ±1.39%  ±1.86%  ±2.44%

aduh95 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM if benchmark results don't show perf regression

Copy link
Copy Markdown
Member Author

@aduh95 benchmark looks good! 🎉

RaisinTen added the author ready PRs that have at least one approval, no outstanding review comments, and a CI started. label Feb 5, 2021

Trott commented Feb 6, 2021

Copy link
Copy Markdown
Member

Non-blocking from me, but I think whether the benchmarks look good in this case may be a matter of opinion. It shows three statistically-significant (but also, yes, small) regressions. Might be interesting to run again to see if they are persistent or not.

Benchmark CI re-run for comparison: https://ci.nodejs.org/view/Node.js%20benchmark/job/benchmark-node-micro-benchmarks/937/

Trott commented Feb 9, 2021

Copy link
Copy Markdown
Member

Benchmark re-run confirms no significant changes in benchmark results.

Trott pushed a commit to RaisinTen/node that referenced this pull request Feb 9, 2021
PR-URL: nodejs#37238
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Trott closed this Feb 9, 2021
Trott force-pushed the module/add-optional-chaining-in-cjs-loader branch from 5abd9c2 to fdd7a87 Compare February 9, 2021 00:40

Trott commented Feb 9, 2021

Copy link
Copy Markdown
Member

Landed in fdd7a87

RaisinTen deleted the module/add-optional-chaining-in-cjs-loader branch February 9, 2021 09:28
danielleadams pushed a commit that referenced this pull request Feb 16, 2021
PR-URL: #37238
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
This was referenced Feb 16, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no outstanding review comments, and a CI started.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants


Back | FazBrowse Home | New Git URL