throughput property
double
get
throughput
Throughput: jobs completed per second since start.
Implementation
double get throughput {
final startVal = _startedAt;
if (startVal == null || _succeeded == 0) return 0;
final elapsed = DateTime.now().difference(startVal).inSeconds;
return elapsed > 0 ? _succeeded / elapsed : 0;
}