IBM interview question

How do you detect performance bottlenecks?