The sections below describe the general procedure of estimating application performance with AQTime.
To estimate your application’s performance and find potential bottlenecks, use AQTime’s Performance profiler. Note that during profiling, AQTime collects a lot of statistics on each profiled routine or source code line, which may significantly decrease AQTime’s performance and slow down the profiling process. To estimate your application's performance faster and more effectively, first, you need to pinpoint potential bottlenecks (that is, the most frequently executed functions that take much time) and then perform a more detailed investigation of the application run and find parts of code that need to be rewritten.
Below is the general procedure of finding bottlenecks in your managed and unmanaged applications:
Profile the entire application with the Performance profiler at routine level and get results.
Analyze the profiling results. You will get a list of routines that take up the most execution time.
Add the problematic routines to the line-level area and profile them with the Performance profiler.
Analyze the profiling results and find the problematic code lines.
After you analyze the profiling results and find potential bottlenecks, you can rewrite the code snippet containing the problematic lines and then estimate the application performance anew.
Quick Analysis of Unmanaged Applications
You can quickly analyze the performance of your unmanaged applications with the Sampling profiler and determine what methods of your unmanaged applications tend to take up the most or the least execution time. The Sampling profiler works much faster than the Performance profiler, however, it collects less accurate data. To pinpoint the methods that you may need to rewrite, do the following:
Profile the entire application at line level with the Sampling profiler and get profiling results.
Analyze the results and find the most frequently used routines and lines.
Add the desired routines to the line-level area and profile them with the Performance profiler to collect detailed and accurate statistics.