Created
November 2, 2011 00:50
-
-
Save douglasback/1332508 to your computer and use it in GitHub Desktop.
Add a little badge that displays the total number of queries and time spent parsing your EE template
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="performance-widget" 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="total-queries">{total_queries}</span> queries<br /> | |
<span id="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