InterceptorOverheadBenchmark class
Benchmark que compara interceptor vs cliente nativo
- Inheritance
-
- Object
- BenchmarkTest
- InterceptorOverheadBenchmark
Constructors
- InterceptorOverheadBenchmark({required String endpoint, int iterations = 30})
Properties
- description → String
-
finalinherited
- endpoint → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- iterations → int
-
finalinherited
- name → String
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeout → Duration
-
finalinherited
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
override
-
setup(
) → Future< void> -
Setup antes del benchmark (opcional)
inherited
-
teardown(
) → Future< void> -
Cleanup después del benchmark (opcional)
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited