PerformanceHistoryManager class

Manages the historical recording of performance metrics.

Stores snapshots over time to enable timeline visualization and trend analysis.

Properties

hashCode int
The hash code for this object.
no setterinherited
history List<MetricsSnapshot>
Returns all recorded snapshots.
no setter
maxHistorySize int
Maximum number of snapshots to keep.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clear() → void
Clears all history.
getTrend(Duration window) PerformanceTrend
Calculates trends.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
record() → void
Records a current snapshot.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance PerformanceHistoryManager
Singleton instance.
no setter