{% load silk_filters %}{% url 'silk:hotspots' as hot_url %}
{% if rows %} {% if count >= 3 %}
The top 3 lines cause {{ top3_share|floatformat:"0" }}% of all DB time. Fixing these pays off first.
{% endif %}
{% for r in rows %} {% endfor %}
Code Queries Requests Per request DB time
{{ r.file|app_path|path_dir }}{{ r.file|path_name }}:{{ r.line }} {% if r.repeats %}In a loop{% endif %} {% if r.code %}{{ r.code }}{% endif %} {{ r.calls|num }} {{ r.requests|num }} {{ r.per_request|floatformat:"1" }}
{{ r.total|dur }} {{ r.share|floatformat:"0" }}%
{% else %}

No hotspots yet.

Queries run from your own code appear here, grouped by the line that ran them.

{% endif %}
{% if detail %}{% with d=detail %} {% endwith %}{% endif %}