If you feel that your XPage application is too slow, XPages Toolbox can help you to find the biggest bottlenecks in your code.
If you haven't tried it, I highly recommend that you give it a spin (it's free). If you like it, give it a good rating.
+1 to Philippe Riand for sharing it with the community :)