Created
November 1, 2011 18:51
-
-
Save douglasback/1331516 to your computer and use it in GitHub Desktop.
Puts a little Query Count and Template Load time badge at the bottom right of the page. Copy this code into a new snippet, and place it anywhere within the <body> element.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{if member_group == '1'} | |
<div id="bsd-performance" style="position: fixed; right: 0; bottom: 0; padding: 7px; background: rgba(0,0,0,0.7); color: white; font-family: Verdana, sans-serif; z-index: 999; "> | |
<span id="bsd-total-queries">{total_queries}</span> queries<br /> | |
<span id="bsd-elapsed-time">{elapsed_time}</span> seconds | |
</div> | |
{/if} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment