Suite class

A class that represents a suite of benchmarks.

Constructors

Suite.new({Duration measureDuration = const Duration(seconds: 1)})
Creates a new instance of Suite.

Properties

hashCode int
The hash code for this object.
no setterinherited
measureDuration Duration
The duration for which each benchmark will be run.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(OpsBenchmarkBase benchmark) → void
Adds a benchmark to the suite.
addReport(Report report) → void
Adds a report to be generated after running the benchmarks.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run({bool removeLogs = true}) Future<List<CaseResult>>
Runs the benchmarks in the suite and generates the reports.
toString() String
A string representation of this object.
inherited

Operators

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