Skip to content

Commit

Permalink
doc: indicate that name is no longer an optional argument
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
danielroe authored and targos committed Mar 18, 2023
1 parent 2fd0f79 commit c08995e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/perf_hooks.md
Expand Up @@ -214,15 +214,15 @@ 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])`

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

0 comments on commit c08995e

Please sign in to comment.