BenchmarkRunnerConfig class
Runner-level configuration.
Constructors
-
BenchmarkRunnerConfig({Duration timeout = const Duration(minutes: 5), Map<
String, dynamic> globalConfig = const {}, int defaultConcurrency = 1}) -
Creates a runner configuration.
const
Properties
- defaultConcurrency → int
-
Default suite concurrency when BenchmarkRunner.run gets no explicit
value.
1executes scenarios sequentially.final -
globalConfig
→ Map<
String, dynamic> -
Default configuration merged under every per-run config.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeout → Duration
-
Per-scenario timeout. A scenario exceeding it is marked failed with a
synthetic
timeoutthreshold violation (FR-013).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