Over the course of this book, we have seen how much the performance and scalability of an application matters inside an enterprise environment; with this in mind, we dedicated a significant portion of the book to understanding how to build an application that is not only performant but is also scalable.
So far, we have just seen some best practices for what we can do to build a performant and scalable application, but not how to figure out whether a particular piece of code in our application is slow and what might be causing it.
For any enterprise-grade application, improving its performance and scalability is an ongoing process, as the user base of the application keeps growing and the application's functionality continues to get more and more sophisticated. All of this effort requires an understanding of what is going on inside the...