Display pre-template load time in footer.
This commit is contained in:
parent
d9aab7078f
commit
643ea59ee8
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@
|
|||
{% if constant('MSZ_DEBUG') or current_user.user_id|default(0) == 1 %}
|
||||
/ SQL Queries: {{ sql_query_count()|number_format }}
|
||||
/ Took: {{ startup_time()|number_format(5) }} seconds
|
||||
/ Load: {{ (startup_time() - startup_time(constant('MSZ_TPL_RENDER')))|number_format(5) }} seconds
|
||||
/ Render: {{ startup_time(constant('MSZ_TPL_RENDER'))|number_format(5) }} seconds
|
||||
{% endif %}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue