{% extends '@WebProfiler/Profiler/layout.html.twig' %} {% block head %} {{ parent() }} {% endblock %} {% block toolbar %} {% set has_time_events = collector.events|length > 0 %} {% set total_time = has_time_events ? '%.0f'|format(collector.duration) : 'n/a' %} {% set initialization_time = collector.events|length ? '%.0f'|format(collector.inittime) : 'n/a' %} {% set status_color = has_time_events and collector.duration > 1000 ? 'yellow' %} {% set icon %} {{ source('@WebProfiler/Icon/time.svg') }}
{% endset %} {% set text %} {% endset %} {{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: profiler_url, status: status_color }) }} {% endblock %} {% block menu %} {{ source('@WebProfiler/Icon/time.svg') }} Performance {% endblock %} {% block panel %} {% set has_time_events = collector.events|length > 0 %}The Stopwatch component is not installed. If you want to see timing events, run: composer require symfony/stopwatch
.
No timing events have been recorded. Check that symfony/stopwatch is installed and debugging enabled in the kernel.
Note: sections with a striped background correspond to sub-{{ profile_type }}s.