Improve PHP X-RAY
I would like PHP X-Ray to add the following information :
- Number of database queries
- Total duration of all database queries
- Total duration of PHP functions
- Number of times each function is run and total duration for each function
For example, today a customer had a 3 second load time for a Prestashop page. The longest database query was 90ms and the longest PHP function was 200ms. The X-Ray report did not give us any indication what was taking 3 seconds.
It would have been very interesting to know which functions where used the most, how long that took and how many queries were run and how long that took.
The main idea is to say, the page took 3 seconds to load and show why it took 3 seconds.
