Now you can find out a bit more detail than just "11 Queries, 0.500 seconds" at the bottom of your bbPress pages. bb-Benchmark prints simple benchmarks and mysql diagnostics, hidden in page footers for administrators. Simply do a "view source" on any bbpress page to see hidden results at bottom (visible to administrators only). Output includes current server load, page render vs mysql query time, slowest query and a list of all queries used.
bbPress Plugin Browser »
bbPress Benchmark (0.2.2)
Download
Version: 0.2.2
Last Updated: 2008-9-5
Requires bbPress Version: 0.8 or higher
Compatible up to: 0.9
Average Rating





Your Rating
Author: _ck_
-
hi, how to give the possibility of all users to see the report in the source code, please?
bye
Posted: 1 year ago # -
While that is possible to do, I strongly recommend against it for security reasons as there can accidentally be information you don't want the average person to see in there.
If you insist, you can change this line:
if (bb_current_user_can( 'administrate' ) ) :
to something like
if (1 || bb_current_user_can( 'administrate' ) ) :
which will make it always execute.Again, I strongly recommend you do NOT do that.
Posted: 1 year ago #
Add a Comment
You must log in to post.