[v10.x] console: add trace-events for time and count
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: https://github.com/nodejs/node/pull/23703 Reviewed-By: Luigi Pinca luigipinca@gmail.com Reviewed-By: Richard Lau riclau@uk.ibm.com
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines