Skip to content

Commit 0dabfa0

Browse files
committed
doc: correct peformance entry types
Fixes: #54212 Fixes: #50290
1 parent a4f609f commit 0dabfa0

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

doc/api/perf_hooks.md

+7-4
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)