Answers.Body: <p>Not exactly. But if you're looking for stats, <a href="https://craftcms.com/support/dev-mode" rel="nofollow noreferrer"><code>devMode</code></a> does some query profiling right in the console:</p>
  
  <p><a href="https://i.sstatic.net/zR3BY.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/zR3BY.png" alt="Query Profiling"></a></p>
  
  <p>I'm not sure if you're looking for a 1-1 correlation but you can obtain whether or not the server supports gzip with the Server variable <code>HTTP_ACCEPT_ENCODING</code> (kind of useless IMO). Craft also will display its version number at the bottom of the CP when you're logged in, so I don't really see value there either but you can get it via your templates (see below).</p>
  
  <p>If you need more than that, you could always make a simple plugin (I like to start with <a href="https://github.com/lindseydiloreto/craft-businesslogic" rel="nofollow noreferrer">Lindsey D's Business Logic</a>  boilerplate variable class) and then just grab the data you need. </p>
  
  <p>To only display the data to admins when they're logged in, you can do so like:</p>
  
  <pre><code>{% if currentUser and currentUser.admin %}
    Craft {{ craft.app.getEditionName()}} {{ craft.app.getVersion() }}.{{ craft.app.getBuild() }}
      ... do other stuff
  {% endif %}
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-02-23T17:31:38.103Z
Answers.LastActivityDate: 2016-02-23T17:41:01.813Z
Answers.LastEditDate: 2016-02-23T17:41:01.813Z
Answers.UserDisplayName: RitterKnight
Body: <p>Just wondering: Is there a equivalent for this piece of code written in EE:</p>
  
  <pre><code>{if logged_in}
      &lt;div id=“admin”&gt;
          Page render time: {elapsed_time} sec | 
          Queries: {total_queries} | 
          Gzip: {gzip_mode}  | 
          EE version: {app_version} build {app_build}
      &lt;/div&gt;
  {/if}
  </code></pre>
  
  <p>Source: <a href="http://www.blue-dreamer.co.uk/blog/entry/expressionengine-measuring-performance-during-development" rel="nofollow">http://www.blue-dreamer.co.uk/blog/entry/expressionengine-measuring-performance-during-development</a></p>
  
Tags: <admin><craft-pro>
Title: Equivalent of EE admin info code
ThreadText: # Equivalent of EE admin info code
  
  (Asked by: username_0 on 2016-02-23)
  
  Just wondering: Is there a equivalent for this piece of code written in EE:
  
  ```
  {if logged_in}
      <div id=“admin”>
          Page render time: {elapsed_time} sec | 
          Queries: {total_queries} | 
          Gzip: {gzip_mode}  | 
          EE version: {app_version} build {app_build}
      </div>
  {/if}
  
  ```
  
  Source: <http://www.blue-dreamer.co.uk/blog/entry/expressionengine-measuring-performance-during-development>
  
  **Tags:** admin, craft-pro
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-02-23. Score: 3 | Accepted answer
  
  Not exactly. But if you're looking for stats, [`devMode`](https://craftcms.com/support/dev-mode) does some query profiling right in the console:
  
  [![Query Profiling](https://i.sstatic.net/zR3BY.png)](https://i.sstatic.net/zR3BY.png)
  
  I'm not sure if you're looking for a 1-1 correlation but you can obtain whether or not the server supports gzip with the Server variable `HTTP_ACCEPT_ENCODING` (kind of useless IMO). Craft also will display its version number at the bottom of the CP when you're logged in, so I don't really see value there either but you can get it via your templates (see below).
  
  If you need more than that, you could always make a simple plugin (I like to start with [Lindsey D's Business Logic](https://github.com/lindseydiloreto/craft-businesslogic) boilerplate variable class) and then just grab the data you need.
  
  To only display the data to admins when they're logged in, you can do so like:
  
  ```
  {% if currentUser and currentUser.admin %}
    Craft {{ craft.app.getEditionName()}} {{ craft.app.getVersion() }}.{{ craft.app.getBuild() }}
      ... do other stuff
  {% endif %}
  
  ```
  
  
  ---
  
  