Package-level declarations

Types

Link copied to clipboard
sealed external class EventCounts : ReadonlyMap<EventType<*>, Int>
Link copied to clipboard
sealed external interface NavigationTimingType
Link copied to clipboard
external class Performance : EventTarget

Provides access to performance-related information for the current page. It's part of the High Resolution Time API, but is enhanced by the Performance Timeline API, the Navigation Timing API, the User Timing API, and the Resource Timing API.

Link copied to clipboard
open external class PerformanceEntry

Encapsulates a single performance metric that is part of the performance timeline. A performance entry can be directly created by making a performance mark or measure (for example by calling the mark() method) at an explicit point in an application. Performance entries are also created in indirect ways such as loading a resource (such as an image).

Link copied to clipboard
open external class PerformanceMark(markName: String, markOptions: PerformanceMarkOptions = definedExternally) : PerformanceEntry

PerformanceMark is an abstract interface for PerformanceEntry objects with an entryType of "mark". Entries of this type are created by calling performance.mark() to add a named DOMHighResTimeStamp (the mark) to the browser's performance timeline.

Link copied to clipboard
external interface PerformanceMarkOptions
Link copied to clipboard

PerformanceMeasure is an abstract interface for PerformanceEntry objects with an entryType of "measure". Entries of this type are created by calling performance.measure() to add a named DOMHighResTimeStamp (the measure) between two marks to the browser's performance timeline.

Link copied to clipboard
external interface PerformanceMeasureOptions
Link copied to clipboard

Provides methods and properties to store and retrieve metrics regarding the browser's document navigation events. For example, this interface can be used to determine how much time it takes to load or unload a document.

Link copied to clipboard
Link copied to clipboard
external interface PerformanceObserverInit
Link copied to clipboard

Enables retrieval and analysis of detailed network timing data regarding the loading of an application's resources. An application can use the timing metrics to determine, for example, the length of time it takes to fetch a specific resource, such as an XMLHttpRequest, , image, or script.

Link copied to clipboard

Properties

Link copied to clipboard