Skip to content

build: use BUILDTYPE in bench-addons-build targets - #24033

Closed
danbev wants to merge 1 commit into
nodejs:masterfrom
danbev:debug_benchmark_napi_buildtype
Closed

build: use BUILDTYPE in bench-addons-build targets#24033
danbev wants to merge 1 commit into
nodejs:masterfrom
danbev:debug_benchmark_napi_buildtype

Conversation

@danbev

Copy link
Copy Markdown
Contributor

This commit uses the BUILDTYPE for the benchmark targets that currently
explicitly use Release as the build type.

The motivation for this change is allows switching between debug builds
and release builds using the bench-addons-clean/bench-addons-build
targets.

@nodejs/build-files

  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-botnodejs-github-bot added the build Issues and PRs related to build files or the CI. label Nov 2, 2018
@danbev

Copy link
Copy Markdown
ContributorAuthor

Comment threadbenchmark/common.js Outdated

@refackrefack 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.

Should use process.features.debug

Comment threadbenchmark/common.js Outdated
@danbev

Copy link
Copy Markdown
ContributorAuthor

Comment threadbenchmark/napi/function_args/index.js Outdated
Comment threadbenchmark/common.js Outdated
@danbev

Copy link
Copy Markdown
ContributorAuthor

@danbev
danbevforce-pushed the debug_benchmark_napi_buildtype branch from cbb0428 to 430317dCompareNovember 6, 2018 17:37
This commit uses the BUILDTYPE for the benchmark targets that currently
explicitly use Release as the build type.
The motivation for this change is allows switching between debug builds
and release builds using the bench-addons-clean/bench-addons-build
targets.
@danbev
danbevforce-pushed the debug_benchmark_napi_buildtype branch from 430317d to 1fd4d56CompareNovember 8, 2018 04:43
@Trott

Copy link
Copy Markdown
Member

@refack This looks like it has addressed your comment. Is your request for changes dismiss-able at this point?

@refackrefack added test Issues and PRs related to the tests. node-api Issues and PRs related to the Node-API. benchmark Issues and PRs related to the benchmark subsystem. and removed test Issues and PRs related to the tests. labels Nov 11, 2018
@refack

Copy link
Copy Markdown
Contributor

@refack

Copy link
Copy Markdown
Contributor

Landed in ce6ec36

@refackrefack closed this Nov 11, 2018
refack pushed a commit that referenced this pull request Nov 11, 2018
This commit uses the BUILDTYPE for the benchmark targets that currently
explicitly use Release as the build type.
The motivation for this change is allows switching between debug builds
and release builds using the bench-addons-clean/bench-addons-build
targets.
PR-URL: #24033
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
BridgeAR pushed a commit that referenced this pull request Nov 14, 2018
This commit uses the BUILDTYPE for the benchmark targets that currently
explicitly use Release as the build type.
The motivation for this change is allows switching between debug builds
and release builds using the bench-addons-clean/bench-addons-build
targets.
PR-URL: #24033
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@BridgeARBridgeAR mentioned this pull request Nov 14, 2018
kiyomizumia pushed a commit to kiyomizumia/node that referenced this pull request Nov 15, 2018
This commit uses the BUILDTYPE for the benchmark targets that currently
explicitly use Release as the build type.
The motivation for this change is allows switching between debug builds
and release builds using the bench-addons-clean/bench-addons-build
targets.
PR-URL: nodejs#24033
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
codebytere pushed a commit that referenced this pull request Jan 12, 2019
This commit uses the BUILDTYPE for the benchmark targets that currently
explicitly use Release as the build type.
The motivation for this change is allows switching between debug builds
and release builds using the bench-addons-clean/bench-addons-build
targets.
PR-URL: #24033
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@codebyterecodebytere mentioned this pull request Jan 15, 2019
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

benchmarkIssues and PRs related to the benchmark subsystem.buildIssues and PRs related to build files or the CI.node-apiIssues and PRs related to the Node-API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@danbev@nodejs-github-bot@Trott@refack@jasnell@joyeecheung@richardlau