{% extends "layout.html" %} {% import "_macros.html" as m %} {% block title %}{{ record.method }} {{ record.path }}{% endblock %} {% block header %}
Redirected from {{ m.status(previous) }} {{ previous.method }} {{ previous.url }}
{% endif %} {% if record.redirect_to %}Redirects to {{ record.redirect_to }}
Error {{ record.error }}
| Pipeline step | Time | |
|---|---|---|
| {{ name }} | {{ m.ms(step_ms) }} | |
| Outside the steps (connections, hooks, error handling) | {{ m.ms([record.ms - steps_ms, 0]|max) }} | |
| Total | {{ m.ms(record.ms) }} |
| SQL · {{ record.app_queries|length }} queries | {{ m.ms(record.sql_ms) }} | |
| Views · {{ record.renders|length }} rendered, with the queries they run | {{ m.ms(record.render_ms) }} | |
| Cache · {{ record.cache_calls|length }} calls | {{ m.ms(record.cache_calls_ms) }} |
| # | Time | Query |
|---|---|---|
| {{ loop.index }} | {{ m.ms(query.ms) }} |
{{ query.sql }}
{% if query.params %}{{ query.params }}{% endif %}
{% if query.error %}Error {{ query.error }}{% endif %}
{%- if query.repeated > 1 %}×{{ query.repeated }} {% endif -%}
{%- if query.cache %}cache {% elif query.db != "main" %}[{{ query.db }}] {% endif -%}
{{ query.origin }}
{%- if query.component %} · rendering {{ query.component }}{% endif %}
|
No queries
{% endif %}| {{ name }} | {{ value }} |
No variables
{% endif %} {% if render.rows %}| Component · {{ render.component_count }} rendered | Time | Own time | SQL | |
|---|---|---|---|---|
| {%- if depth %}└ {% endif %}{{ call.view }} {%- if call.count > 1 %} ×{{ call.count }}{% endif %} | {{ m.ms(call.ms) }} | {{ m.ms(call.self_ms) }} | {% if call.queries %} 1 and call.queries >= call.count else "plain" }}">{{ call.queries }}{% endif %} |
The time of a component has that of the components it renders, not that of its content, which is rendered by the one that uses it.
{% endif %} {% else %}No view rendered
{% endfor %}| # | Time | Call | Key | |
|---|---|---|---|---|
| {{ loop.index }} | {{ m.ms(call.ms) }} | {{ call.op }} | {{ call.key }} |
{% if call.hit is true %}hit{% elif call.hit is false %}miss{% endif %} |
No calls to the cache
{% endif %}| At | Level | Logger | Message |
|---|---|---|---|
| {{ m.ms(line.at) }} | {% if line.level in ("ERROR", "CRITICAL") %}{{ line.level }} {%- elif line.level == "WARNING" %}{{ line.level }} {%- else %}{{ line.level }}{% endif %} | {{ line.logger }} | {{ line.message }} |
No log lines. Only what the loggers let through is here: set LOG_LEVEL = "debug" for the debug lines of Proper.
| path | {{ record.route_path }} |
| name | {{ record.route_name }} |
| controller | {{ record.controller }} |
| action | {{ record.action }} |
No route matched
{% endif %} {{ m.tables(record.request_data) }}| status | {{ record.status }} |
| content type | {{ record.content_type }} |