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

benchmark: remove unused parameters by nishijayaraj · Pull Request #14640 · nodejs/node · GitHub

/ node Public

benchmark: remove unused parameters - #14640

Closed
nishijayaraj wants to merge 1 commit into
nodejs:masterfrom
nishijayaraj:my-branch
Closed

benchmark: remove unused parameters#14640
nishijayaraj wants to merge 1 commit into
nodejs:masterfrom
nishijayaraj:my-branch

Conversation

Copy link
Copy Markdown
Contributor

Functions onOnline and onMessage in benchmark/cluster/echo.js
had unused parameters. They were removed.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

Functions onOnline and onMessage in benchmark/cluster/echo.js
had unused parameters. They were removed.
nodejs-github-bot added benchmark Issues and PRs related to the benchmark subsystem. cluster Issues and PRs related to the cluster subsystem. labels Aug 5, 2017

refack commented Aug 5, 2017
edited
Loading

Copy link
Copy Markdown
Contributor

So even in TF&I having the callback's signature match the call is a little bit more performant, so for function onOnline(msg) onMessage IMHO the formal argument should stay, but renamed (my preference is _ , but I yield to the OP's).
Ref: #14137

lpinca left a comment

Copy link
Copy Markdown
Member

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

The little performance diff does not affect benchmark results.

Trott commented Aug 8, 2017

Copy link
Copy Markdown
Member

jasnell pushed a commit that referenced this pull request Aug 8, 2017
Functions onOnline and onMessage in benchmark/cluster/echo.js
had unused parameters. They were removed.

PR-URL: #14640
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>

jasnell commented Aug 8, 2017

Copy link
Copy Markdown
Member

Landed in e67220e

jasnell closed this Aug 8, 2017
addaleax pushed a commit that referenced this pull request Aug 10, 2017
Functions onOnline and onMessage in benchmark/cluster/echo.js
had unused parameters. They were removed.

PR-URL: #14640
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
addaleax mentioned this pull request Aug 13, 2017
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

benchmark Issues and PRs related to the benchmark subsystem. cluster Issues and PRs related to the cluster subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants


Back | FazBrowse Home | New Git URL