Skip to content

Commit

Permalink
Update index.md (#34932)
Browse files Browse the repository at this point in the history
  • Loading branch information
ccampos authored Jul 19, 2024
1 parent 6515191 commit 6af9224
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ The {{domxref("PerformanceNavigationTiming")}} interface provides additional pro

## Example

The `domContentLoadedEventEnd` and `domContentLoadedEventStart` timestamps can be used to measure how long it takes process the [`DOMContentLoaded`](/en-US/docs/Web/API/Document/DOMContentLoaded_event) event handler.
The `domContentLoadedEventEnd` and `domContentLoadedEventStart` timestamps can be used to measure how long it takes to process the [`DOMContentLoaded`](/en-US/docs/Web/API/Document/DOMContentLoaded_event) event handler.

This example uses a {{domxref("PerformanceObserver")}}, which notifies the caller about new `navigation` performance entries as they are recorded in the browser's performance timeline. The example uses the `buffered` option to access entries that were recorded before the observer was created.

Expand Down

0 comments on commit 6af9224

Please sign in to comment.