To improve the performance of an Ajax application, it is better to monitor the performance for identifying the bottleneck. Depending on the information you’d like to know, there are a few approaches.

For sample implementations, you might take a look at the following articles: