In this section, we will discuss each of our findings using source code inspection and discuss how to fix the different performance issues identified.
At this moment, you can try to scan the code of the identified performance issues and do your own analysis and possible resolutions, and then compare your results with our results.
You may review our fixing strategy as well from Chapter 8, Memory Profiling.
The issue here is clear that the application hangs while waiting for a response from the mail server. What we can do here is push mail sending as an asynchronous operation, so that our application responds back to the user and the mail is sent in ...