[^qt^] - Query Time - Shows how long MODx took talking to the database
[^q^] - Query Count -Shows how many database queries MODx made
[^p^] - Parse Time - Shows how long MODx took to parse the page
[^t^] - Total Time - Shows the total time taken to parse/ render the page
[^s^] - Source - Shows the source of page, whether is database or cache.
Do they work properly in Revolution?
They sort of work, but the database query count and time is wrong; the problem is that not every query in Revolution goes through a mechanism where the query time can be calculated. In fact, most of them cannot be traced the way the DBAPI did for various reasons. This may be addressed in the future, but for now, you’ll have to live with inaccurate results for the db queries.
They sort of work, but the database query count and time is wrong; the problem is that not every query in Revolution goes through a mechanism where the query time can be calculated. In fact, most of them cannot be traced the way the DBAPI did for various reasons. This may be addressed in the future, but for now, you’ll have to live with inaccurate results for the db queries.
No, unfortunately there is no way to intercept all possible queries without creating significant overhead, at least not that I have found yet. Use a Snippet solution like Executioner and/or MODX logging to capture information on how long specific queries are taking during development.
Quote from: OpenGeek at Nov 25, 2010, 03:14 PM
They sort of work, but the database query count and time is wrong; the problem is that not every query in Revolution goes through a mechanism where the query time can be calculated. In fact, most of them cannot be traced the way the DBAPI did for various reasons. This may be addressed in the future, but for now, you’ll have to live with inaccurate results for the db queries.
Is there any update on this?
Knowing the number of queries and the times etc would be very useful for debug info.
<meta name="generator" content="Query time: 0.0219 s (250 Queries) // Parse time: 0.5730 s // Total time: 0.5949 s // Source: cache">
Server Software: Apache/2.4.7 Server Hostname: www.*****.com Server Port: 80 Document Path: / Document Length: 461 bytes Concurrency Level: 100 Time taken for tests: 5.362 seconds Complete requests: 10000 Failed requests: 0 Non-2xx responses: 10000 Total transferred: 6920000 bytes HTML transferred: 4610000 bytes Requests per second: 1865.10 [#/sec] (mean) Time per request: 53.616 [ms] (mean) Time per request: 0.536 [ms] (mean, across all concurrent requests) Transfer rate: 1260.40 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 8 8 0.3 8 16 Processing: 9 45 17.9 44 91 Waiting: 8 45 17.9 44 91 Total: 17 53 17.9 52 99 Percentage of the requests served within a certain time (ms) 50% 52 66% 63 75% 65 80% 74 90% 76 95% 84 98% 86 99% 89 100% 99 (longest request)