Profile data for GET http://swift.powerlynx.app/portal/api/redirect-flow/order-plan/5?gateway=mpesa&hash=3b61994b49e545ac77395cc94a0b2cea

Compare this run View Callgraph Jump to functions

Watch Functions

Function Call Count ewt emu epmu
You have no watch functions setup. Add a watch function now.

Self Wall Time

main()
14,038 µs
App\Services\RedirectFlow\Adverts\CampaignDetector::detect
3,695 µs
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderPlan
3,181 µs
App\Models\Tenant\Log\StatusedLog::finish
1,413 µs
Illuminate\Redis\Connections\PhpRedisConnection::eval
1,143 µs
App\Repositories\Tenant\RedirectFlow\PlansRepository::getTemporaryUnavailableTariffsIds
1,089 µs

Memory Hogs

load::settings/localization_php
63,456 bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderPlan
10,104 bytes
load::settings/captive_portal_php
7,416 bytes
load::settings/finance_php
7,008 bytes
load::settings/splynx_integration_php
6,192 bytes
load::settings/voucher_limit_notifications_php
6,000 bytes
Function Call Count Self Wall Time Self CPU Self Memory Usage Self Peak Memory Usage Inclusive Wall Time Inclusive CPU Inclusive Memory Usage Inclusive Peak Memory Usage
main() 1 14,038 µs 6,454 µs -12,680 bytes bytes 26,120 µs 13,211 µs 115,368 bytes bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detect 1 3,695 µs 679 µs -27,208 bytes bytes 3,916 µs 922 µs 8,280 bytes bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderP… 1 3,181 µs 2,169 µs 10,104 bytes bytes 10,115 µs 5,631 µs 42,272 bytes bytes
App\Models\Tenant\Log\StatusedLog::finish 1 1,413 µs 1,478 µs 3,320 bytes bytes 1,413 µs 1,478 µs 3,320 bytes bytes
Illuminate\Redis\Connections\PhpRedisConnection::eval 2 1,143 µs 294 µs 1,032 bytes bytes 1,143 µs 294 µs 1,032 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::getTemporar… 1 1,089 µs 546 µs -48 bytes bytes 1,140 µs 597 µs 4,240 bytes bytes
load::settings/localization_php 2 415 µs 439 µs 63,456 bytes bytes 415 µs 439 µs 63,456 bytes bytes
App\Services\RedirectFlow\RedirectFlowLogger::startLog 1 167 µs 166 µs 3,016 bytes bytes 419 µs 420 µs 12,944 bytes bytes
Spatie\Activitylog\PendingActivityLog::__construct 1 152 µs 151 µs 4,368 bytes bytes 153 µs 154 µs 4,968 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::handle 1 129 µs 127 µs -2,888 bytes bytes 11,526 µs 6,188 µs 46,680 bytes bytes
load::settings/captive_portal_php 1 92 µs 94 µs 7,416 bytes bytes 92 µs 94 µs 7,416 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::getKey 2 81 µs 85 µs 1,328 bytes bytes 81 µs 85 µs 1,328 bytes bytes
activity 1 79 µs 76 µs 1,192 bytes bytes 242 µs 242 µs 7,960 bytes bytes
load::settings/customers_php 1 48 µs 49 µs 4,992 bytes bytes 48 µs 49 µs 4,992 bytes bytes
load::settings/finance_php 1 37 µs 38 µs 7,008 bytes bytes 37 µs 38 µs 7,008 bytes bytes
load::settings/portal_php 1 26 µs 25 µs 3,480 bytes bytes 26 µs 25 µs 3,480 bytes bytes
App\Services\RedirectFlow\Adverts\Adverts::isWeNeedToShowAd 1 26 µs 24 µs -32 bytes bytes 3,942 µs 946 µs 8,248 bytes bytes
App\Format\FormatManager::toUserTimezone 1 24 µs 23 µs 744 bytes bytes 31 µs 31 µs 3,736 bytes bytes
now 1 24 µs 25 µs 1,344 bytes bytes 24 µs 25 µs 1,344 bytes bytes
load::settings/finance_notifications_php 1 23 µs 24 µs 4,448 bytes bytes 23 µs 24 µs 4,448 bytes bytes
load::settings/status_page_notifications_php 1 23 µs 24 µs 5,816 bytes bytes 23 µs 24 µs 5,816 bytes bytes
load::settings/splynx_integration_php 1 22 µs 23 µs 6,192 bytes bytes 22 µs 23 µs 6,192 bytes bytes
load::settings/voucher_limit_notifications_php 1 21 µs 22 µs 6,000 bytes bytes 21 µs 22 µs 6,000 bytes bytes
Illuminate\Redis\RedisManager::__call 2 20 µs 16 µs 832 bytes bytes 1,163 µs 310 µs 1,864 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::App\Reposit… 1 18 µs 17 µs 2,184 bytes bytes 42 µs 42 µs 3,528 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::tryToAcquireLock 1 17 µs 16 µs 1,464 bytes bytes 666 µs 159 µs 4,040 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::unlock 1 17 µs 14 µs 744 bytes bytes 614 µs 269 µs 2,624 bytes bytes
Xhgui\Profiler\Profiler::disable 1 12 µs 12 µs 776 bytes bytes 20 µs 21 µs 1,944 bytes bytes
Illuminate\Routing\RouteParameterBinder::Illuminate\Routing\{clos… 2 µs µs 584 bytes bytes µs µs 584 bytes bytes
Illuminate\Database\Eloquent\Collection::pluck 1 µs µs 760 bytes bytes µs µs 760 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlan… 1 µs µs 576 bytes bytes 1,147 µs 602 µs 4,816 bytes bytes
Xhgui\Profiler\ProfilingData::__construct 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
Xhgui\Profiler\Profiler::registerShutdownHandler 1 µs µs 1,200 bytes bytes µs µs 1,200 bytes bytes
Illuminate\Routing\UrlGenerator::Stancl\Tenancy\Bootstrappers\{cl… 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
Spatie\Activitylog\PendingActivityLog::forwardCallTo 1 µs µs 600 bytes bytes µs µs 600 bytes bytes
App\Models\Tenant\Log\StatusedLog::start 1 µs µs 760 bytes bytes 251 µs 252 µs 9,328 bytes bytes
App\Format\FormatManager::getDateTimeFormatSettings 1 µs µs 1,112 bytes bytes µs µs 2,992 bytes bytes
Symfony\Component\HttpFoundation\Request::get 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
Illuminate\Http\Request::get 1 µs µs 664 bytes bytes µs µs 1,248 bytes bytes
Spatie\Activitylog\PendingActivityLog::__call 1 µs µs 632 bytes bytes µs 10 µs 1,232 bytes bytes
App\Models\Tenant\Log\StatusedLog::__construct 1 µs µs 608 bytes bytes 246 µs 247 µs 8,568 bytes bytes
Illuminate\Routing\UrlGenerator::extractQueryString 1 µs µs 960 bytes bytes µs µs 960 bytes bytes
Illuminate\Support\Facades\Redis::getFacadeAccessor 2 µs µs 1,264 bytes bytes µs µs 1,264 bytes bytes
Illuminate\Routing\Route::Illuminate\Routing\{closure} 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Routing\Route::parameter 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Format\FormatManager::getSettings 1 µs µs 1,880 bytes bytes µs µs 1,880 bytes bytes
Xhgui\Profiler\Profilers\XHProf::disable 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
Spatie\Activitylog\ActivityLogger::setLogStatus 1 µs µs 600 bytes bytes µs µs 600 bytes bytes
Spatie\Activitylog\PendingActivityLog::logger 1 µs µs 568 bytes bytes µs µs 568 bytes bytes
App\Models\Tenant\Log\StatusedLog::activity 1 µs µs 600 bytes bytes µs µs 600 bytes bytes