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 d426ee9

Browse filesBrowse files
ChristianBoehlkeBethGriggs
authored andcommitted
doc: fix property name 'detail' of performanceEntry
PR-URL: #40019 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
1 parent 570bef1 commit d426ee9
Copy full SHA for d426ee9

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+6
-6
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
+6-6Lines changed: 6 additions & 6 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ is similar to [`window.performance.toJSON`][] in browsers.
274274
added: v8.5.0
275275
-->
276276

277-
### `performanceEntry.details`
277+
### `performanceEntry.detail`
278278
<!-- YAML
279279
added: v16.0.0
280280
-->
@@ -382,7 +382,7 @@ Performance Entry.
382382

383383
### Garbage Collection ('gc') Details
384384

385-
When `performanceEntry.type` is equal to `'gc'`, the `performanceEntry.details`
385+
When `performanceEntry.type` is equal to `'gc'`, the `performanceEntry.detail`
386386
property will be an {Object} with two properties:
387387

388388
* `kind` {number} One of:
@@ -402,10 +402,10 @@ property will be an {Object} with two properties:
402402
### HTTP/2 ('http2') Details
403403

404404
When `performanceEntry.type` is equal to `'http2'`, the
405-
`performanceEntry.details` property will be an {Object} containing
405+
`performanceEntry.detail` property will be an {Object} containing
406406
additional performance information.
407407

408-
If `performanceEntry.name` is equal to `Http2Stream`, the `details`
408+
If `performanceEntry.name` is equal to `Http2Stream`, the `detail`
409409
will contain the following properties:
410410

411411
* `bytesRead` {number} The number of `DATA` frame bytes received for this
@@ -420,7 +420,7 @@ will contain the following properties:
420420
* `timeToFirstHeader` {number} The number of milliseconds elapsed between the
421421
`PerformanceEntry` `startTime` and the reception of the first header.
422422

423-
If `performanceEntry.name` is equal to `Http2Session`, the `details` will
423+
If `performanceEntry.name` is equal to `Http2Session`, the `detail` will
424424
contain the following properties:
425425

426426
* `bytesRead` {number} The number of bytes received for this `Http2Session`.
@@ -443,7 +443,7 @@ contain the following properties:
443443
### Timerify ('function') Details
444444

445445
When `performanceEntry.type` is equal to `'function'`, the
446-
`performanceEntry.details` property will be an {Array} listing
446+
`performanceEntry.detail` property will be an {Array} listing
447447
the input arguments to the timed function.
448448

449449
## Class: `PerformanceNodeTiming`

0 commit comments

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