RiftProfiler class

Performance profiler for Rift database operations. Tracks timing, memory, and throughput metrics.

Constructors

RiftProfiler()

Properties

allStats Map<String, _OperationStats>
Get all operation statistics.
no setter
hashCode int
The hash code for this object.
no setterinherited
isEnabled bool
Whether the profiler is currently enabled.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

disable() → void
Disable the profiler.
enable() → void
Enable the profiler.
generateReport() ProfilerReport
Generate a performance report.
getStats(String operation) → _OperationStats?
Get statistics for an operation.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
record(String operation, Duration elapsed, {bool success = true}) → void
Record an operation timing.
reset() → void
Reset all statistics.
time<T>(String operation, Future<T> fn()) Future<T>
Time an async operation.
timeSync<T>(String operation, T fn()) → T
Time a synchronous operation.
toString() String
A string representation of this object.
inherited

Operators

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