{% trans 'Profiling' %}

{% trans 'Detailed profile' %}

{% for state in profiling.profile %} {% endfor %}
{% trans 'Order' %}
{% trans 'State' %}
{% trans 'Time' %}
{{ loop.index }} {{ state.status }} {{ state.duration }}s {{ state.duration_raw }}

{% trans 'Summary by state' %}{{ show_mysql_docu('general-thread-states') }}

{% for name, stats in profiling.states %} {% endfor %}
{% trans 'State' %}
{% trans 'Total Time' %}
{% trans '% Time' %}
{% trans 'Calls' %}
{% trans 'ΓΈ Time' %}
{{ name }} {{ format_number(stats.total_time, 3, 1) }}s {{ stats.total_time }} {{ format_number(100 * (stats.total_time / profiling.total_time), 0, 2) }}% {{ stats.calls }} {{ format_number(stats.total_time / stats.calls, 3, 1) }}s {{ (stats.total_time / stats.calls)|number_format(8, '.', '') }}
{{- profiling.chart|json_encode() -}}