X-Ray — PHP Performance Profiler
The CloudLinux tool that pinpoints exactly why your site is slow — it analyzes every HTTP request, measures PHP execution times and isolates costly SQL queries.
What is X-Ray?
X-Ray is a PHP performance profiling tool integrated into cPanel by CloudLinux. It analyzes the execution of HTTP requests in detail — identifying slow PHP functions, costly MySQL queries and external calls that cause latency.
Complete PHP tracing
Analyze the complete stack trace of an HTTP request — every PHP function called, its duration and execution order. Identify exactly which code is responsible for the slowdown.
MySQL query profiling
Lists all SQL queries executed during the request, with the execution time of each. Instantly identify N+1 queries, missing indexes or queries without LIMIT.
Monitor specific URLs
Configure X-Ray to analyze certain URLs or pages — for example the homepage, product page or checkout — without overhead on the rest of the site.
Detailed report per request
Each analyzed transaction generates a complete report with: total time, breakdown by component, top 10 slow functions and all SQL queries with EXPLAIN plan.
Complete performance diagnostics
X-Ray identifies all the causes that slow down a PHP site — from the application code to the database and external calls.
PHP Function Profiling
Measures the execution times of every PHP function in the stack trace. Immediately identify which function consumes the most processing time.
MySQL Query Analyzer
Lists all SQL queries with execution times — detects slow queries, missing indexes and the N+1 problems typical in WordPress/WooCommerce.
Detect slow external calls
Identifies external HTTP calls (third-party APIs, webhooks) that block PHP execution — a frequent, hard-to-spot cause of slowdowns.
Per-URL reports
Configure tracing on specific URLs — check the performance of the homepage, a product page or the checkout process independently.
Visual interface in cPanel
X-Ray reports are accessible directly from cPanel with a graphical interface — timeline charts, sortable tables and filtering by operation type.
Zero impact on production
X-Ray can be enabled selectively on certain URLs and disabled after diagnosis — without permanent overhead on PHP execution in production.
When and how to use X-Ray
X-Ray is the diagnostic tool you turn to when a site works, but has high response times.
Slow WordPress site
Enable X-Ray on the homepage or the problematic page. The report immediately shows whether the problem is at the plugin level, an SQL query or an external API call — and exactly which code is causing the slowdown.
WooCommerce optimization
WooCommerce can generate hundreds of SQL queries per page. X-Ray identifies exactly which hook or plugin causes the N+1 problem and on which pages — without guessing.
Debugging custom applications
For PHP applications developed in-house, X-Ray removes the need for a local profiler — you can analyze the real behavior of the application in production, with real data.
About X-Ray
Answers about the PHP profiling tool from CloudLinux.
Enabled on demand
X-Ray is enabled manually — it does not run permanently
Included on all plans
X-Ray is available on all Trustnet Solutions shared hosting plans
X-Ray included on all hosting plans
Diagnose the performance of any PHP application directly from cPanel — without installing external tools, without SSH access, without advanced profiling knowledge.
Accessible from cPanel → X-Ray. Enabled on demand, it consumes no resources when not in use.