StressTestResult class

Stress test result.

Constructors

StressTestResult({required int totalIterations, required int successCount, required int failureCount, required Duration totalDuration, Duration? averageLatency, Duration? minLatency, Duration? maxLatency, int? peakMemoryMB, List<String>? errors})
const

Properties

averageLatency → Duration?
Average latency per operation.
final
errors → List<String>?
Collected errors.
final
failureCount → int
Failed iterations.
final
hashCode → int
The hash code for this object.
no setterinherited
maxLatency → Duration?
Maximum latency.
final
minLatency → Duration?
Minimum latency.
final
peakMemoryMB → int?
Peak memory usage.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
successCount → int
Successful iterations.
final
successRate → double
Success rate (0-100).
no setter
throughput → double
Throughput (operations per second).
no setter
totalDuration → Duration
Total test duration.
final
totalIterations → int
Total iterations run.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited