{# Copyright (C) 2025 CERN. Flask-MultiProfiler is free software; you can redistribute it and/or modify it under the terms of the MIT License; see LICENSE file for more details. #} {%- extends config.MULTIPROFILER_BASE_TEMPLATE %} {% from 'profiler/report_macros.html' import render_report %} {% block title %}Profiler{% endblock title %} {% block page_body %}

Profiler

{% if active_session %}
Session ID
{{ active_session.id }}
Expires at
{{ active_session.expires_at }}
{% else %}
{% endif %}
{# Sessions list #}

Sessions

{% if profiler_sessions %}
{% endif %}
{% for session_id, grouped_requests in profiler_sessions.items() %}
{{ session_id }}
{% for group in grouped_requests %} {{ render_report(session_id, group.parent, group.children) }} {% endfor %}
{% else %}

No recorded profiling sessions in storage yet.

{% endfor %}
{% endblock page_body %} {% block javascript %} {{ super() }} {% endblock javascript %}