PerformanceMark class

is an abstract interface for PerformanceEntry objects with an entryType of "mark". Entries of this type are created by calling performance.mark() to add a named double (the mark) to the browser's performance timeline.

PerformanceEntry

PerformanceMark

Note: This feature is available in Web Workers

Implemented types
Available extensions
Annotations
  • @JS.new()
  • @staticInterop

Constructors

PerformanceMark(String markName, [PerformanceMarkOptions? markOptions])
factory

Properties

detail → dynamic

Available on PerformanceMark, provided by the PropsPerformanceMark extension

no setter
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