PerformanceEntry class
The 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).
instances will always be one of the following subtypes:
PerformanceMark PerformanceMeasure PerformanceNavigationTiming PerformanceResourceTiming PerformancePaintTiming
Note: This feature is available in Web Workers
- Implementers
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- PerformanceEntry()
-
factory
Properties
- duration → double
-
Available on PerformanceEntry, provided by the PropsPerformanceEntry extension
no setter - entryType → String
-
Available on PerformanceEntry, provided by the PropsPerformanceEntry extension
no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Available on PerformanceEntry, provided by the PropsPerformanceEntry extension
no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startTime → double
-
Available on PerformanceEntry, provided by the PropsPerformanceEntry 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited