PerformanceSummary class
Aggregate view of all provider performance data at a point in time.
Provides summary statistics (totals, averages) and convenience methods for finding the slowest or most frequently rebuilt providers.
Constructors
-
PerformanceSummary({required List<
ProviderPerformance> providerPerformances, required DateTime collectedAt})
Properties
- averageUpdateDurationPerProvider → Duration
-
Average update duration across all providers.
no setter
- collectedAt → DateTime
-
When this summary was taken.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
providerPerformances
→ List<
ProviderPerformance> -
Performance data for every tracked provider.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalRebuilds → int
-
Sum of all rebuild counts across all providers.
no setter
- totalUpdateDuration → Duration
-
Sum of all update durations across all providers.
no setter
- totalUpdates → int
-
Sum of all update counts across all providers.
no setter
Methods
-
mostRebuiltProviders(
{int limit = 5}) → List< ProviderPerformance> -
Returns the
limitproviders with the highest rebuild count. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
slowestProviders(
{int limit = 5}) → List< ProviderPerformance> -
Returns the
limitproviders with the highest average update duration. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited