CallTimingBenchmark class
Helper class to track timing benchmarks during call connection. Used to identify performance bottlenecks in the call setup process. All benchmarks are collected and logged together when the call connects.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
end(
) → void - Ends the benchmark and logs a formatted summary of all milestones.
-
mark(
String milestone) → void - Records a milestone with the current elapsed time.
-
markFirstCandidate(
) → void - Records the first ICE candidate (only once per call).
-
start(
{bool isOutbound = false}) → void -
Starts the benchmark timer.
isOutboundindicates if this is an outbound call (true) or inbound (false).