Skip to content

Conversation

@apapirovski
Copy link
Contributor

The next-tick-exec benchmarks were meant to track nextTick execution time but due to an error (on my part... 😆), they actually track addition and execution.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
The next-tick-exec benchmarks were meant to track nextTick execution time but due to an error, they actually track addition and execution.
@apapirovski apapirovski added the benchmark Issues and PRs related to the benchmark subsystem. label May 2, 2018
@nodejs-github-bot nodejs-github-bot added the process Issues and PRs related to the process subsystem. label May 2, 2018
@BridgeAR
Copy link
Member

BridgeAR commented May 2, 2018

Shall we maybe add an extra benchmark for this instead? Or do we have those already?

@apapirovski
Copy link
Contributor Author

apapirovski commented May 2, 2018

@BridgeAR We basically do. next-tick-depth and next-tick-breadth (plus -args versions) should mostly cover it.

I won't stop anyone from adding more benchmarks but these two are even named exec... kinda misleading :)

@apapirovski
Copy link
Contributor Author

I would like to fast track this so I can run the benchmarks in #20468. Please 👍 here to approve.

@apapirovski apapirovski added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label May 2, 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.

@mscdex ... what do you think of this one?

LGTM but would like to get more review :-)

@apapirovski
Copy link
Contributor Author

@jasnell @mscdex This hopefully shouldn't be particularly controversial. This benchmark, as is, is pretty similar to the breadth one. It was only added for this specific purpose but I made an error in the original PR.

FWIW I'm planning to land this at the end of the 48 hours.

@apapirovski
Copy link
Contributor Author

Landed in 34bd9f3

@apapirovski apapirovski closed this May 6, 2018
@apapirovski apapirovski deleted the patch-next-tick-exec-adjust branch May 6, 2018 05:30
apapirovski added a commit that referenced this pull request May 6, 2018
The next-tick-exec benchmarks were meant to track nextTick execution time but due to an error, they actually track addition and execution. PR-URL: #20462 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this pull request May 8, 2018
The next-tick-exec benchmarks were meant to track nextTick execution time but due to an error, they actually track addition and execution. PR-URL: #20462 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
@MylesBorins MylesBorins mentioned this pull request May 8, 2018
MylesBorins pushed a commit that referenced this pull request May 8, 2018
The next-tick-exec benchmarks were meant to track nextTick execution time but due to an error, they actually track addition and execution. PR-URL: #20462 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this pull request May 9, 2018
The next-tick-exec benchmarks were meant to track nextTick execution time but due to an error, they actually track addition and execution. PR-URL: #20462 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
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 pending requests for changes, and a CI started. benchmark Issues and PRs related to the benchmark subsystem. process Issues and PRs related to the process subsystem.

6 participants