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

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

App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderPlan
45,268 µs
main()
14,194 µs
App\Services\TargetGroups\TargetGroupsMatcher::match
12,408 µs
App\Config\SettingsMysqlDriver::getGroup
1,778 µs
App\Repositories\Tenant\RedirectFlow\PlansRepository::getTemporaryUnavailableTariffsIds
1,497 µs
Illuminate\Redis\Connections\PhpRedisConnection::eval
1,197 µs

Memory Hogs

App\Services\TargetGroups\TargetGroupsMatcher::match
115,312 bytes
load::settings/localization_php
94,592 bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderPlan
54,752 bytes
App\Config\SettingsMysqlDriver::getGroup
30,792 bytes
App\Config\SettingsManager::mergeGroupDefaults
8,696 bytes
load::settings/captive_portal_php
7,416 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
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderP… 1 45,268 µs 21,752 µs 54,752 bytes bytes 64,016 µs 29,887 µs 124,552 bytes bytes
main() 1 14,194 µs 6,203 µs -9,864 bytes bytes 80,132 µs 36,980 µs 192,040 bytes bytes
App\Services\TargetGroups\TargetGroupsMatcher::match 1 12,408 µs 5,074 µs 115,312 bytes bytes 12,472 µs 5,140 µs 120,568 bytes bytes
App\Config\SettingsMysqlDriver::getGroup 2 1,778 µs 736 µs 30,792 bytes bytes 1,778 µs 736 µs 30,792 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::getTemporar… 1 1,497 µs 430 µs -48 bytes bytes 1,546 µs 480 µs 4,240 bytes bytes
Illuminate\Redis\Connections\PhpRedisConnection::eval 2 1,197 µs 166 µs 1,032 bytes bytes 1,197 µs 166 µs 1,032 bytes bytes
Illuminate\Database\MySqlConnection::Illuminate\Database\{closure… 1 880 µs 114 µs 2,552 bytes bytes 881 µs 116 µs 3,184 bytes bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detect 1 643 µs 442 µs 3,160 bytes bytes 14,322 µs 6,128 µs 115,280 bytes bytes
load::settings/localization_php 3 373 µs 378 µs 94,592 bytes bytes 373 µs 378 µs 94,592 bytes bytes
Illuminate\Database\MySqlConnection::insert 1 243 µs 100 µs -1,000 bytes bytes 1,124 µs 216 µs 2,184 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::handle 1 155 µs 131 µs -11,312 bytes bytes 65,505 µs 30,338 µs 120,536 bytes bytes
Illuminate\Database\Eloquent\Model::save 1 112 µs 113 µs 1,312 bytes bytes 1,645 µs 675 µs 24,720 bytes bytes
Illuminate\Database\Query\Builder::insertGetId 1 95 µs 29 µs 944 bytes bytes 1,347 µs 378 µs 7,496 bytes bytes
App\Config\SettingsManager::mergeGroupDefaults 2 81 µs 78 µs 8,696 bytes bytes 346 µs 347 µs 71,584 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::getKey 2 74 µs 78 µs 1,328 bytes bytes 74 µs 78 µs 1,328 bytes bytes
Illuminate\Database\MySqlConnection::getLastInsertId 1 74 µs 26 µs 632 bytes bytes 74 µs 26 µs 632 bytes bytes
App\Services\RedirectFlow\Adverts\Adverts::isWeNeedToShowAd 1 65 µs 64 µs -88,184 bytes bytes 14,387 µs 6,192 µs 27,096 bytes bytes
load::settings/captive_portal_php 1 60 µs 61 µs 7,416 bytes bytes 60 µs 61 µs 7,416 bytes bytes
App\Format\FormatManager::toUserTimezone 1 59 µs 60 µs 744 bytes bytes 65 µs 66 µs 2,456 bytes bytes
load::settings/customers_php 1 49 µs 49 µs 4,992 bytes bytes 49 µs 49 µs 4,992 bytes bytes
App\Config\SettingsManager::getGroup 2 42 µs 35 µs -93,600 bytes bytes 2,196 µs 1,149 µs 12,032 bytes bytes
load::settings/finance_notifications_php 1 41 µs 42 µs 4,448 bytes bytes 41 µs 42 µs 4,448 bytes bytes
load::settings/finance_php 1 35 µs 35 µs 7,008 bytes bytes 35 µs 35 µs 7,008 bytes bytes
load::settings/portal_php 1 31 µs 31 µs 3,480 bytes bytes 31 µs 31 µs 3,480 bytes bytes
Illuminate\Database\Eloquent\Model::freshTimestamp 1 31 µs 31 µs 1,344 bytes bytes 31 µs 31 µs 1,344 bytes bytes
App\Config\SettingsManager::castGroupTypes 2 30 µs 31 µs 3,256 bytes bytes 30 µs 31 µs 3,256 bytes bytes
Illuminate\Database\Eloquent\Model::setUpdatedAt 1 29 µs 29 µs 856 bytes bytes 29 µs 29 µs 856 bytes bytes
Illuminate\Database\Eloquent\Model::insertAndSetId 1 29 µs 28 µs 1,360 bytes bytes 1,376 µs 406 µs 8,856 bytes bytes
load::settings/voucher_limit_notifications_php 1 28 µs 29 µs 6,000 bytes bytes 28 µs 29 µs 6,000 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileInsert 1 28 µs 29 µs 2,072 bytes bytes 32 µs 33 µs 2,792 bytes bytes
Illuminate\Database\Eloquent\Model::resolveCasterClass 8 27 µs 32 µs 2,816 bytes bytes 27 µs 32 µs 2,816 bytes bytes
Illuminate\Database\Eloquent\Model::updateTimestamps 1 27 µs 26 µs 6,440 bytes bytes 106 µs 108 µs 10,208 bytes bytes
Illuminate\Database\Eloquent\Model::performInsert 1 26 µs 21 µs 208 bytes bytes 1,518 µs 547 µs 22,104 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::initializeSoftDeletes… 5 25 µs 23 µs 696 bytes bytes 41 µs 42 µs 2,608 bytes bytes
now 1 25 µs 25 µs 1,344 bytes bytes 25 µs 25 µs 1,344 bytes bytes
load::settings/splynx_integration_php 1 23 µs 23 µs 6,192 bytes bytes 23 µs 23 µs 6,192 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::tryToAcquireLock 1 23 µs 39 µs 1,464 bytes bytes 809 µs 169 µs 4,040 bytes bytes
load::settings/status_page_notifications_php 1 22 µs 22 µs 5,816 bytes bytes 22 µs 22 µs 5,816 bytes bytes
Illuminate\Redis\RedisManager::__call 2 20 µs 17 µs 832 bytes bytes 1,217 µs 183 µs 1,864 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::getDeletedAtColumn 11 18 µs 21 µs 2,576 bytes bytes 18 µs 21 µs 2,576 bytes bytes
App\Models\Tenant\Plan::initializeSoftDeletes 3 17 µs 14 µs 696 bytes bytes 27 µs 27 µs 1,296 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::App\Reposit… 1 16 µs 17 µs 2,184 bytes bytes 41 µs 42 µs 3,528 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::unlock 1 15 µs 13 µs 744 bytes bytes 523 µs 148 µs 2,624 bytes bytes
Illuminate\Database\Eloquent\Relations\Pivot::getTable 6 14 µs 15 µs 632 bytes bytes 14 µs 15 µs 632 bytes bytes
Illuminate\Database\Eloquent\Model::setCreatedAt 1 14 µs 14 µs 856 bytes bytes 14 µs 14 µs 856 bytes bytes
Illuminate\Database\Query\Processors\MySqlProcessor::processInser… 1 14 µs 66 µs 760 bytes bytes 1,212 µs 308 µs 3,576 bytes bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detectTargetG… 1 13 µs 11 µs -18,240 bytes bytes 12,485 µs 5,151 µs 102,328 bytes bytes
Xhgui\Profiler\Profiler::disable 1 12 µs µs 776 bytes bytes 19 µs 19 µs 1,944 bytes bytes
App\Models\Tenant\Plan::getDeletedAtColumn 7 11 µs 15 µs 1,200 bytes bytes 11 µs 15 µs 1,200 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::getQualifiedDeletedAt… 1 10 µs 10 µs 752 bytes bytes 12 µs 12 µs 1,416 bytes bytes
App\Models\Tenant\Plan::getQualifiedDeletedAtColumn 1 µs µs 744 bytes bytes 10 µs 10 µs 1,344 bytes bytes
Illuminate\Events\Dispatcher::until 2 µs 10 µs 1,168 bytes bytes µs 10 µs 1,168 bytes bytes
Illuminate\Routing\RouteParameterBinder::Illuminate\Routing\{clos… 2 µs µs 584 bytes bytes µs µs 584 bytes bytes
App\Providers\AppServiceProvider::App\Providers\{closure} 1 µs µs -520 bytes bytes 1,127 µs 467 µs 6,736 bytes bytes
Illuminate\Database\Eloquent\Collection::pluck 1 µs µs 760 bytes bytes µs µs 760 bytes bytes
Symfony\Component\HttpFoundation\Request::get 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
Illuminate\Database\Query\Expression::__construct 2 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Dto\BaseData::fromArray 1 µs µs 744 bytes bytes 12 µs 12 µs 1,928 bytes bytes
Illuminate\Routing\UrlGenerator::Stancl\Tenancy\Bootstrappers\{cl… 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
App\Format\FormatManager::getDateTimeFormatSettings 1 µs µs 1,112 bytes bytes µs µs 1,712 bytes bytes
Illuminate\Database\Query\Expression::getValue 2 µs µs 600 bytes bytes µs µs 600 bytes bytes
Illuminate\Database\Eloquent\Model::getAttributesForInsert 1 µs µs 976 bytes bytes µs µs 1,648 bytes bytes
Illuminate\Database\Query\Grammars\MySqlGrammar::compileInsert 1 µs µs -512 bytes bytes 37 µs 37 µs 2,280 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\Http\Request::get 1 µs µs 664 bytes bytes 10 µs 11 µs 1,248 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlan… 1 µs µs 576 bytes bytes 1,550 µs 485 µs 4,816 bytes bytes
App\Dto\BaseData::__construct 1 µs µs 632 bytes bytes µs µs 1,184 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::Illuminate\Database\Q… 1 µs µs 720 bytes bytes µs µs 720 bytes bytes
Illuminate\Support\Facades\Redis::getFacadeAccessor 2 µs µs 1,264 bytes bytes µs µs 1,264 bytes bytes
Illuminate\Routing\Route::parameter 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileInsertGetId 1 µs µs 696 bytes bytes 40 µs 41 µs 2,976 bytes bytes
Illuminate\Routing\Route::Illuminate\Routing\{closure} 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Facades\Format::getFacadeAccessor 1 µs µs 600 bytes bytes µs µs 600 bytes bytes
App\Format\FormatManager::__construct 1 µs µs 600 bytes bytes µs µs 600 bytes bytes
App\Dto\BaseData::fill 1 µs µs 552 bytes bytes µs µs 552 bytes bytes
Xhgui\Profiler\Profilers\XHProf::disable 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
App\Format\FormatManager::getSettings 1 µs µs 600 bytes bytes µs µs 600 bytes bytes
Illuminate\Database\Connection::recordsHaveBeenModified 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Database\Eloquent\Model::usesUniqueIds 1 µs µs 600 bytes bytes µs µs 600 bytes bytes