From 7deb09cd96b8897451097df5fd6daef13bb00e6f Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Fri, 17 Mar 2023 12:48:53 +0000 Subject: [PATCH] doc: indicate that `name` is no longer an optional argument PR-URL: https://github.com/nodejs/node/pull/47102 Reviewed-By: Debadree Chatterjee Reviewed-By: Chengzhong Wu Reviewed-By: Yagiz Nizipli Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca Reviewed-By: Harshitha K P --- doc/api/perf_hooks.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/perf_hooks.md b/doc/api/perf_hooks.md index 1c18395662f..8323b9ab03f 100644 --- a/doc/api/perf_hooks.md +++ b/doc/api/perf_hooks.md @@ -214,7 +214,7 @@ Returns a list of `PerformanceEntry` objects in chronological order with respect to `performanceEntry.startTime` whose `performanceEntry.entryType` is equal to `type`. -### `performance.mark([name[, options]])` +### `performance.mark(name[, options])`