Skip to content

Commit

Permalink
doc: update print results(detail) in PerformanceEntry
Browse files Browse the repository at this point in the history
PR-URL: #50723
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Deokjin Kim <deokjin81.kim@gmail.com>
  • Loading branch information
Jungku Lee authored and UlisesGascon committed Dec 19, 2023
1 parent 43160dc commit 3c79e3c
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions doc/api/perf_hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -1328,13 +1328,15 @@ const obs = new PerformanceObserver((perfObserverList, observer) => {
* name: 'test',
* entryType: 'mark',
* startTime: 81.465639,
* duration: 0
* duration: 0,
* detail: null
* },
* PerformanceEntry {
* name: 'meow',
* entryType: 'mark',
* startTime: 81.860064,
* duration: 0
* duration: 0,
* detail: null
* }
* ]
*/
Expand Down Expand Up @@ -1378,7 +1380,8 @@ const obs = new PerformanceObserver((perfObserverList, observer) => {
* name: 'meow',
* entryType: 'mark',
* startTime: 98.545991,
* duration: 0
* duration: 0,
* detail: null
* }
* ]
*/
Expand All @@ -1391,7 +1394,8 @@ const obs = new PerformanceObserver((perfObserverList, observer) => {
* name: 'test',
* entryType: 'mark',
* startTime: 63.518931,
* duration: 0
* duration: 0,
* detail: null
* }
* ]
*/
Expand Down Expand Up @@ -1434,13 +1438,15 @@ const obs = new PerformanceObserver((perfObserverList, observer) => {
* name: 'test',
* entryType: 'mark',
* startTime: 55.897834,
* duration: 0
* duration: 0,
* detail: null
* },
* PerformanceEntry {
* name: 'meow',
* entryType: 'mark',
* startTime: 56.350146,
* duration: 0
* duration: 0,
* detail: null
* }
* ]
*/
Expand Down

0 comments on commit 3c79e3c

Please sign in to comment.