AI-powered performance optimization