@extends('layouts.core.frontend', [ 'menu' => 'campaign', ]) @section('title', trans('messages.campaigns') . " - " . trans('messages.confirm')) @section('page_header')
Your last delivery session performance
From list "{!! $campaign->displayRecipients() !!}"
Last session started at {{ $debug['start_at'] ? $campaign->customer->formatDateTime(\Carbon\Carbon::parse($debug['start_at']), 'datetime_full_with_timezone') : 'N/A' }} • Last activity at: {{ $debug['last_activity_at'] ? $campaign->customer->formatDateTime(\Carbon\Carbon::parse($debug['last_activity_at']), 'datetime_full_with_timezone') : 'N/A' }} ({{ $debug['last_activity_at'] ? \Carbon\Carbon::parse($debug['last_activity_at'])->diffForHumans() : 'N/A' }})
@if (!is_null($debug['finish_at'])) Finished {{ \Carbon\Carbon::parse($debug['finish_at'])->diffForHumans() }} at {{ $debug['finish_at'] }} @elseif (!is_null($debug['last_message_sent_at'])) Session not yet finish, last message sent {{ \Carbon\Carbon::parse($debug['last_message_sent_at'])->diffForHumans() }} @else Session not yet finish... @endif
Since session started
Best time {{ $debug['send_message_min_time'] ? number_with_delimiter($debug['send_message_min_time']) : 0 }} seconds • Worst time {{ $debug['send_message_max_time'] ? number_with_delimiter($debug['send_message_max_time']) : 0 }} seconds
Average {{ $debug['send_message_avg_time'] ? number_with_delimiter($debug['send_message_avg_time']) : 0 }} = { Prepare {{ $debug['send_message_prepare_avg_time'] ? number_with_delimiter($debug['send_message_prepare_avg_time']) : 0 }} → Obtain lock {{ isset($debug['send_message_lock_avg_time']) ? number_with_delimiter($debug['send_message_lock_avg_time']) : 0 }} → Deliver {{ $debug['send_message_delivery_avg_time'] ? number_with_delimiter($debug['send_message_delivery_avg_time']) : 0 }} }
Boost rate {{ $debug['send_message_avg_time'] ? number_with_delimiter($debug['messages_sent_per_second'] / ( 1 / $debug['send_message_avg_time'])) : 0 }}x