|
IntroductionIn this paper I'll demonstrate how the combination of JBuilder and Optimizeit were used to solve performance problems with an email agent I've created. Before I started using these tools my application was taking several minutes to run against a sample mailbox that contained about 4,000 email messages. After I finished the tuning process the runtime was reduced to about 10 seconds (TIME). Because my first approach was very inefficient, it also consumed a large amount of memory. The new, optimized code now also uses much less memory.Before trying Optimizeit I made several attempts to debug the performance problems using command line tools. However, this optimization process was slow and never did provide the level of detail or interactivity I achieved with Optimizeit. When I switched to Optimizeit I was able to make all the changes I wanted in the code in less than 24 hours. I can't say that it will always go that well, but it certainly shows what is possible.
Next: A quick introduction to Up: Performance Tuning with Optimizeit Previous: Performance Tuning with Optimizeit |