PerformanceObserver
PerformanceObserver(callback)
Creates a new observer for entries added to the JSplitter performance timeline.
The callback is invoked asynchronously when performance.mark or performance.measure records an entry whose type is currently observed. Entries created in the same event-loop burst may be delivered together in one callback.
JSplitter currently supports only the "mark" and "measure" entry types. The Web Performance Timeline buffered option is not implemented.
Parameters
| Name | Type | Description |
|---|---|---|
callback | PerformanceObserverCallback | Callback invoked when matching entries are delivered. |