PerformanceController class
Controller for performance monitoring and transaction tracking
Properties
-
activeTransactions
→ Map<
String, PerformanceTransaction> -
Get active transactions for debugging
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void - Dispose and cleanup
-
endTransaction(
String name, {String? updatedDescription}) → Future< void> - End a performance transaction and generate final event with all data
-
finishStep(
String stepName, String transactionName, {String? updatedDescription}) → Future< void> - Finish a step within a transaction (manages state and checks auto-finish)
-
getPerformanceSummary(
) → Map< String, dynamic> - Get performance summary
-
initialize(
{required ObslyHub hub}) → void - Initialize performance controller
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
startStep(
String stepName, String transactionName, {String? description, int? startNanoTime}) → Future< void> - Start a step within a transaction
-
startTransaction(
String name, {String? description, int? startNanoTime, int? autofinishWithStepsCount}) → Future< void> - Start a performance transaction
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → PerformanceController
-
no setter