BenchmarkResults class

The result of running a benchmark.

Constructors

BenchmarkResults(Map<String, List<BenchmarkScore>> scores)
Constructs a result containing scores from a single run benchmark run.
BenchmarkResults.parse(Map<String, Object?> json)
Deserializes a JSON object to create a BenchmarkResults object.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scores → Map<String, List<BenchmarkScore>>
Scores collected in a benchmark run.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, List<Map<String, Object?>>>
Serializes benchmark metrics to JSON.
toString() → String
A string representation of this object.
inherited

Operators

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