AsyncBenchmark class abstract
Base class for asynchronous code.
Constructors
- AsyncBenchmark([String? name])
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
-
measure(
[BenchmarkSettings? settings]) → Future< BenchmarkResult> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
run(
) → Future< void> -
setup(
) → Future< void> - Prepare the benchmark before execution. Not included in the measured time.
-
teardown(
) → Future< void> - Clean up after the benchmark has finished.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited