This is a very lightweight hack that adds basic page performance statistics to each page display.
It only displays for Moderators and Admins, as we don't want the unwashed masses to see this information.
Installation: Install the product file from AdminCP
Displays as the last line of the page: Page generated in 0.10166 seconds with 24 queries [Server Load Averages (1:5:15) 3.89 : 3.06 : 3.27]
I have this running on vB4.1.3 but it should run on any vB4.0.0 and up.
There are 3.x hacks like this that do more, the trade off being this is very low impact.
2.0.1 Removed can_moderate and added AdminCP option that allows you to set the user-groups that can see the statistics
Enjoy!
Bookmarks