BenchmarkTest class abstract
🎯 Framework sistemático y extensible para benchmarks de performance
Permite crear, ejecutar y reportar benchmarks de diferentes componentes del SDK de forma consistente y comparable
- Implementers
Constructors
- BenchmarkTest({required String name, required String description, int iterations = 50, Duration timeout = const Duration(seconds: 30)})
Properties
- description → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- iterations → int
-
final
- name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeout → Duration
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
run(
) → Future< BenchmarkResult> - Ejecuta el benchmark y retorna métricas
-
setup(
) → Future< void> - Setup antes del benchmark (opcional)
-
teardown(
) → Future< void> - Cleanup después del benchmark (opcional)
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited