PHP X-Ray is a diagnostic tool. It automatically detects and provides detailed information about the cause of performance issues of your websites. Users can get detailed insights on which URLs, plugins, or SQL queries are slowing down their website.
The creators of CloudLinux and AlmaLinux develop PHP X-Ray. The same team is also the creator of Imunify360, ImunifyAV, KernelCare, and CageFS.
Benefits of PHP X-Ray
PHP X-Ray offers a massive advantage by automating the detection of performance issues. It saves you time to diagnose the problems manually or the expense of hiring a web developer.
Without X-Ray, users would need to spend valuable time or hire a system administrator/web developer to inspect website logs and tweak plugins, themes, or core configuration to discover the reasons that slow down a website.
When you notice your website is slow, you can enable X-Ray to identify the items slowing down your site. It can automatically track and detect the following issues of your websites:
- Slow URLs
- Slow Plugins
- Slow Database Queries
- Slow Functions
- Slow External Calls
Note that enabling PHP X-Ray will degrade performance by 15-20%. That is, your websites will perform 15-20% slower when it is enabled.
Once the diagnostic is complete, you would want to disable PHP X-Ray again.
Does PHP X-Ray improve performance
PHP X-Ray does not directly improve performance. It helps improve performance by detecting the items that slow down a website. Users can then work on the issues it finds to improve performance.
How to use PHP X-Ray
Please refer to this article to use PHP X-Ray.