Technique for Automation of Instantaneous Performance Optimization