After your instrumented program exits, Quantify prints a program performance summary showing at a glance how the original non-Quantify'd program can be expected to perform.
If you are new to performance analysis, familiarize yourself with some of the common causes of slow code. Then begin the detailed analysis of your program's performance from the Quantify Control Panel.
From the Control Panel, you can open:
The Function List window, which displays in table format the statistics for the functions. You can sort them on the basis of a large number of criteria, such as the time the program spends in the function, the time the program spends in the function and its descendants, and the number of calls the function makes.
The Call Graph window, which displays a schematic representation of the calling structure and performance of the functions in the program. By default, the call graph displays the twenty functions that contributed most to the overall time of the program. As you examine your program's performance, you can show additional functions, hide functions, and focus on the specific functions and their descendants that are most critical for your work.
From the Function List and Call Graph windows, you can open:
The Function Detail window, which displays data for a specific function, and data about its callers and descendants.
The Annotated Source window, which displays line-by-line performance data on a copy of your source code. This window is available if you compiled with the -g debugging option.
After analyzing your performance data, improve your code on the basis of what you've learned and rerun your program.