From b7d88c45330fb7b1b126f8dc0202e574c331d0c3 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 61e228113ef938..a8188c55fbd983 100644 --- a/doc/api/perf_hooks.md +++ b/doc/api/perf_hooks.md @@ -502,13 +502,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`