Testing and tuning your application can be an expensive, long and frustrating process. Testing cycles, tuning and regression testing can consume a lot of effort and resources. Performance testing is a crucial part of the software development lifecycle.
Ideally, performance testing should be done in an ongoing fashion just like functional testing. However, what usually happens is that performance testing is done in the last few weeks or days before a launch to production.