Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c08995e

Browse filesBrowse files
danielroetargos
authored andcommitted
doc: indicate that name is no longer an optional argument
PR-URL: #47102 Reviewed-By: Debadree Chatterjee <debadree333@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Harshitha K P <harshitha014@gmail.com>
1 parent 2fd0f79 commit c08995e
Copy full SHA for c08995e

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎doc/api/perf_hooks.md‎

Copy file name to clipboardExpand all lines: doc/api/perf_hooks.md
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -214,15 +214,15 @@ Returns a list of `PerformanceEntry` objects in chronological order
214214
with respect to `performanceEntry.startTime` whose `performanceEntry.entryType`
215215
is equal to `type`.
216216

217-
### `performance.mark([name[, options]])`
217+
### `performance.mark(name[, options])`
218218

219219
<!-- YAML
220220
added: v8.5.0
221221
changes:
222222
- version: v19.0.0
223223
pr-url: https://github.com/nodejs/node/pull/44483
224224
description: This method must be called with the `performance` object as
225-
the receiver.
225+
the receiver. The name argument is no longer optional.
226226
- version: v16.0.0
227227
pr-url: https://github.com/nodejs/node/pull/37136
228228
description: Updated to conform to the User Timing Level 3 specification.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.