PerformanceResourceTiming class
The interface 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, <SVG>
, image, or script.
The interface's properties create a resource loading timeline
with high-resolution timestamps
for network events such as
redirect start and end times, fetch start, DNS lookup start and
end times, response start and end times, etc.. Additionally, the
interface extends PerformanceEntry with other properties which
provide data about the size of the fetched resource as well as
the type of resource that initiated the fetch.
PerformanceEntry
PerformanceResourceTiming
Note: This feature is available in Web Workers
- Implemented types
- Implementers
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- PerformanceResourceTiming()
-
factory
Properties
- connectEnd → double
-
Available on PerformanceResourceTiming, provided by the PropsPerformanceResourceTiming extension
no setter - connectStart → double
-
Available on PerformanceResourceTiming, provided by the PropsPerformanceResourceTiming extension
no setter - decodedBodySize → int
-
Available on PerformanceResourceTiming, provided by the PropsPerformanceResourceTiming extension
no setter - domainLookupEnd → double
-
Available on PerformanceResourceTiming, provided by the PropsPerformanceResourceTiming extension
no setter - domainLookupStart → double
-
Available on PerformanceResourceTiming, provided by the PropsPerformanceResourceTiming extension
no setter - duration → double
-
Available on PerformanceEntry, provided by the PropsPerformanceEntry extension
no setter - encodedBodySize → int
-
Available on PerformanceResourceTiming, provided by the PropsPerformanceResourceTiming extension
no setter - entryType → String
-
Available on PerformanceEntry, provided by the PropsPerformanceEntry extension
no setter - fetchStart → double
-
Available on PerformanceResourceTiming, provided by the PropsPerformanceResourceTiming extension
no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- initiatorType → String
-
Available on PerformanceResourceTiming, provided by the PropsPerformanceResourceTiming extension
no setter - name → String
-
Available on PerformanceEntry, provided by the PropsPerformanceEntry extension
no setter - nextHopProtocol → String
-
Available on PerformanceResourceTiming, provided by the PropsPerformanceResourceTiming extension
no setter - redirectEnd → double
-
Available on PerformanceResourceTiming, provided by the PropsPerformanceResourceTiming extension
no setter - redirectStart → double
-
Available on PerformanceResourceTiming, provided by the PropsPerformanceResourceTiming extension
no setter - renderBlockingStatus → RenderBlockingStatusType
-
Available on PerformanceResourceTiming, provided by the PropsPerformanceResourceTiming extension
no setter - requestStart → double
-
Available on PerformanceResourceTiming, provided by the PropsPerformanceResourceTiming extension
no setter - responseEnd → double
-
Available on PerformanceResourceTiming, provided by the PropsPerformanceResourceTiming extension
no setter - responseStart → double
-
Available on PerformanceResourceTiming, provided by the PropsPerformanceResourceTiming extension
no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secureConnectionStart → double
-
Available on PerformanceResourceTiming, provided by the PropsPerformanceResourceTiming extension
no setter -
serverTiming
→ Iterable<
PerformanceServerTiming> -
Available on PerformanceResourceTiming, provided by the PropsPerformanceResourceTiming extension
no setter - startTime → double
-
Available on PerformanceEntry, provided by the PropsPerformanceEntry extension
no setter - transferSize → int
-
Available on PerformanceResourceTiming, provided by the PropsPerformanceResourceTiming extension
no setter - workerStart → double
-
Available on PerformanceResourceTiming, provided by the PropsPerformanceResourceTiming extension
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJSON(
) → dynamic -
Available on PerformanceEntry, provided by the PropsPerformanceEntry extension
-
toJSON(
) → dynamic -
Available on PerformanceResourceTiming, provided by the PropsPerformanceResourceTiming extension
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited