isPerformanceGood static method

bool isPerformanceGood()

Check if performance is acceptable (under 16.67ms for 60fps)

Implementation

static bool isPerformanceGood() {
  final Duration avgFrameTime = getAverageFrameTime();
  return avgFrameTime.inMilliseconds < 17; // 60fps target
}