Amazon interview question

How would you test performance of your code?