-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
Closed
Labels
perf_hooksIssues and PRs related to the implementation of the Performance Timing API.Issues and PRs related to the implementation of the Performance Timing API.
Description
Version
main branch
Platform
No response
Subsystem
perf_hooks
What steps will reproduce the bug?
const { performance } = require('perf_hooks');
console.log(performance.nodeTiming)
How often does it reproduce? Is there a required condition?
always.
What is the expected behavior?
v8Start
and nodeStart
should be greater than 0 ?
What do you see instead?
nodeStart: -75.49576783180237,
v8Start: -34.36598587036133,
bootstrapComplete: 39.0672550201416,
environment: 0,
loopStart: -1,
loopExit: -1,
Additional information
I am not sure if it is a bug. I think the issue is made by this PR. I just wonder if the user will be a little confused ?
cc @legendecas
Metadata
Metadata
Assignees
Labels
perf_hooksIssues and PRs related to the implementation of the Performance Timing API.Issues and PRs related to the implementation of the Performance Timing API.