PerformanceMark extension type
PerformanceMark
is an interface for PerformanceEntry objects with an
PerformanceEntry.entryType of "mark
".
Entries of this type are typically created by calling Performance.mark to add a named DOMHighResTimeStamp (the mark) to the browser's performance timeline. To create a performance mark that isn't added to the browser's performance timeline, use the constructor.
API documentation sourced from MDN Web Docs.
- on
- Implemented types
- Available extensions
Constructors
- PerformanceMark(String markName, [PerformanceMarkOptions markOptions])
-
factory
Properties
- detail → JSAny?
-
The read-only
detail
property returns arbitrary metadata that was included in the mark upon construction (either when using Performance.mark or thePerformanceMark.PerformanceMark
constructor).no setter - duration → double
-
The read-only
duration
property 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 - entryType → String
-
The read-only
entryType
property returns a string representing the type of performance metric that this entry represents.no setterinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The read-only
name
property 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 - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startTime → double
-
The read-only
startTime
property returns the first recorded for this . The meaning of this property depends on the value of this entry's PerformanceEntry.entryType.no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJSON(
) → JSObject -
The
toJSON()
method is a ; it returns a JSON representation of the PerformanceEntry object.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited