MetricCollector class abstract

Extensible interface for capturing custom metrics during benchmark execution (FR-006).

Implementers

Constructors

MetricCollector()

Properties

hashCode → int
The hash code for this object.
no setterinherited
id → String
Unique collector identifier (kebab-case).
no setter
name → String
Human-readable collector name.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

beforeBenchmark(MetricContext context) → Future<void>
Called before each benchmark scenario.
collect(MetricContext context) → Future<Map<String, num>>
Called after each benchmark scenario; the returned metrics are merged into the scenario's final BenchmarkResult.metrics.
finalize() → Future<void>
Called once after the suite ends.
initialize() → Future<void>
Called once before the suite starts.
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