Selecting the Transition Speeds of Engine Control Tasks to Optimize the Performance