Skip to content

Commit

Permalink
doc: correct peformance entry types
Browse files Browse the repository at this point in the history
Fixes: #54212
Fixes: #50290
  • Loading branch information
jazelly committed Aug 9, 2024
1 parent a4f609f commit 0dabfa0
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions doc/api/perf_hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -509,13 +509,16 @@ changes:

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

* `'node'` (Node.js only)
* `'mark'` (available on the Web)
* `'measure'` (available on the Web)
* `'gc'` (Node.js only)
* `'dns'` (Node.js only)
* `'function'` (Node.js only)
* `'gc'` (Node.js only)
* `'http2'` (Node.js only)
* `'http'` (Node.js only)
* `'mark'` (available on the Web)
* `'measure'` (available on the Web)
* `'net'` (Node.js only)
* `'node'` (Node.js only)
* `'resource'` (available on the Web)

### `performanceEntry.name`

Expand Down

0 comments on commit 0dabfa0

Please sign in to comment.