Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: remove bench-* targets #18150

Closed
wants to merge 1 commit into from

Conversation

joyeecheung
Copy link
Member

@joyeecheung joyeecheung commented Jan 14, 2018

Fixes: #17053

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)

build

@nodejs-github-bot nodejs-github-bot added the build Issues and PRs related to build files or the CI. label Jan 14, 2018
bench: bench-net bench-http bench-fs bench-tls

.PHONY: bench-ci
bench-ci: bench
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like bench-ci got completely removed -- should it also get the "deprecation warning"?

Copy link
Member Author

Choose a reason for hiding this comment

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

The CI is not using bench-ci so I think the chance of anyone using it is much smaller...

@joyeecheung
Copy link
Member Author

@joyeecheung joyeecheung added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jan 15, 2018
Copy link
Member

@jasnell jasnell left a comment

Choose a reason for hiding this comment

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

LGTM but can you add a quick comment to the commit explaining why? :-)

@joyeecheung
Copy link
Member Author

joyeecheung commented Jan 15, 2018

@jasnell Sure, something like:

build: remove bench-* targets

Remove the targets for the following reasons:

- The `bench-*` targets are not used by the benchmark CI. They simply call
  `./node benchmark/run.js *` without allowing the user to pass any arguments.
- We tend to use `benchmark/compare.js` to do the actual benchmarking
  at the moment.
- The `bench-all` and `bench` targets only run a subset of the benchmarks and
  they are not covering all the categories that we have.

This can be fixed during landing.

@joyeecheung
Copy link
Member Author

Landed in 0c8aaf3, thanks!

joyeecheung added a commit that referenced this pull request Jan 16, 2018
PR-URL: #18150
Fixes: #17053
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
@joyeecheung joyeecheung removed the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jan 16, 2018
@bnoordhuis
Copy link
Member

@joyeecheung You left in the benchmark/misc/function_call/build/Release/binding.node target. Is that intentional? I can't find anything that actually invokes it.

Is it possible that the benchmark is quietly broken? It exits without error when the binding.node file is missing.

@joyeecheung
Copy link
Member Author

joyeecheung commented Jan 20, 2018

@bnoordhuis No I think I just forgot about benchmark/misc/function_call/build/Release/binding.node...I tried to make the test throw an error in #16934 but I could not find a way to invoke node-gyp properly from within the test so I decided to close it (now come to think of it, it might make sense to invoke make from the script instead...EDIT: no wait there is vcbuild.bat..).

evanlucas pushed a commit that referenced this pull request Jan 30, 2018
PR-URL: #18150
Fixes: #17053
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
@MylesBorins

This comment has been minimized.

@MylesBorins
Copy link
Contributor

@joyeecheung Should this be backported to v8.x-staging? If yes please follow the guide and raise a backport PR, if not let me know or add the dont-land-on label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues and PRs related to build files or the CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Removing the bench-* targets in makefile?
8 participants