{% extends '@WebProfiler/Profiler/layout.html.twig' %} {% block toolbar %} {% set text %}
Cache hits {{ collector.summary.hits }}
Cache misses {{ collector.summary.misses }}
{% endset %} {% set icon %} Cache {{ '%0.2f'|format(collector.summary.hitRatio * 100) }} % cache hit ratio {% endset %} {% include '@WebProfiler/Profiler/toolbar_item.html.twig' with { 'link': profiler_url } %} {% endblock %} {% block menu %} Cache {% endblock %} {% block panel %}

Cache: {{ collector.summary.cacheType }}

{% if collector.summary.namespace %}

Namespace: {{ collector.summary.namespace }}

{% endif %}

Server statistics

Server stat Initial value Final value Delta
Hits {{ collector.initialProfile.hits }} {{ collector.currentProfile.hits }} {{ collector.summary.hits }}
Misses {{ collector.initialProfile.misses }} {{ collector.currentProfile.misses }} {{ collector.summary.misses }}
Calls {{ collector.initialProfile.misses + collector.initialProfile.hits }} {{ collector.currentProfile.misses + collector.currentProfile.hits }} {{ collector.summary.calls }}
Uptime {{ collector.initialProfile.uptime }} {{ collector.currentProfile.uptime }} {{ collector.summary.uptimeDelta }}
Memory usage {{ collector.initialProfile.memUsage }} {{ collector.currentProfile.memUsage }} {{ collector.summary.memUsageDelta }}
Memory available {{ collector.initialProfile.memAvailable }} {{ collector.currentProfile.memAvailable }} {{ collector.summary.memAvailableDelta }}

Hit miss summary

Call stat Value
Hits {{ collector.callSummary['hits'] }}
Misses {{ collector.callSummary['misses'] }}
Total {{ collector.callSummary['calls'] }}

Calls by type summary

{% for callType, count in collector.callSummary['calls_by_type'] %} {% endfor %}
Operation Count
{{ callType }} {{ count }}

Calls by key summary

{% for callKey, count in collector.callSummary['calls_by_key'] %} {% endfor %}
Operation Count
{{ callKey }} {{ count }}

Call list

{% for call in collector.calls %} {% endfor %}
# Call type Key Hit / Miss
{{ loop.index }} {% if call['type'] != 'fetch' %} {{ call['type'] }} {% else %} {{ call['type'] }} {% endif %} {{ call['key'] }} {% if call['hit'] %}HIT{% else %}MISS{% endif %}
{% endblock %}