CaseResult class

A class representing the result of a benchmark case. It contains information about the benchmark group, name, average score, standard deviation percentage, standard deviation, and whether it is the best or worst case.

Constructors

CaseResult.new({required String group, required String name, required double avgScore, required double avgScorePerSecond, required double stdDevPercentage, required double stdDev, required bool best, required double differenceFromBest, required bool worst, required double avgTime, required double minTime, required double maxTime, required double p75Time, required double p95Time, required double p99Time, required double p999Time, required String cpu, required String system, required String memory})
Creates a new instance of CaseResult.
const

Properties

avgScore double
The average score of the benchmark case.
final
avgScorePerSecond double
The average score per second of the benchmark case.
final
avgTime double
The average time per iteration of the benchmark case.
final
best bool
Indicates if the benchmark case is the best case.
final
cpu String
The CPU on which the tests have been conducted.
final
differenceFromBest double
The difference from the best case in percentage.
final
group String
The group name of the benchmark case.
final
hashCode int
The hash code for this object.
no setterinherited
maxTime double
The maximum time per iteration of the benchmark case.
final
memory String
The memory on which the tests have been conducted.
final
minTime double
The minimum time per iteration of the benchmark case.
final
name String
The name of the benchmark case.
final
p75Time double
p75 time per iteration of the benchmark case.
final
p95Time double
p95 time per iteration of the benchmark case.
final
p999Time double
p999 time per iteration of the benchmark case.
final
p99Time double
p99 time per iteration of the benchmark case.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stdDev double
The standard deviation of the benchmark case.
final
stdDevPercentage double
The standard deviation percentage of the benchmark case.
final
system String
The system on which the tests have been conducted.
final
worst bool
Indicates if the benchmark case is the worst case.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Creates a new instance of CaseResult from a map.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited