@use('Illuminate\Support\Str') @php $count = count($config['groups']); $message = sprintf( "Keys may be normalized using groups.\n\nThere %s currently %d %s configured.", $count === 1 ? 'is' : 'are', $count, Str::plural('group', $count) ); @endphp @if ($allCacheInteractions->hits === 0 && $allCacheInteractions->misses === 0) @else
@if ($config['sample_rate'] < 1) ~{{ number_format($allCacheInteractions->hits * (1 / $config['sample_rate'])) }} @else {{ number_format($allCacheInteractions->hits) }} @endif Hits
@if ($config['sample_rate'] < 1) ~{{ number_format(($allCacheInteractions->misses) * (1 / $config['sample_rate'])) }} @else {{ number_format($allCacheInteractions->misses) }} @endif Misses
{{ ((int) ($allCacheInteractions->hits / ($allCacheInteractions->hits + $allCacheInteractions->misses) * 10000)) / 100 }}% Hit Rate
Key Hits Misses Hit Rate @foreach ($cacheKeyInteractions->take(100) as $interaction) {{ $interaction->key }} @if ($config['sample_rate'] < 1) ~{{ number_format($interaction->hits * (1 / $config['sample_rate'])) }} @else {{ number_format($interaction->hits) }} @endif @if ($config['sample_rate'] < 1) ~{{ number_format($interaction->misses * (1 / $config['sample_rate'])) }} @else {{ number_format($interaction->misses) }} @endif {{ ((int) ($interaction->hits / ($interaction->hits + $interaction->misses) * 10000)) / 100 }}% @endforeach @if ($cacheKeyInteractions->count() > 100)
Limited to 100 entries
@endif
@endif