Performance class
Provides access to performance-related information for the current page. It's part of the High Resolution Time API, but is enhanced by the Performance Timeline API, the Navigation Timing API, the User Timing API, and the Resource Timing API.
- Implemented types
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- Performance()
-
factory
Properties
- addEventListener ↔ void Function(String, [Object?, Object?])
-
Available on EventTarget, provided by the EventTarget$Typings extension
getter/setter pair -
addEventListener
→ ({void Function<
K$>(PerformanceEventMap< $1, void Function(String type, Object listener, [Object? options]) $2})K$> type, dynamic listener(K$), [Object? options]) -
Available on Performance, provided by the Performance$Typings extension
Overload accessor: $1, $2no setter - clearMarks ↔ void Function([String?])
-
Available on Performance, provided by the Performance$Typings extension
getter/setter pair - clearMeasures ↔ void Function([String?])
-
Available on Performance, provided by the Performance$Typings extension
getter/setter pair - clearResourceTimings ↔ void Function()
-
Available on Performance, provided by the Performance$Typings extension
getter/setter pair - dispatchEvent ↔ bool Function(Event)
-
Available on EventTarget, provided by the EventTarget$Typings extension
getter/setter pair - eventCounts → EventCounts
-
Available on Performance, provided by the Performance$Typings extension
MDN Referenceno setter - getEntries ↔ List Function()
-
Available on Performance, provided by the Performance$Typings extension
getter/setter pair - getEntriesByName ↔ List Function(String, [String?])
-
Available on Performance, provided by the Performance$Typings extension
getter/setter pair - getEntriesByType ↔ List Function(String)
-
Available on Performance, provided by the Performance$Typings extension
getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- mark ↔ PerformanceMark Function(String, [PerformanceMarkOptions?])
-
Available on Performance, provided by the Performance$Typings extension
getter/setter pair - measure ↔ PerformanceMeasure Function(String, [Object?, String?])
-
Available on Performance, provided by the Performance$Typings extension
getter/setter pair -
Available on Performance, provided by the Performance$Typings extension
no setter - now ↔ num Function()
-
Available on Performance, provided by the Performance$Typings extension
getter/setter pair - onresourcetimingbufferfull ↔ dynamic Function(Event)?
-
Available on Performance, provided by the Performance$Typings extension
MDN Referencegetter/setter pair - removeEventListener ↔ void Function(String, [Object?, Object?])
-
Available on EventTarget, provided by the EventTarget$Typings extension
getter/setter pair -
removeEventListener
→ ({void Function<
K$>(PerformanceEventMap< $1, void Function(String type, Object listener, [Object? options]) $2})K$> type, dynamic listener(K$), [Object? options]) -
Available on Performance, provided by the Performance$Typings extension
Overload accessor: $1, $2no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- setResourceTimingBufferSize ↔ void Function(num)
-
Available on Performance, provided by the Performance$Typings extension
getter/setter pair - timeOrigin → num
-
Available on Performance, provided by the Performance$Typings extension
MDN Referenceno setter - timing → PerformanceTiming
-
Available on Performance, provided by the Performance$Typings extension
no setter - toJSON ↔ dynamic Function()
-
Available on Performance, provided by the Performance$Typings extension
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited