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 31d4f56
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions doc/api/perf_hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -509,13 +509,15 @@ 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)
* `'resource'` (available on the Web)

### `performanceEntry.name`

Expand Down

0 comments on commit 31d4f56

Please sign in to comment.