Monitor your MODX Evo performance with one simple chunk
How many queries were made outside cache, how much time they took, how long it took to render a page and more.
This is a short piece of code that I used to always place in my MODX projects. It's very useful and helps monitor MODX performance.
Thanks to special MODX tags, it simply shows how many queries were made outside cache, how much time they took, how long it took to render a page and more.
Chunk name: dev-performance
Chunk placement: anywhere but im my case I always place it at the end of document just before </body> closing tag.
Chunk code: (remember to remove empty spaces inside [ ] characters)
Query Time: [ ^qt^ ]
Query Count: [ ^q^ ]
Parse Time: [ ^p^ ]
Total Time: [ ^t ^]
Source: [ ^s^ ]
Our system performance informations will be viewable as HTML comment at the end of page source.Tags: modx