Skip to content

Commit

Permalink
doc: fix errors in Performance hooks doc
Browse files Browse the repository at this point in the history
PR-URL: #43152
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Zeyu "Alex" Yang <[email protected]>
  • Loading branch information
y1d7ng authored and danielleadams committed Jun 27, 2022
1 parent 40b6534 commit 5fac328
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 @@ -64,7 +64,7 @@ added: v16.7.0
* `name` {string}

If `name` is not provided, removes all `PerformanceMeasure` objects from the
Performance Timeline. If `name` is provided, removes only the named mark.
Performance Timeline. If `name` is provided, removes only the named measure.

### `performance.eventLoopUtilization([utilization1[, utilization2]])`

Expand Down Expand Up @@ -184,7 +184,7 @@ changes:
* `options` {Object}
* `detail` {any} Additional optional detail to include with the mark.
* `startTime` {number} An optional timestamp to be used as the mark time.
**Defaults**: `performance.now()`.
**Default**: `performance.now()`.

Creates a new `PerformanceMark` entry in the Performance Timeline. A
`PerformanceMark` is a subclass of `PerformanceEntry` whose
Expand Down

0 comments on commit 5fac328

Please sign in to comment.