Dart SDK
dart:html
Performance
class
Performance
Constants
Static Properties
Properties
Methods
Constants
resourceTimingBufferFullEvent
Static properties
supported
Properties
memory
navigation
timing
onResourceTimingBufferFull
on
Methods
clearMarks
clearMeasures
getEntries
getEntriesByName
getEntriesByType
mark
measure
now
clearResourceTimings
setResourceTimingBufferSize
addEventListener
removeEventListener
dispatchEvent
(Not documented.)
Annotations
DocsEditable()
DomName('Performance')
SupportedBrowser(SupportedBrowser.CHROME)
SupportedBrowser(SupportedBrowser.FIREFOX)
SupportedBrowser(SupportedBrowser.IE)
Extends
Object
EventTarget
Performance
Constants
EventStreamProvider
<
Event
>
resourceTimingBufferFullEvent
=
const
EventStreamProvider
<
Event
>
('webkitresourcetimingbufferfull')
const
Static factory designed to expose resourcetimingbufferfull events to event handlers that are not necessarily instances of
Performance
.
Static Properties
bool
supported
read-only
Checks if this type is supported on the current platform.
Properties
MemoryInfo
memory
read-only
PerformanceNavigation
navigation
read-only
PerformanceTiming
timing
read-only
Stream
<
Event
>
onResourceTimingBufferFull
read-only
Stream of resourcetimingbufferfull events handled by this [Performance].
Events
on
read-only ,
inherited
This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
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
(
String
type
,
dynamic
listener
(
Event
event
)
, [
bool
useCapture
]) →
void
inherited
removeEventListener
(
String
type
,
dynamic
listener
(
Event
event
)
, [
bool
useCapture
]) →
void
inherited
dispatchEvent
(
Event
event
) →
bool
inherited