Skip to content

Commit 5fac328

Browse files
y1d7ngdanielleadams
authored andcommitted
doc: fix errors in Performance hooks doc
PR-URL: #43152 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com>
1 parent 40b6534 commit 5fac328

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/perf_hooks.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ added: v16.7.0
6464
* `name` {string}
6565

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

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

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

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

0 commit comments

Comments
 (0)