HttpInterceptorBenchmark class

🚀 BENCHMARKS ESPECÍFICOS PARA OBSLY Benchmark del interceptor HTTP con diferentes cargas

Inheritance

Constructors

HttpInterceptorBenchmark({required String name, required String endpoint, Map<String, String>? headers, String? requestBody, String httpMethod = 'GET', int iterations = 20})

Properties

description → String
finalinherited
endpoint → String
final
hashCode → int
The hash code for this object.
no setterinherited
headers → Map<String, String>?
final
httpMethod → String
final
iterations → int
finalinherited
name → String
finalinherited
requestBody → String?
final
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