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 <[email protected]>
Reviewed-By: Deokjin Kim <[email protected]>
  • Loading branch information
Jungku Lee authored and targos committed Nov 23, 2023
1 parent 407d4a6 commit 6001ae1
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 6001ae1

Please sign in to comment.