Results 21 - 40 of 77

Performance.getEntriesByName()

The getEntriesByName() method returns a list of PerformanceEntry objects for the given name and type. The list's members (entries) can be created by making performance marks or measures (for example by calling the mark() method) at explicit points in time.
API Method Reference Web Performance

Performance.getEntriesByType()

The getEntriesByType() method returns a list of PerformanceEntry objects for a given type. The list's members (entries) can be created by making performance marks or measures (for example by calling the mark() method) at explicit points in time.
API Method Reference Web Performance

Performance.mark()

The mark() method creates a timestamp in the browser's performance entry buffer with the given name. The application defined timestamp can be retrieved by one of the Performance interface's getEntries*() methods (getEntries(), getEntriesByName() or getEntriesByType()).
API Method Reference Web Performance

Performance.measure()

The measure() method creates a named timestamp in the browser's performance entry buffer between two specified marks (known as the start mark and end mark, respectively). The named timestamp is referred to as a measure.
API Method Reference Web Performance

Performance.setResourceTimingBufferSize()

The setResourceTimingBufferSize() method sets the browser's resource timing buffer size to the specified number of "resource" performance entry type objects.
API Method Reference Web Performance

PerformanceEntry

The PerformanceEntry object 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).
API Interface Reference Web Performance

PerformanceEntry.duration

The duration property returns a timestamp that is the duration of the performance entry.
API Property Reference Web Performance

PerformanceEntry.entryType

The entryType property returns the performance entry's type. The valid entryType values are:
API Property Reference Web Performance

PerformanceEntry.name

The name property returns the name given to a performance entry when the entry was created (for example by calling performance.mark()).
API Property Reference Web Performance

PerformanceEntry.startTime

The startTime property returns the first recorded timestamp of the performance entry.
API Property Reference Web Performance

PerformanceEntry.toJSON()

The toJSON() method is a serializer; it returns a JSON representation of the performance entry object.
API Method Reference Web Performance

PerformanceFrameTiming

The PerformanceFrameTiming interface provides frame timing data about the browser's event loop. A frame represents the amount of work a browser does in one event loop such as processing DOM events, resizing, scrolling, rendering, CSS animations, etc. A frame rate of 60fps (frames per second) for a 60Hz refresh rate is the target for a good responsive user experience. This means the browser should process a frame in about 16.7ms.
API Interface Reference Web Performance

PerformanceMark

PerformanceMark is an abstract interface for performance entries with an entry type 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.
API Interface Reference Web Performance

PerformanceMeasure

PerformanceMeasure is an abstract interface for performance entries with an entry type 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.
API Interface Reference Web Performance

PerformanceNavigationTiming

The PerformanceNavigationTiming interface provides methods and properties to store and retrieve high resolution timestamps or 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.
API Interface Reference Web Performance

PerformanceNavigationTiming.domComplete

The domComplete property returns a timestamp representing the time value equal to the time immediately before the user agent sets the current document readiness of the current document to complete.
API Property Reference Web Performance

PerformanceNavigationTiming.domContentLoadedEventEnd

The domContentLoadedEventEnd property returns a timestamp representing the time value equal to the time immediately after the current document's DOMContentLoaded event completes.
API Property Reference Web Performance

PerformanceNavigationTiming.domContentLoadedEventStart

The domContentLoadedEventStart property returns a timestamp representing the time value equal to the time immediately before the user agent fires the DOMContentLoaded event at the current document.
API Property Reference Web Performance

PerformanceNavigationTiming.domInteractive

The domInteractive property returns a timestamp representing the time value equal to the time immediately before the user agent sets the current document readiness of the current document to interactive.
API Property Reference Web Performance

PerformanceNavigationTiming.loadEventEnd

The loadEventEnd property returns a timestamp which is equal to the time when the load event of the current document is completed.
API Property Reference Web Performance