Skip to content

[v10.x] console: add trace-events for time and count #28840

New issue

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

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

Already on GitHub? # to your account

Conversation

andrewhughes101
Copy link
Contributor

Add the node.console trace event category to capture
console.count(), console.countReset(), console.time(),
console.timeLog(), and console.timeEnd() to the trace
event log.

PR-URL: #23703
Reviewed-By: Luigi Pinca luigipinca@gmail.com
Reviewed-By: Richard Lau riclau@uk.ibm.com

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

@nodejs-github-bot nodejs-github-bot added console Issues and PRs related to the console subsystem. v10.x labels Jul 24, 2019
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@BethGriggs BethGriggs added the needs-ci PRs that need a full CI run. label Oct 7, 2019
@nodejs-github-bot

This comment has been minimized.

@andrewhughes101 andrewhughes101 force-pushed the backport-23703-to-v10.x branch from 31dae9a to f0d8b52 Compare October 14, 2019 15:22
@nodejs-github-bot

This comment has been minimized.

Copy link
Member

@mhdawson mhdawson left a comment

Choose a reason for hiding this comment

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

LGTM

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot
Copy link
Collaborator

nodejs-github-bot commented Feb 25, 2020

@BethGriggs
Copy link
Member

@andrewhughes101, based on the history of this test on v10.x I think the module count number should be incremented by 1 in parallel/test-bootstrap-modules

Add the `node.console` trace event category to capture
`console.count()`, `console.countReset()`, `console.time()`,
`console.timeLog()`, and `console.timeEnd()` to the trace
event log.

PR-URL: nodejs#23703
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
@andrewhughes101 andrewhughes101 force-pushed the backport-23703-to-v10.x branch from f0d8b52 to a9c11c9 Compare March 4, 2020 10:41
@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot
Copy link
Collaborator

nodejs-github-bot commented Mar 4, 2020

CI: https://ci.nodejs.org/job/node-test-pull-request/29534/ ✅ - CI is known OSX failures from adding 10.15

@BethGriggs BethGriggs removed the needs-ci PRs that need a full CI run. label Mar 5, 2020
BethGriggs pushed a commit that referenced this pull request Mar 9, 2020
Add the `node.console` trace event category to capture
`console.count()`, `console.countReset()`, `console.time()`,
`console.timeLog()`, and `console.timeEnd()` to the trace
event log.

PR-URL: #23703
Backport-PR-URL: #28840
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
@BethGriggs
Copy link
Member

Landed in b164a2e

@BethGriggs BethGriggs closed this Mar 9, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
console Issues and PRs related to the console subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants