Skip to content

Commit aa6e770

Browse files
jazellyRafaelGSS
authored andcommitted
doc: correct peformance entry types
Fixes: #54212 Fixes: #50290 PR-URL: #54263 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 4b099ce commit aa6e770

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

doc/api/perf_hooks.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -509,13 +509,16 @@ changes:
509509

510510
The type of the performance entry. It may be one of:
511511

512-
* `'node'` (Node.js only)
513-
* `'mark'` (available on the Web)
514-
* `'measure'` (available on the Web)
515-
* `'gc'` (Node.js only)
512+
* `'dns'` (Node.js only)
516513
* `'function'` (Node.js only)
514+
* `'gc'` (Node.js only)
517515
* `'http2'` (Node.js only)
518516
* `'http'` (Node.js only)
517+
* `'mark'` (available on the Web)
518+
* `'measure'` (available on the Web)
519+
* `'net'` (Node.js only)
520+
* `'node'` (Node.js only)
521+
* `'resource'` (available on the Web)
519522

520523
### `performanceEntry.name`
521524

0 commit comments

Comments
 (0)