{% extends '@WebProfiler/Profiler/layout.html.twig' %} {% import _self as helper %} {% set classnames = { 'default': 'timeline-category-default', 'section': 'timeline-category-section', 'event_listener': 'timeline-category-event-listener', 'template': 'timeline-category-template', 'doctrine': 'timeline-category-doctrine', 'messenger.middleware': 'timeline-category-messenger-middleware', 'controller.argument_value_resolver': 'timeline-category-controller-argument-value-resolver', } %} {% 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 %} {{ include('@WebProfiler/Icon/time.svg') }}
{% endset %} {% set text %} {% endset %} {{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: profiler_url, status: status_color }) }} {% endblock %} {% block menu %} {{ include('@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-requests.