BenchmarkComparison class
A class that represents a comparison of benchmark results.
Constructors
-
BenchmarkComparison.new({required List<
BenchmarkResult> syncResults, required List<BenchmarkResult> asyncResults, required int valueSize, required int iterations})
Properties
-
asyncResults
→ List<
BenchmarkResult> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- iterations → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
syncResults
→ List<
BenchmarkResult> -
final
- valueSize → int
-
final
Methods
-
getImprovementPercentages(
) → Map< String, double> - Gets the performance improvement of async over sync as a percentage.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited