How do you analyze and improve the performance of a web application?

Technical