-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
Closed
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.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
Affected URL(s)
https://nodejs.org/docs/latest/api/perf_hooks.html#performanceentryentrytype
Description of the problem
By the doc the performance entry may be one of:
'node' (Node.js only)
'mark' (available on the Web)
'measure' (available on the Web)
'gc' (Node.js only)
'function' (Node.js only)
'http2' (Node.js only)
'http' (Node.js only)
But in code we have other supported entry types: https://github.com/nodejs/node/blob/ca2ed88f94ca537c21a631cfecf577aa96afca0b/lib/internal/perf/observe.js#L88C8-L98
> PerformanceObserver.supportedEntryTypes
[
'dns', 'function',
'gc', 'http',
'http2', 'mark',
'measure', 'net',
'resource'
]
There are no documented dns
, resource
, net
. And there is no node
.
Metadata
Metadata
Assignees
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.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.