PerfInsightRules class abstract final

The rules. Stateless; evaluate is the contributor.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

evaluate(Map<String, Object?> report, PerfRuleInputs inputs) → List<Map<String, Object?>>
Runs every rule against report and returns the insights that fired, in the shape dusk's contributor seam takes.

Constants

castMinPerFrame → const double
Computed attribute casts per painted frame.
httpMaxPerInteraction → const int
Requests one interaction may send.
httpMaxSameRequestPerInteraction → const int
Times one interaction may send the same request.
mediaQueryMinPerFrame → const double
MediaQuery size reads per painted frame.
notifyMinPerFrame → const double
Notifies of one cause per painted frame. Past one, the frame coalesced the rest: work done for no pixel.
parseMinMisses → const int
Parse misses a warm surface may take before the rate is judged at all.
parseMinMissRate → const double
Share of parses that missed the cache.
timerNotifyMinPerSecond → const double
Timer-driven notifies per second of session. A one-second countdown is one; a poll or debounce firing faster is the storm.
uncachedReloadsMaxPerInteraction → const int
Reloads of one model type inside one interaction that each issued their own request. The first is the fetch; a second is a refetch.
wrapperMinPerFrame → const double
...and this many times per painted frame, so a screen of three buttons does not report its three MouseRegions.
wrapperMinPerWidgetBuild → const double
A wrapper type is reported once it is emitted this many times per W-widget build...