BenchmarkSettings class
Constructors
- BenchmarkSettings({Duration warmupTime = const Duration(milliseconds: 100), Duration minimumRunTime = const Duration(seconds: 2)})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- minimumRunTime → Duration
-
Function will be executed multiple times until minimumRunTime passes.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- warmupTime → Duration
-
Time to run the function to warm it up in the VM. Not measured.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited