Differences

This shows you the differences between two versions of the page.

dev:perf_profiling [2010/04/24 17:18]
david_pate Moved the content from the PDF into wiki format, need to add the diagrams.
dev:perf_profiling [2010/04/24 17:30] (current)
david_pate Added the diagrams.
Line 23: Line 23:
diagram represents all functions. diagram represents all functions.
\\ \\
-**Diagram goes here**+{{:doc:performance:profiling-1.jpg}}
In the above diagram empty rectangles mean there are no further functions execute within that In the above diagram empty rectangles mean there are no further functions execute within that
Line 32: Line 32:
usage and time consumption. usage and time consumption.
\\ \\
-**Diagram goes here**+{{:doc:performance:profiling-2.jpg}}
In the above diagram the tab "self" indicates the time spent within the respective function. And In the above diagram the tab "self" indicates the time spent within the respective function. And
Line 48: Line 48:
following image. following image.
\\ \\
-**Diagram Goes Here**+{{:doc:performance:profiling-3.jpg}}
From the total execution time which is 100.43% (it is more than 100% since it shows the From the total execution time which is 100.43% (it is more than 100% since it shows the
Line 64: Line 64:
The utilization of the process time can be further explained using the following graph: The utilization of the process time can be further explained using the following graph:
\\ \\
-**Diagram Goes Here**+{{:doc:performance:profiling-4.jpg}}
As it is clearly displayed the time is mainly shared among 5 parts listed above. And the HTMLPurifier has some more expensive segments. As it is clearly displayed the time is mainly shared among 5 parts listed above. And the HTMLPurifier has some more expensive segments.
Line 72: Line 72:
notable functions within that is displayed below: notable functions within that is displayed below:
\\ \\
-**Diagram Goes Here**+{{:doc:performance:profiling-5.jpg}}
We can see that ADOdb Execute function,shn_get_all_modues() and Functions within XST module are We can see that ADOdb Execute function,shn_get_all_modues() and Functions within XST module are
Line 79: Line 79:
The graph view of the execution process is displayed below: The graph view of the execution process is displayed below:
\\ \\
-**Diagram Goes Here**+{{:doc:performance:profiling-6.jpg}}
==== Handler_db ==== ==== Handler_db ====
Line 85: Line 85:
notable functions within that is displayed below: notable functions within that is displayed below:
\\ \\
-**Diagram Goes Here**+{{:doc:performance:profiling-7.jpg}}
We can see that most of the overhead is spent on ADOdb functions. The graph view of the We can see that most of the overhead is spent on ADOdb functions. The graph view of the
execution process is displayed below: execution process is displayed below:
\\ \\
-**Diagram Goes Here**+{{:doc:performance:profiling-8.jpg}}
==== Handler_openid ==== ==== Handler_openid ====
Line 97: Line 97:
notable functions within that is displayed below: notable functions within that is displayed below:
\\ \\
-**Diagram Goes Here**+{{:doc:performance:profiling-9.jpg}}
The graph view of the execution process is displayed below: The graph view of the execution process is displayed below:
\\ \\
-**Diagram Goes Here**+{{:doc:performance:profiling-10.jpg}}
==== HTMLPurifier ==== ==== HTMLPurifier ====
Line 107: Line 107:
that is displayed below: that is displayed below:
\\ \\
-**Diagram Goes Here**+{{:doc:performance:profiling-11.jpg}}
It can be seen that there are so many functions executed within html purifier. We can further It can be seen that there are so many functions executed within html purifier. We can further
analyze this using the graph view: analyze this using the graph view:
\\ \\
-**Diagram Goes Here**+{{:doc:performance:profiling-12.jpg}}
==== Lib_crypt ==== ==== Lib_crypt ====
Line 118: Line 118:
displayed below displayed below
\\ \\
-**Diagram Goes Here**+{{:doc:performance:profiling-13.jpg}}
The graph view is displayed below: The graph view is displayed below:
\\ \\
-**Diagram Goes Here**+{{:doc:performance:profiling-14.jpg}}
==== Shn_config_load_in_order ==== ==== Shn_config_load_in_order ====
Line 128: Line 128:
notable functions within that is displayed below: notable functions within that is displayed below:
\\ \\
-**Diagram Goes Here**+{{:doc:performance:profiling-15.jpg}}
We can see that the function shn_config_module_conf_fetch() is responsible for 4.53% of the We can see that the function shn_config_module_conf_fetch() is responsible for 4.53% of the
CPU time. The graph view is displayed below: CPU time. The graph view is displayed below:
\\ \\
-**Diagram Goes Here**+{{:doc:performance:profiling-16.jpg}}
==== Conclusion ==== ==== Conclusion ====

Navigation
  • Navigate