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: nodejs#50723
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Deokjin Kim <deokjin81.kim@gmail.com>
  • Loading branch information
Jungku Lee authored and Lei Shi committed Nov 27, 2023
1 parent 366d727 commit eecb717
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 eecb717

Please sign in to comment.