Performance class
- Inheritance
- Object
- EventTarget
- Performance
- Annotations
- @DocsEditable()
- @DomName('Performance')
- @SupportedBrowser(SupportedBrowser.CHROME)
- @SupportedBrowser(SupportedBrowser.FIREFOX)
- @SupportedBrowser(SupportedBrowser.IE)
- @Native("Performance")
Properties
- memory → MemoryInfo
-
@DocsEditable(), @DomName('Performance.memory'), @Experimental(), final
-
@DocsEditable(), @DomName('Performance.navigation'), final
- timeOrigin → num
-
@DocsEditable(), @DomName('Performance.timeOrigin'), @Experimental(), final
- timing → PerformanceTiming
-
@DocsEditable(), @DomName('Performance.timing'), final
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- on → Events
-
This is an ease-of-use accessor for event streams which should only be
used when an explicit accessor is not available.
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
clearMarks(
String markName) → void -
@DocsEditable(), @DomName('Performance.clearMarks'), @Experimental()
-
clearMeasures(
String measureName) → void -
@DocsEditable(), @DomName('Performance.clearMeasures'), @Experimental()
-
clearResourceTimings(
) → void -
@DocsEditable(), @DomName('Performance.clearResourceTimings'), @Experimental()
-
getEntries(
) → List< PerformanceEntry> -
@DocsEditable(), @DomName('Performance.getEntries'), @Experimental()
-
getEntriesByName(
String name, String entryType) → List< PerformanceEntry> -
@DocsEditable(), @DomName('Performance.getEntriesByName'), @Experimental()
-
getEntriesByType(
String entryType) → List< PerformanceEntry> -
@DocsEditable(), @DomName('Performance.getEntriesByType'), @Experimental()
-
mark(
String markName) → void -
@DocsEditable(), @DomName('Performance.mark'), @Experimental()
-
measure(
String measureName, String startMark, String endMark) → void -
@DocsEditable(), @DomName('Performance.measure'), @Experimental()
-
now(
) → double -
@DocsEditable(), @DomName('Performance.now')
-
setResourceTimingBufferSize(
int maxSize) → void -
@DocsEditable(), @DomName('Performance.setResourceTimingBufferSize'), @Experimental()
-
addEventListener(
String type, EventListener listener, [ bool useCapture ]) → void -
inherited
-
dispatchEvent(
Event event) → bool -
@DocsEditable(), @DomName('EventTarget.dispatchEvent'), inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
removeEventListener(
String type, EventListener listener, [ bool useCapture ]) → void -
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited