Changeset View
Changeset View
Standalone View
Standalone View
src/docs/user/field/darkconsole.diviner
| Show First 20 Lines • Show All 132 Lines • ▼ Show 20 Lines | Generally, this column can help pinpoint these kinds of problems: | ||||
| - Opportunities to improve performance with caching. | - Opportunities to improve performance with caching. | ||||
| - General goofiness in how service calls are woking. | - General goofiness in how service calls are woking. | ||||
| If the services tab looks fine, and particularly if a page is slow but the | If the services tab looks fine, and particularly if a page is slow but the | ||||
| "All Services" cost is small, that may indicate a problem in PHP. The best | "All Services" cost is small, that may indicate a problem in PHP. The best | ||||
| tool to understand problems in PHP is XHProf. | tool to understand problems in PHP is XHProf. | ||||
| Plugin: Startup | |||||
| =============== | |||||
| The "Startup" plugin shows information about startup phases. This information | |||||
| can provide insight about performance problems which occur before the profiler | |||||
| can start. | |||||
| Normally, the profiler is the best tool for understanding runtime performance, | |||||
| but some work is performed before the profiler starts (for example, loading | |||||
| libraries and configuration). If there is a substantial difference between the | |||||
| wall time reported by the profiler and the "Entire Page" cost reported by the | |||||
| Services tab, the Startup tab can help account for that time. | |||||
| It is normal for starting the profiler to increase the cost of the page | |||||
| somewhat: the profiler itself adds overhead while it is running, and the page | |||||
| must do some work after the profiler is stopped to save the profile and | |||||
| complete other shutdown operations. | |||||
| Plugin: XHProf | Plugin: XHProf | ||||
| ============== | ============== | ||||
| The "XHProf" plugin gives you access to the XHProf profiler. To use it, you need | The "XHProf" plugin gives you access to the XHProf profiler. To use it, you need | ||||
| to install the corresponding PHP plugin. | to install the corresponding PHP plugin. | ||||
| Once it is installed, you can use XHProf to profile the runtime performance of | Once it is installed, you can use XHProf to profile the runtime performance of | ||||
| a page. This will show you a detailed breakdown of where PHP spent time. This | a page. This will show you a detailed breakdown of where PHP spent time. This | ||||
| Show All 14 Lines | |||||