PerformanceNavigationTiming extension type
The PerformanceNavigationTiming interface 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.
Only the current document is included in the performance timeline, so there
is only one PerformanceNavigationTiming object in the performance
timeline. It inherits all of the properties and methods of
PerformanceResourceTiming and PerformanceEntry.
The following diagram shows all of the timestamp properties defined in
PerformanceNavigationTiming.
API documentation sourced from MDN Web Docs.
- on
- Implemented types
- Available extensions
Properties
- connectEnd → double
-
The
connectEndread-only property returns the DOMHighResTimeStamp immediately after the browser finishes establishing the connection to the server to retrieve the resource. The timestamp value includes the time interval to establish the transport connection, as well as other time intervals such as TLS handshake and SOCKS authentication.no setterinherited - connectStart → double
-
The
connectStartread-only property returns the DOMHighResTimeStamp immediately before the user agent starts establishing the connection to the server to retrieve the resource.no setterinherited - decodedBodySize → int
-
The
decodedBodySizeread-only property returns the size (in octets) received from the fetch (HTTP or cache) of the message body after removing any applied content encoding (like gzip or Brotli). If the resource is retrieved from an application cache or local resources, it returns the size of the payload after removing any applied content encoding.no setterinherited - domainLookupEnd → double
-
The
domainLookupEndread-only property returns the DOMHighResTimeStamp immediately after the browser finishes the domain-name lookup for the resource.no setterinherited - domainLookupStart → double
-
The
domainLookupStartread-only property returns the DOMHighResTimeStamp immediately before the browser starts the domain name lookup for the resource.no setterinherited - domComplete → double
-
The
domCompleteread-only property returns a DOMHighResTimeStamp representing the time immediately before the user agent sets the document'sreadyStateto"complete".no setter - domContentLoadedEventEnd → double
-
The
domContentLoadedEventEndread-only property returns a DOMHighResTimeStamp representing the time immediately after the current document'sDOMContentLoadedevent handler completes.no setter - domContentLoadedEventStart → double
-
The
domContentLoadedEventStartread-only property returns a DOMHighResTimeStamp representing the time immediately before the current document'sDOMContentLoadedevent handler starts.no setter - domInteractive → double
-
The
domInteractiveread-only property returns a DOMHighResTimeStamp representing the time immediately before the user agent sets the document'sreadyStateto"interactive".no setter - duration → double
-
The read-only
durationproperty returns a that is the duration of the . The meaning of this property depends on the value of this entry's PerformanceEntry.entryType.no setterinherited - encodedBodySize → int
-
The
encodedBodySizeread-only property represents the size (in octets) received from the fetch (HTTP or cache) of the payload body before removing any applied content encodings (like gzip or Brotli). If the resource is retrieved from an application cache or a local resource, it must return the size of the payload body before removing any applied content encoding.no setterinherited - entryType → String
-
The read-only
entryTypeproperty returns a string representing the type of performance metric that this entry represents.no setterinherited - fetchStart → double
-
The
fetchStartread-only property represents a DOMHighResTimeStamp immediately before the browser starts to fetch the resource.no setterinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- initiatorType → String
-
The
initiatorTyperead-only property is a string representing web platform feature that initiated the resource load.no setterinherited - isDefinedAndNotNull → bool
-
Available on JSAny?, provided by the NullableUndefineableJSAnyExtension extension
no setter - isNull → bool
-
Available on JSAny?, provided by the NullableUndefineableJSAnyExtension extension
Whether this value corresponds to JavaScriptnull.no setter - isTruthy → JSBoolean
-
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of!!in JavaScript.thisno setter - isUndefined → bool
-
Available on JSAny?, provided by the NullableUndefineableJSAnyExtension extension
Whether this value corresponds to JavaScriptundefined.no setter - isUndefinedOrNull → bool
-
Available on JSAny?, provided by the NullableUndefineableJSAnyExtension extension
no setter - loadEventEnd → double
-
The
loadEventEndread-only property returns a DOMHighResTimeStamp representing the time immediately after the current document'sloadevent handler completes.no setter - loadEventStart → double
-
The
loadEventStartread-only property returns a DOMHighResTimeStamp representing the time immediately before the current document'sloadevent handler starts.no setter - name → String
-
The read-only
nameproperty of the PerformanceEntry interface is a string representing the name for a performance entry. It acts as an identifier, but it does not have to be unique. The value depends on the subclass.no setterinherited - nextHopProtocol → String
-
The
nextHopProtocolread-only property is a string representing the network protocol used to fetch the resource, as identified by the ALPN Protocol ID (RFC7301).no setterinherited - not → JSBoolean
-
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of!in JavaScript.thisno setter - redirectCount → int
-
The
redirectCountread-only property returns a number representing the number of redirects since the last non-redirect navigation in the current browsing context.no setter - redirectEnd → double
-
The
redirectEndread-only property returns a DOMHighResTimeStamp immediately after receiving the last byte of the response of the last redirect.no setterinherited - redirectStart → double
-
The
redirectStartread-only property returns a DOMHighResTimeStamp representing the start time of the fetch which that initiates the redirect.no setterinherited - renderBlockingStatus → RenderBlockingStatusType
-
The
renderBlockingStatusread-only property returns the render-blocking status of the resource.no setterinherited - requestStart → double
-
The
requestStartread-only property returns a DOMHighResTimeStamp of the time immediately before the browser starts requesting the resource from the server, cache, or local resource. If the transport connection fails and the browser retires the request, the value returned will be the start of the retry request.no setterinherited - responseEnd → double
-
The
responseEndread-only property returns a DOMHighResTimeStamp immediately after the browser receives the last byte of the resource or immediately before the transport connection is closed, whichever comes first.no setterinherited - responseStart → double
-
The
responseStartread-only property returns a DOMHighResTimeStamp immediately after the browser receives the first byte of the response from the server, cache, or local resource.no setterinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secureConnectionStart → double
-
The
secureConnectionStartread-only property returns a DOMHighResTimeStamp immediately before the browser starts the handshake process to secure the current connection. If a secure connection is not used, the property returns zero.no setterinherited -
serverTiming
→ JSArray<
PerformanceServerTiming> -
The
serverTimingread-only property returns an array of PerformanceServerTiming entries containing server timing metrics.no setterinherited - startTime → double
-
The read-only
startTimeproperty returns the first recorded for this . The meaning of this property depends on the value of this entry's PerformanceEntry.entryType.no setterinherited - transferSize → int
-
The
transferSizeread-only property represents the size (in octets) of the fetched resource. The size includes the response header fields plus the response payload body (as defined by RFC7230).no setterinherited - type → NavigationTimingType
-
The
typeread-only property returns the type of navigation.no setter - unloadEventEnd → double
-
The
unloadEventEndread-only property returns a DOMHighResTimeStamp representing the time immediately after the current document'sunloadevent handler completes.no setter - unloadEventStart → double
-
The
unloadEventStartread-only property returns a DOMHighResTimeStamp representing the time immediately before the current document'sunloadevent handler starts.no setter - workerStart → double
-
The
workerStartread-only property of the PerformanceResourceTiming interface returns a DOMHighResTimeStamp immediately before dispatching the FetchEvent if a Service Worker thread is already running, or immediately before starting the Service Worker thread if it is not already running. If the resource is not intercepted by a Service Worker the property will always return 0.no setterinherited
Methods
-
add(
JSAny? any) → JSAny -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result ofin JavaScript.this+any -
and(
JSAny? any) → JSAny? -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result ofin JavaScript.this&&any -
callMethod<
R extends JSAny?> (JSAny method, [JSAny? arg1, JSAny? arg2, JSAny? arg3, JSAny? arg4]) → R -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
Callsmethodon this JSObject with up to four arguments. -
callMethodVarArgs<
R extends JSAny?> (JSAny method, [List< JSAny?> ? arguments]) → R -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
Callsmethodon this JSObject with a variable number ofarguments. -
dartify(
) → Object? -
Available on JSAny?, provided by the JSAnyUtilityExtension extension
Converts a JavaScript JSON-like value to the Dart equivalent if possible. -
delete(
JSAny property) → JSBoolean -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
Deletes the property with keypropertyfrom this JSObject. -
divide(
JSAny? any) → JSAny -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result ofin JavaScript.this/any -
equals(
JSAny? any) → JSBoolean -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result ofin JavaScript.this==any -
exponentiate(
JSAny? any) → JSAny -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result ofin JavaScript.this**any -
getProperty<
R extends JSAny?> (JSAny property) → R -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
The value of the property keypropertyof this JSObject. -
greaterThan(
JSAny? any) → JSBoolean -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result ofin JavaScript.this>any -
greaterThanOrEqualTo(
JSAny? any) → JSBoolean -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result ofin JavaScript.this>=any -
has(
String property) → bool -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
Shorthand helper for hasProperty to check whether this JSObject contains the property keyproperty, but takes and returns a Dart value. -
hasProperty(
JSAny property) → JSBoolean -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
Whether or not this JSObject contains the property keyproperty. -
instanceof(
JSFunction constructor) → bool -
Available on JSAny?, provided by the JSAnyUtilityExtension extension
Whether thisJSAny?is aninstanceofconstructor. -
instanceOfString(
String constructorName) → bool -
Available on JSAny?, provided by the JSAnyUtilityExtension extension
Whether thisJSAny?is aninstanceofthe constructor that is defined byconstructorName, which is looked up in the globalContext. -
isA<
T extends JSAny?> () → bool -
Available on JSAny?, provided by the JSAnyUtilityExtension extension
Whether thisJSAny?is an instance of the JavaScript type that is declared byT. -
lessThan(
JSAny? any) → JSBoolean -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result ofin JavaScript.this<any -
lessThanOrEqualTo(
JSAny? any) → JSBoolean -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result ofin JavaScript.this<=any -
modulo(
JSAny? any) → JSAny -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result ofin JavaScript.this%any -
multiply(
JSAny? any) → JSAny -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result ofin JavaScript.this*any -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notEquals(
JSAny? any) → JSBoolean -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result ofin JavaScript.this!=any -
or(
JSAny? any) → JSAny? -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result ofin JavaScript.this||any -
setProperty(
JSAny property, JSAny? value) → void -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
Write thevalueof property keypropertyof this JSObject. -
strictEquals(
JSAny? any) → JSBoolean -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result ofin JavaScript.this===any -
strictNotEquals(
JSAny? any) → JSBoolean -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result ofin JavaScript.this!==any -
subtract(
JSAny? any) → JSAny -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result ofin JavaScript.this-any -
toJSON(
) → JSObject -
The
toJSON()method of the PerformanceNavigationTiming interface is a ; it returns a JSON representation of the PerformanceNavigationTiming object.override -
toString(
) → String -
A string representation of this object.
inherited
-
typeofEquals(
String typeString) → bool -
Available on JSAny?, provided by the JSAnyUtilityExtension extension
Whether the result oftypeofon thisJSAny?istypeString. -
unsignedRightShift(
JSAny? any) → JSNumber -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result ofin JavaScript.this>>>any
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
String property) → JSAny? -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
Shorthand helper for getProperty to get the value of the property keypropertyof this JSObject, but takes a Dart value. -
operator []=(
String property, JSAny? value) → void -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
Shorthand helper for setProperty to write thevalueof the property keypropertyof this JSObject, but takes a Dart value.