Profile data for GET http://one.tsumanchuk.project-h.io/portal/api/redirect-flow/select-plan/1?gateway=fnb-exclusive-voucher

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\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter
3,670 µs
main()
3,573 µs
App\Services\RedirectFlow\Adverts\CampaignDetector::detect
3,283 µs
App\Services\TargetGroups\TargetGroupsMatcher::match
2,863 µs
Laravel\Boost\Middleware\InjectBoost::handle
2,079 µs
App\Repositories\Tenant\Plans\PlansRepository::{closure:App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter():36}
1,501 µs

Memory Hogs

App\Repositories\Tenant\Plans\PlansRepository::{closure:App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter():36}
188,728 bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAdditionalFieldsParameters
101,888 bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::__construct
92,888 bytes
load::TargetGroups/TargetGroupsMatcher_php
70,912 bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseParameters
66,312 bytes
load::settings/localization_php
63,504 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\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter 4 3,670 µs 2,804 µs 34,448 bytes bytes 5,171 µs 4,451 µs 223,176 bytes bytes
main() 1 3,573 µs 2,688 µs -36,024 bytes bytes 25,926 µs 15,192 µs 394,736 bytes bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detect 1 3,283 µs 279 µs -25,696 bytes bytes 18,085 µs 9,856 µs 251,960 bytes bytes
App\Services\TargetGroups\TargetGroupsMatcher::match 1 2,863 µs 938 µs -410,984 bytes bytes 14,523 µs 9,409 µs 196,512 bytes bytes
Laravel\Boost\Middleware\InjectBoost::handle 1 2,079 µs 1,203 µs 36,448 bytes bytes 21,997 µs 12,349 µs 417,624 bytes bytes
App\Repositories\Tenant\Plans\PlansRepository::{closure:App\Repos… 500 1,501 µs 1,647 µs 188,728 bytes bytes 1,501 µs 1,647 µs 188,728 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAddit… 4 1,280 µs 877 µs 101,888 bytes bytes 1,280 µs 877 µs 101,888 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::__construct 4 999 µs 652 µs 92,888 bytes bytes 10,391 µs 7,653 µs 476,344 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseP… 4 987 µs 643 µs 66,312 bytes bytes 7,654 µs 5,897 µs 336,768 bytes bytes
App\Repositories\Tenant\Labels\LabelsRepository::getCustomerLabel… 4 965 µs 600 µs 24,040 bytes bytes 1,133 µs 660 µs 36,072 bytes bytes
load::CustomerQuery/CustomerQueryTrait_php 1 367 µs 252 µs 53,528 bytes bytes 367 µs 252 µs 53,528 bytes bytes
load::Middleware/RedirectFlowRouteMutex_php 1 341 µs 139 µs 9,344 bytes bytes 341 µs 139 µs 9,344 bytes bytes
Illuminate\Log\LogManager::warning 1 311 µs 219 µs 744 bytes bytes 311 µs 219 µs 744 bytes bytes
load::Adverts/CampaignDetector_php 1 305 µs 154 µs 13,616 bytes bytes 305 µs 154 µs 13,616 bytes bytes
load::TargetGroups/CustomerParameters_php 1 258 µs 143 µs 28,160 bytes bytes 258 µs 143 µs 28,160 bytes bytes
load::TargetGroups/TargetGroupsQueryBuilder_php 1 234 µs 123 µs 18,024 bytes bytes 234 µs 123 µs 18,024 bytes bytes
load::Adverts/Adverts_php 1 233 µs 113 µs 7,776 bytes bytes 233 µs 113 µs 7,776 bytes bytes
load::Plans/PlansRepository_php 1 192 µs 81 µs 7,704 bytes bytes 192 µs 81 µs 7,704 bytes bytes
load::TargetGroups/TargetGroupsMatcher_php 1 184 µs 74 µs 70,912 bytes bytes 184 µs 74 µs 70,912 bytes bytes
load::TargetGroups/TargetGroup_php 1 184 µs 73 µs 7,928 bytes bytes 184 µs 73 µs 7,928 bytes bytes
load::CustomerQuery/CustomerQueryInterface_php 1 175 µs 56 µs 5,240 bytes bytes 175 µs 56 µs 5,240 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::tryToAcquireLock 1 174 µs 57 µs 696 bytes bytes 196 µs 79 µs 1,376 bytes bytes
load::Labels/LabelsRepository_php 1 171 µs 62 µs 3,504 bytes bytes 171 µs 62 µs 3,504 bytes bytes
load::Labels/LabelResource_php 1 168 µs 60 µs 12,032 bytes bytes 168 µs 60 µs 12,032 bytes bytes
load::TargetGroups/TargetGroupRepository_php 1 161 µs 51 µs 4,656 bytes bytes 161 µs 51 µs 4,656 bytes bytes
load::settings/localization_php 2 145 µs 146 µs 63,504 bytes bytes 145 µs 146 µs 63,504 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::build 4 131 µs 132 µs 13,240 bytes bytes 267 µs 268 µs 40,928 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::unlock 1 120 µs 58 µs 616 bytes bytes 153 µs 92 µs 1,264 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::handle 1 73 µs 70 µs 752 bytes bytes 19,646 µs 10,866 µs 294,232 bytes bytes
load::settings/captive_portal_php 1 58 µs 59 µs 8,184 bytes bytes 58 µs 59 µs 8,184 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::getKey 2 55 µs 56 µs 1,328 bytes bytes 55 µs 56 µs 1,328 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 4 52 µs 50 µs 5,848 bytes bytes 110 µs 110 µs 21,296 bytes bytes
route 1 48 µs 48 µs 944 bytes bytes 48 µs 48 µs 944 bytes bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::select… 1 48 µs 41 µs -640 bytes bytes 19,224 µs 10,625 µs 290,840 bytes bytes
Symfony\Component\HttpFoundation\RedirectResponse::__construct 1 47 µs 46 µs 2,720 bytes bytes 58 µs 59 µs 5,600 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::buildConditio… 4 35 µs 34 µs 4,344 bytes bytes 46 µs 49 µs 10,856 bytes bytes
redirect 1 29 µs 30 µs 696 bytes bytes 121 µs 122 µs 17,640 bytes bytes
load::settings/customers_php 1 26 µs 27 µs 5,048 bytes bytes 26 µs 27 µs 5,048 bytes bytes
Illuminate\Database\Query\Builder::leftJoin 4 26 µs 26 µs 6,392 bytes bytes 26 µs 26 µs 6,392 bytes bytes
App\Services\RedirectFlow\Adverts\Adverts::isWeNeedToShowAd 1 26 µs 25 µs -5,144 bytes bytes 18,416 µs 10,035 µs 260,432 bytes bytes
App\Helpers\Str::generateString 1 23 µs 22 µs 1,408 bytes bytes 26 µs 26 µs 2,680 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAllPa… 4 23 µs 19 µs -79,624 bytes bytes 8,957 µs 6,793 µs 359,032 bytes bytes
load::settings/finance_php 1 19 µs 20 µs 7,064 bytes bytes 19 µs 20 µs 7,064 bytes bytes
load::settings/status_page_notifications_php 1 19 µs 20 µs 5,872 bytes bytes 19 µs 20 µs 5,872 bytes bytes
load::settings/splynx_integration_php 1 16 µs 17 µs 6,232 bytes bytes 16 µs 17 µs 6,232 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::initializeSoftDeletes… 7 16 µs 18 µs 696 bytes bytes 27 µs 29 µs 1,328 bytes bytes
App\Repositories\Tenant\TargetGroups\TargetGroupRepository::getAv… 4 16 µs 14 µs -8,392 bytes bytes 9,231 µs 6,950 µs 378,800 bytes bytes
load::settings/finance_notifications_php 1 14 µs 14 µs 4,488 bytes bytes 14 µs 14 µs 4,488 bytes bytes
load::settings/security_php 1 14 µs 15 µs 6,896 bytes bytes 14 µs 15 µs 6,896 bytes bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detectTargetG… 1 14 µs 13 µs -21,528 bytes bytes 14,721 µs 9,496 µs 245,896 bytes bytes
App\Http\Middleware\RedirectFlowProfiling::handle 1 14 µs 13 µs 616 bytes bytes 19,660 µs 10,879 µs 294,848 bytes bytes
load::settings/voucher_limit_notifications_php 1 13 µs 14 µs 6,056 bytes bytes 13 µs 14 µs 6,056 bytes bytes
load::settings/portal_php 1 12 µs 12 µs 4,144 bytes bytes 12 µs 12 µs 4,144 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::getDeletedAtColumn 15 12 µs 12 µs 1,296 bytes bytes 12 µs 12 µs 1,296 bytes bytes
App\Services\RedirectFlow\Adverts\Adverts::makeHash 1 10 µs 11 µs -64 bytes bytes 36 µs 37 µs 2,616 bytes bytes
Symfony\Component\HttpFoundation\RedirectResponse::setTargetUrl 1 10 µs 11 µs 2,248 bytes bytes 10 µs 11 µs 2,248 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 4 µs µs 856 bytes bytes 55 µs 56 µs 11,712 bytes bytes
Illuminate\Routing\Redirector::{closure:Illuminate\Routing\Redire… 1 µs µs 856 bytes bytes 11 µs 12 µs 2,848 bytes bytes
App\Services\RedirectFlow\Adverts\Adverts::complete 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Routing\Redirector::createRedirect 1 µs µs 968 bytes bytes 77 µs 78 µs 9,416 bytes bytes
Illuminate\Routing\Redirector::to 1 µs µs 680 bytes bytes 92 µs 92 µs 16,944 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::getQualifiedDeletedAt… 1 µs µs 752 bytes bytes µs µs 1,416 bytes bytes
Illuminate\Routing\UrlGenerator::to 1 µs µs 632 bytes bytes µs µs 6,848 bytes bytes
Xhgui\Profiler\Profiler::disable 1 µs µs 776 bytes bytes 10 µs µs 1,944 bytes bytes
Illuminate\Database\Query\Builder::whereLike 1 µs µs 2,136 bytes bytes µs µs 2,136 bytes bytes
Illuminate\Database\Query\Grammars\MySqlGrammar::whereLike 1 µs µs 1,064 bytes bytes µs µs 1,064 bytes bytes
Xhgui\Profiler\Profiler::registerShutdownHandler 1 µs µs 1,216 bytes bytes µs µs 1,216 bytes bytes
App\Helpers\Str::getString 1 µs µs 1,272 bytes bytes µs µs 1,272 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::bootSoftDeletes 1 µs µs 1,064 bytes bytes µs µs 1,064 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::buildOrWhereG… 4 µs µs 3,736 bytes bytes µs µs 3,736 bytes bytes
App\Services\RedirectFlow\Redirect::redirect 1 µs µs 696 bytes bytes 124 µs 124 µs 18,336 bytes bytes
Laravel\Boost\Middleware\InjectBoost::shouldInject 1 µs µs 600 bytes bytes µs µs 600 bytes bytes
Xhgui\Profiler\ProfilingData::__construct 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
Illuminate\Routing\UrlGenerator::{closure:Stancl\Tenancy\Bootstra… 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::parseArrayVal… 1 µs µs 944 bytes bytes µs µs 944 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::isAf 3 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Database\Query\Builder::whereRaw 1 µs µs 2,136 bytes bytes µs µs 2,136 bytes bytes
Illuminate\Routing\UrlGenerator::isValidUrl 1 µs µs 6,216 bytes bytes µs µs 6,216 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::isCustomerLab… 3 µs µs 664 bytes bytes µs µs 664 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::whereRaw 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
Symfony\Component\HttpFoundation\Response::isRedirect 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Http\RedirectResponse::setSession 1 µs µs 664 bytes bytes µs µs 664 bytes bytes
Illuminate\Routing\UrlGenerator::getRequest 1 µs µs 664 bytes bytes µs µs 664 bytes bytes
Xhgui\Profiler\Profilers\XHProf::disable 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
Illuminate\Http\RedirectResponse::setRequest 1 µs µs 664 bytes bytes µs µs 664 bytes bytes