Performance class

Annotated by:
  • DocsEditable()
  • DomName('Performance')
  • SupportedBrowser(SupportedBrowser.CHROME)
  • SupportedBrowser(SupportedBrowser.FIREFOX)
  • SupportedBrowser(SupportedBrowser.IE)
Extends:

Constants

resourceTimingBufferFullEvent = const EventStreamProvider<Event>('webkitresourcetimingbufferfull')
Static factory designed to expose resourcetimingbufferfull events to event handlers that are not necessarily instances of Performance.

Static Properties

supported bool
read-only

Instance Properties

memory MemoryInfo
read-only
read-only
timing PerformanceTiming
read-only
onResourceTimingBufferFull Stream<Event>
read-only
on Events Inherited
read-only

Instance Methods

clearMarks ( String markName ) → void
clearMeasures ( String measureName ) → void
getEntries ( ) → List<PerformanceEntry>
getEntriesByName ( String name, String entryType ) → List<PerformanceEntry>
getEntriesByType ( String entryType ) → List<PerformanceEntry>
mark ( String markName ) → void
measure ( String measureName, String startMark, String endMark ) → void
now ( ) → double
clearResourceTimings ( ) → void
setResourceTimingBufferSize ( int maxSize ) → void
addEventListener Inherited ( String type, dynamic listener(Event event), [bool useCapture] ) → void
removeEventListener Inherited ( String type, dynamic listener(Event event), [bool useCapture] ) → void
dispatchEvent Inherited ( Event event ) → bool