How to debug webapp performance proactively?
The best approach to debug poor performance is to detect when and why the performance is poor. The obvious approach is to monitor and measure the performance continuously.
For web applications Hudson and the Grinder Plugin can be used.