GeezerVison is showing github.com — doc: update print results(detail) in `PerformanceEntry` · nodejs/node@ead9879
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: doc/api/perf_hooks.md +12-6Lines changed: 12 additions & 6 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1328,13 +1328,15 @@ const obs = new PerformanceObserver((perfObserverList, observer) => { | 1328 | 1328 | * name: 'test', | 1329 | 1329 | * entryType: 'mark', | 1330 | 1330 | * startTime: 81.465639, | 1331 | | - * duration: 0 | | 1331 | + * duration: 0, | | 1332 | + * detail: null | 1332 | 1333 | * }, | 1333 | 1334 | * PerformanceEntry { | 1334 | 1335 | * name: 'meow', | 1335 | 1336 | * entryType: 'mark', | 1336 | 1337 | * startTime: 81.860064, | 1337 | | - * duration: 0 | | 1338 | + * duration: 0, | | 1339 | + * detail: null | 1338 | 1340 | * } | 1339 | 1341 | * ] | 1340 | 1342 | */ | @@ -1378,7 +1380,8 @@ const obs = new PerformanceObserver((perfObserverList, observer) => { | 1378 | 1380 | * name: 'meow', | 1379 | 1381 | * entryType: 'mark', | 1380 | 1382 | * startTime: 98.545991, | 1381 | | - * duration: 0 | | 1383 | + * duration: 0, | | 1384 | + * detail: null | 1382 | 1385 | * } | 1383 | 1386 | * ] | 1384 | 1387 | */ | @@ -1391,7 +1394,8 @@ const obs = new PerformanceObserver((perfObserverList, observer) => { | 1391 | 1394 | * name: 'test', | 1392 | 1395 | * entryType: 'mark', | 1393 | 1396 | * startTime: 63.518931, | 1394 | | - * duration: 0 | | 1397 | + * duration: 0, | | 1398 | + * detail: null | 1395 | 1399 | * } | 1396 | 1400 | * ] | 1397 | 1401 | */ | @@ -1434,13 +1438,15 @@ const obs = new PerformanceObserver((perfObserverList, observer) => { | 1434 | 1438 | * name: 'test', | 1435 | 1439 | * entryType: 'mark', | 1436 | 1440 | * startTime: 55.897834, | 1437 | | - * duration: 0 | | 1441 | + * duration: 0, | | 1442 | + * detail: null | 1438 | 1443 | * }, | 1439 | 1444 | * PerformanceEntry { | 1440 | 1445 | * name: 'meow', | 1441 | 1446 | * entryType: 'mark', | 1442 | 1447 | * startTime: 56.350146, | 1443 | | - * duration: 0 | | 1448 | + * duration: 0, | | 1449 | + * detail: null | 1444 | 1450 | * } | 1445 | 1451 | * ] | 1446 | 1452 | */ | |
|