The notion that moderate anxiety can be beneficial goes back at least to 1908, when Harvard psychologists Robert Yerkes and John Dodson posited that arousal (as they called it) enhances performance but only to a point.
WSJ: Anxiety Can Bring Out the Best