{% extends "silk/base/base.html" %} {% load silk_filters %} {% load silk_inclusion %} {% block pagetitle %}Silky - Profile - {{ profile.name|default:profile.func_name }}{% endblock %} {% block menu %} {% profile_menu request profile silk_request %} {% endblock %} {% block data %}

{{ profile.name|default:profile.func_name|default:"Anonymous block" }}{% if profile.exception_raised %} raised{% endif %}

{% if profile.func_name %}{{ profile.func_name }}() · {% endif %}{{ profile.start_time|silk_full_datetime }}{% if silk_request %} · in {{ silk_request.method }} {{ silk_request.path }}{% endif %}

{% if profile.file_path %} Open in editor {% endif %}
Time{{ profile.time_taken|dur }}
Time in SQL{{ profile.time_spent_on_sql_queries|dur }}
Queries{{ profile.queries.count }}
{% if profile.file_path %}{{ profile.file_path|app_path }}{% if profile.line_num %}:{{ profile.line_num }}{% if profile.end_line_num %} to {{ profile.end_line_num }}{% endif %}{% endif %}{% else %}Location{% endif %}
{% if code %} {% code code actual_line %} {% elif code_error %}

{{ code_error }}

{% else %}

No source location was recorded for this block.

{% endif %}
{% if silk_request.prof_file %} {% include 'silk/inclusion/callgraph.html' %} {% endif %} {% if silk_request.pyprofile %}

See the request's cProfile output

{% endif %}
{% endblock %}