logPerformance static method
Log a performance metric
Implementation
static void logPerformance(
String widgetType, String operation, int durationMicros) {
if (_logPerformanceMetrics) {
print('Sugar $widgetType: $operation took ${durationMicros}μs');
}
}