flow_analyzer library
A lightweight Dart library designed to help you track, measure, and visualize the performance of operations in your codebase.
Classes
- CallLocation
- FlowAnalyzer
-
The
FlowAnalyzer
class is responsible for analyzing the flow of data within the application. It provides methods and properties to inspect, monitor, and manipulate the flow of data to ensure it meets the desired criteria and performance standards. - FlowOperation
-
The
FlowOperation
class represents an operation within a flow, capturing details such as its name, start and end times, sub-flows, and locations where the flow starts and ends. This class provides various methods to calculate durations related to the flow and its sub-flows. - FlowOperationOutputMode
-
The
FlowOperationOutputMode
class is responsible for outputting the results of a FlowOperation to the console or other output medium. - IndentedFlowOperationOutputMode
- The IndentedFlowOperationOutputMode class is responsible for outputting the results of a FlowOperation to the console in an indented format.
Enums
- PrettyFormat
- The format to use when pretty printing a duration.
Extensions
- LongestFileLocation on FlowOperation
-
Extension on
FlowOperation
to calculate the longest file location length for both start and end flow locations within a flow operation and its subflows. - MaxTime on FlowOperation
-
Extension on
FlowOperation
to provide methods for calculating the longest durations. - NotTrackedSubFlowsDurationInfo on FlowOperation
- Extension on FlowOperation to calculate the duration of subflows that are not tracked within the current flow operation.
- Percentage on double
-
Extension on
double
to provide percentage-related utility methods. - PrettyDuration on Duration
- Extension that provides a pretty formatted string representation of a Duration object.