PerformanceInfo class

Describes the performance of an action.

Note that this class is complete in a sense that is is possible to track all types of performance data Matomo supports, even if in an app context, not all performance data might make sense (e.g. domProcessingTime, onloadTime).

Read more about Performance Tracking.

Constructors

PerformanceInfo({Duration? networkTime, Duration? serverTime, Duration? transferTime, Duration? domProcessingTime, Duration? domCompletionTime, Duration? onloadTime})
Describes the performance of an action.
factory

Properties

domCompletionTime Duration?
How long it takes for the browser to load media and execute any Javascript code listening for the DOMContentLoaded event.
final
domProcessingTime Duration?
How long the browser spends loading the webpage after the response was fully received until the user can start interacting with it.
final
hashCode int
The hash code for this object.
no setterinherited
networkTime Duration?
How long it took to connect to server.
final
onloadTime Duration?
How long it takes the browser to execute Javascript code waiting for the window.load event.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverTime Duration?
How long it took the server to generate page.
final
transferTime Duration?
How long it takes the browser to download the response from the server.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, String>
Converts this object to a map.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited