From aa6e770ea52524a016a7979c1815c8002ca6854b Mon Sep 17 00:00:00 2001 From: Jason Zhang Date: Thu, 15 Aug 2024 20:41:08 +0930 Subject: [PATCH] doc: correct peformance entry types Fixes: https://github.com/nodejs/node/issues/54212 Fixes: https://github.com/nodejs/node/issues/50290 PR-URL: https://github.com/nodejs/node/pull/54263 Reviewed-By: Luigi Pinca Reviewed-By: Jake Yuesong Li Reviewed-By: Trivikram Kamat Reviewed-By: James M Snell --- 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`