operationsPerSecond property

double get operationsPerSecond

Gets the operations per second during the period.

Implementation

double get operationsPerSecond {
  final seconds = duration.inMilliseconds / 1000;
  if (seconds == 0) return 0;
  return totalOperations / seconds;
}