PerformanceSummary class

Quick performance summary for monitoring dashboards

Constructors

PerformanceSummary({required double hitRate, required Duration averageFetchTime, required int memoryUsage, required int activeQueries, required int totalQueries, required bool isHealthy})
Creates a quick performance summary.
const

Properties

activeQueries int
Number of active queries.
final
averageFetchTime Duration
Average fetch duration across observed queries.
final
hashCode int
The hash code for this object.
no setterinherited
hitRate double
Cache hit rate in the 0.0..1.0 range.
final
hitRatePercentage double
Hit rate as percentage
no setter
isHealthy bool
Whether the system currently meets health criteria.
final
memoryUsage int
Current memory usage in bytes.
final
memoryUsageMB double
Memory usage in MB
no setter
queryUtilization double
Query utilization (active vs total)
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalQueries int
Total number of known queries.
final

Methods

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

Operators

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