BenchmarkComparison class

Comparison between two benchmark results.

Provides detailed analysis of performance differences between a test variant and a baseline.

Constructors

BenchmarkComparison({required BenchmarkResult baseline, required BenchmarkResult test})
Creates a comparison between two results.

Properties

baseline → BenchmarkResult
The baseline result being compared against.
final
hashCode → int
The hash code for this object.
no setterinherited
improvementPercent → double
Percentage improvement ((baseline - test) / baseline * 100).
no setter
isReliable → bool
Whether the comparison is statistically meaningful.
no setter
reliability → ReliabilityLevel
Combined reliability level (worst of the two measurements).
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
speedup → double
Speedup ratio (baseline.median / test.median).
no setter
test → BenchmarkResult
The test result being compared.
final

Methods

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