FAQ #2865, published on 2004-06-28
[Topic: profiler, speed]
I wish to optimize the parts of my application that are the most often used by my customers. How can I do?
The profiler is your best friend. Just add the ProfilerStart() and ProfilerStop() commands into your code and install the application. A .WPF file will be created in the application folder. Using this file, the profiler will be able to tell you which parts were the most often used, their duration, how many times they have been called, etc.

All the information you need to optimize the code that is intensively used.
See also : profiler, speed