SyncBenchmark class abstract

Base class for a synchronous code.

Inheritance

Constructors

SyncBenchmark([String? name])

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

measure([BenchmarkSettings? settings]) BenchmarkResult
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run() → void
setup() → void
Prepare the benchmark before execution. Not included in the measured time.
teardown() → void
Clean up after the benchmark has finished.
toString() String
A string representation of this object.
inherited

Operators

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