From 0dabfa03216a90ff3a39e480fb0e7e145e54e69c Mon Sep 17 00:00:00 2001 From: jazelly Date: Fri, 9 Aug 2024 21:32:10 +0930 Subject: [PATCH] doc: correct peformance entry types Fixes: https://github.com/nodejs/node/issues/54212 Fixes: https://github.com/nodejs/node/issues/50290 --- doc/api/perf_hooks.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/doc/api/perf_hooks.md b/doc/api/perf_hooks.md index 298d1a94330d65..5663c5db42cdb9 100644 --- a/doc/api/perf_hooks.md +++ b/doc/api/perf_hooks.md @@ -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`