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 <[email protected]>
Reviewed-By: Chengzhong Wu <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Harshitha K P <[email protected]>
  • Loading branch information
danielroe authored Mar 17, 2023
1 parent c3537ae commit 7deb09c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/perf_hooks.md
Original file line number Diff line number Diff line change
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 7deb09c

Please sign in to comment.