When a website or application feels like its 'slow performing', the common assumption is that its a 'server issue', whereas in many cases the bottleneck in terms of performance can be within the application / script itself.
When a website does slow down, there can be issues within the code which traditionally have been difficult to diagnose. We are now proud to announce that we offer 'PHP X-Ray' to allow you to generate reports for your sites giving you a deep insight into performance-related issues.
PHP X-Ray, included with some of our servers, provides detailed information on performance bottlenecks within your PHP applications or WordPress installations. If a site has sluggish plugins, database queries, functions, or external calls, the X-Ray tool helps pinpoint the underlying problem. Let us know if you need this and we can help set this up.
How to access PHP X-Ray
PHP X-Ray is available by selecting the 'X-Ray' option through cPanel...
Once you have selected the option, you will be presented with a screen similar to the following...
As you can see in the image above, you can trace multiple domains and subdomains, view the status of their trace, set the IP to check, set the number of requests to collect, and set a timeframe for collection.
Note: PHP-Xray will only collect and gather results when Bolt-Cache is disabled entirely (your sites are using 'Proxy').
Once you have visited the site a few times, you will see the 'Collected Requests' column will be populated. At this point, you can then view the results of the collection, which will allow you to diagnose which particular area of your application is underperforming.
For instance, you can see a list of traces on database queries: