Recorder class abstract
Base class for benchmark recorders.
Each benchmark recorder has a name and a run method at a minimum.
- Implementers
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isTracingEnabled → bool
-
Whether this recorder requires tracing using Chrome's DevTools Protocol's
"Tracing" API.
final
- name → String
-
The name of the benchmark.
final
- profile → Profile?
-
Returns the recorded profile.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
run(
) → Future< Profile> - The implementation of the benchmark that will produce a Profile.
-
setUpAll(
) → Future< void> - Called once before all runs of this benchmark recorder.
-
shouldContinue(
) → bool - Whether the benchmark should continue running.
-
tearDownAll(
) → Future< void> - Called once after all runs of this benchmark recorder.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited