Profiling is an essential tool for improving PHP application performance . Profiling summarizes the data that makes up the PHP application and represents it in the form of a graph. The graph sets out the important features of the application. By placing timers within the code and running them over and over, the profiling tool is able to build a "profile" of how fast or slow specific areas of the application will run.
Studio provides a powerful profiling tool designed to help discover bottlenecks and other areas that need to be optimized to improve the program's performance. An extensive library of profiling benchmarks is included with Studio.
To Run the Profiler:
Open the Profile URL window select, Tools | Profile URL.
Accept the default URL or change and click OK.
The browser presents the requested page and,after a few seconds, during which the Profiler accumulates information,the Profiler Information window appears.
Note:
The Profiler automatically detects the application's URL. However, the URL field is editable to another URL can be typed and used for profiling.
The Profiler user interface contains 3 tabs:
|
|
Profiler Information - provides general information on the profiling duration and date, number of files constructing the requested URL and more. In addition, it displays a Time Division Pie Chart for the files in the URL. |
|
|
Function Statistics - provides you with the list of files constructing the URL and detailed information on functions in the files. |
|
|
Call Trace - provides an hierarchical display of functions according to process order, enabling you to jump to the function, view the function call, function declaration, details and more. |
At any time, you can dock the entire Profiler interface in the Debug Messages workspace.
|
|
|
|
|
Related
Links: |
|
|
|