peakQueueDepth property

int get peakQueueDepth

Peak queue depth

Implementation

int get peakQueueDepth {
  if (_queueDepthHistory.isEmpty) return 0;
  return _queueDepthHistory.fold<int>(
    0,
    (max, s) => s.depth > max ? s.depth : max,
  );
}