Skip to content

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

Closed
andrewhughes101 wants to merge 1 commit into
nodejs:v10.x-stagingfrom
andrewhughes101:backport-23703-to-v10.x
Closed

[v10.x] console: add trace-events for time and count#28840
andrewhughes101 wants to merge 1 commit into
nodejs:v10.x-stagingfrom
andrewhughes101:backport-23703-to-v10.x

Conversation

@andrewhughes101

Copy link
Copy Markdown
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-botnodejs-github-bot added console Issues and PRs related to the console subsystem. v10.x labels Jul 24, 2019
@nodejs-github-bot

Copy link
Copy Markdown
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.

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

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

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

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

nodejs-github-bot commented Feb 25, 2020

Copy link
Copy Markdown
Collaborator

@BethGriggs

Copy link
Copy Markdown
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
andrewhughes101force-pushed the backport-23703-to-v10.x branch from f0d8b52 to a9c11c9CompareMarch 4, 2020 10:41
@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

nodejs-github-bot commented Mar 4, 2020

Copy link
Copy Markdown
Collaborator

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

@BethGriggsBethGriggs 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
Copy Markdown
Member

Landed in b164a2e

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

consoleIssues and PRs related to the console subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@andrewhughes101@nodejs-github-bot@BethGriggs@jasnell@richardlau@mhdawson@trivikr