Talk about a time you had to optimize code for performance. What metrics did you track, and what was the outcome?