Optimized the EnginePerformanceMonitor