console.timeStamp(...) and performance.mark/measure are missing from the --inspect Performance Timings timeline
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 122k
- Forks
- 37.3k
- Avg merge
- 4d 2h
- Merged PRs (30d)
- 283
Description
Version
20
Platform
No response
Subsystem
No response
What steps will reproduce the bug?
console.profile()
console.timeStamp('Start Rendering')
performance.mark("Start rendering")
function createArr() {
return new Array(10000).join('x')
}
for (var i=0; i< 1000;i++) {
createArr()
}
performance.mark("Finish rendering")
performance.measure("Rendering", "Start rendering", "Finish rendering")
console.timeStamp('Finish Rendering')
console.profileEnd()
How often does it reproduce? Is there a required condition?
No response
What is the expected behavior? Why is that the expected behavior?
-
Per the node docs on
console.timeStamp(...)with the--inspectflag enabled, I should be able to see the timestamp indicated on the performance tab. -
The User Timings API,
performance.mark, andperformance.measureshow up as "Timings" in the browser's Chrome Dev Tools, but does not show up in node.
What do you see instead?
I don't see any User Timings API calls on the performance timeline.

When using the same performance.* methods in the browser I see them show up in the Performance Timeline.
Additional information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the example with Node 20 and --inspect, then compare the Performance Timings timeline with the browser behavior described in the issue. Trace how console.timeStamp, performance.mark, and performance.measure are exposed to the inspector and verify that timestamps, marks, and measures appear in Chrome DevTools.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- devtools, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100