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\Services\TargetGroups\TargetGroupsMatcher::match
13,544 µs
App\Services\RedirectFlow\Adverts\CampaignDetector::detect
4,823 µs
App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter
4,084 µs
main()
3,501 µs
Laravel\Boost\Middleware\InjectBoost::handle
2,316 µs
App\Repositories\Tenant\Plans\PlansRepository::{closure:App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter():36}
1,522 µ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
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseParameters
66,312 bytes
load::settings/localization_php
63,504 bytes
load::CustomerQuery/CustomerQueryTrait_php
54,808 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\Services\TargetGroups\TargetGroupsMatcher::match 1 13,544 µs 1,248 µs -410,344 bytes bytes 26,246 µs 10,478 µs 197,848 bytes bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detect 1 4,823 µs 295 µs -26,160 bytes bytes 31,417 µs 10,992 µs 189,088 bytes bytes
App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter 4 4,084 µs 3,173 µs 34,448 bytes bytes 5,606 µs 4,845 µs 223,176 bytes bytes
main() 1 3,501 µs 2,599 µs -36,024 bytes bytes 39,592 µs 16,217 µs 331,976 bytes bytes
Laravel\Boost\Middleware\InjectBoost::handle 1 2,316 µs 1,163 µs 36,448 bytes bytes 35,723 µs 13,415 µs 354,792 bytes bytes
App\Repositories\Tenant\Plans\PlansRepository::{closure:App\Repos… 500 1,522 µs 1,672 µs 188,728 bytes bytes 1,522 µs 1,672 µs 188,728 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAddit… 4 1,451 µs 1,015 µs 101,888 bytes bytes 1,451 µs 1,015 µs 101,888 bytes bytes
App\Repositories\Tenant\Labels\LabelsRepository::getCustomerLabel… 4 1,127 µs 639 µs 24,040 bytes bytes 1,293 µs 702 µs 36,072 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::__construct 4 1,099 µs 728 µs 92,888 bytes bytes 11,323 µs 8,320 µs 475,064 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseP… 4 1,078 µs 666 µs 66,312 bytes bytes 8,316 µs 6,348 µs 336,768 bytes bytes
Illuminate\Log\LogManager::warning 1 447 µs 233 µs 744 bytes bytes 447 µs 233 µs 744 bytes bytes
load::CustomerQuery/CustomerQueryTrait_php 1 387 µs 263 µs 54,808 bytes bytes 387 µs 263 µs 54,808 bytes bytes
load::Middleware/RedirectFlowRouteMutex_php 1 353 µs 186 µs 9,416 bytes bytes 353 µs 186 µs 9,416 bytes bytes
load::Adverts/CampaignDetector_php 1 311 µs 191 µs 13,656 bytes bytes 311 µs 191 µs 13,656 bytes bytes
load::TargetGroups/TargetGroupsQueryBuilder_php 1 242 µs 128 µs 18,024 bytes bytes 242 µs 128 µs 18,024 bytes bytes
load::TargetGroups/CustomerParameters_php 1 236 µs 131 µs 28,160 bytes bytes 236 µs 131 µs 28,160 bytes bytes
load::Adverts/Adverts_php 1 227 µs 108 µs 7,776 bytes bytes 227 µs 108 µs 7,776 bytes bytes
load::TargetGroups/TargetGroup_php 1 227 µs 103 µs 7,928 bytes bytes 227 µs 103 µs 7,928 bytes bytes
load::TargetGroups/TargetGroupsMatcher_php 1 223 µs 95 µs 5,376 bytes bytes 223 µs 95 µs 5,376 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::unlock 1 185 µs 47 µs 616 bytes bytes 209 µs 71 µs 1,264 bytes bytes
load::Plans/PlansRepository_php 1 184 µs 82 µs 7,704 bytes bytes 184 µs 82 µs 7,704 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::tryToAcquireLock 1 183 µs 43 µs 696 bytes bytes 201 µs 62 µs 1,376 bytes bytes
load::TargetGroups/TargetGroupRepository_php 1 181 µs 63 µs 3,376 bytes bytes 181 µs 63 µs 3,376 bytes bytes
load::Labels/LabelResource_php 1 166 µs 63 µs 12,032 bytes bytes 166 µs 63 µs 12,032 bytes bytes
load::settings/localization_php 2 165 µs 166 µs 63,504 bytes bytes 165 µs 166 µs 63,504 bytes bytes
load::CustomerQuery/CustomerQueryInterface_php 1 161 µs 52 µs 5,240 bytes bytes 161 µs 52 µs 5,240 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::build 4 157 µs 154 µs 12,216 bytes bytes 311 µs 312 µs 41,624 bytes bytes
load::Labels/LabelsRepository_php 1 155 µs 53 µs 3,504 bytes bytes 155 µs 53 µs 3,504 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::handle 1 66 µs 65 µs 752 bytes bytes 33,127 µs 11,967 µs 231,400 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 4 62 µs 59 µs 5,848 bytes bytes 119 µs 119 µs 21,296 bytes bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::select… 1 54 µs 46 µs -640 bytes bytes 32,651 µs 11,769 µs 228,008 bytes bytes
load::settings/captive_portal_php 1 44 µs 44 µs 8,184 bytes bytes 44 µs 44 µs 8,184 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::getKey 2 42 µs 43 µs 1,328 bytes bytes 42 µs 43 µs 1,328 bytes bytes
Symfony\Component\HttpFoundation\RedirectResponse::__construct 1 39 µs 38 µs 2,720 bytes bytes 47 µs 48 µs 5,600 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::buildConditio… 4 33 µs 32 µs 4,344 bytes bytes 47 µs 49 µs 10,856 bytes bytes
App\Services\RedirectFlow\Adverts\Adverts::isWeNeedToShowAd 1 33 µs 33 µs 488 bytes bytes 31,761 µs 11,216 µs 203,232 bytes bytes
load::settings/customers_php 1 28 µs 28 µs 5,048 bytes bytes 28 µs 28 µs 5,048 bytes bytes
route 1 26 µs 27 µs 944 bytes bytes 26 µs 27 µs 944 bytes bytes
Illuminate\Database\Query\Builder::leftJoin 4 26 µs 28 µs 6,392 bytes bytes 26 µs 28 µs 6,392 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::initializeSoftDeletes… 7 24 µs 19 µs 696 bytes bytes 35 µs 34 µs 1,328 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAllPa… 4 24 µs 20 µs -79,624 bytes bytes 9,791 µs 7,383 µs 359,032 bytes bytes
App\Helpers\Str::generateString 1 22 µs 20 µs 1,408 bytes bytes 26 µs 25 µs 2,680 bytes bytes
load::settings/finance_php 1 21 µs 22 µs 7,064 bytes bytes 21 µs 22 µs 7,064 bytes bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detectTargetG… 1 19 µs 17 µs -21,528 bytes bytes 26,488 µs 10,590 µs 181,696 bytes bytes
redirect 1 19 µs 18 µs 696 bytes bytes 88 µs 88 µs 12,008 bytes bytes
load::settings/finance_notifications_php 1 16 µs 17 µs 4,488 bytes bytes 16 µs 17 µs 4,488 bytes bytes
load::settings/security_php 1 16 µs 17 µs 6,896 bytes bytes 16 µs 17 µs 6,896 bytes bytes
load::settings/status_page_notifications_php 1 16 µs 17 µs 5,872 bytes bytes 16 µs 17 µs 5,872 bytes bytes
load::settings/voucher_limit_notifications_php 1 16 µs 17 µs 6,056 bytes bytes 16 µs 17 µs 6,056 bytes bytes
App\Format\FormatManager::toUserTimezone 1 16 µs 16 µs 744 bytes bytes 20 µs 20 µs 1,792 bytes bytes
App\Repositories\Tenant\TargetGroups\TargetGroupRepository::getAv… 4 16 µs 15 µs -8,392 bytes bytes 10,043 µs 7,529 µs 378,800 bytes bytes
load::settings/portal_php 1 15 µs 15 µs 4,144 bytes bytes 15 µs 15 µs 4,144 bytes bytes
load::settings/splynx_integration_php 1 15 µs 15 µs 6,232 bytes bytes 15 µs 15 µs 6,232 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::getDeletedAtColumn 15 12 µs 16 µs 1,296 bytes bytes 12 µs 16 µs 1,296 bytes bytes
App\Services\RedirectFlow\Adverts\Adverts::makeHash 1 11 µs 13 µs -64 bytes bytes 37 µs 38 µs 2,616 bytes bytes
App\Http\Middleware\RedirectFlowProfiling::handle 1 11 µs 10 µs 616 bytes bytes 33,138 µs 11,977 µs 232,016 bytes bytes
Illuminate\Database\Query\Builder::selectRaw 4 µs 11 µs 1,720 bytes bytes µs 11 µs 1,720 bytes bytes
App\Services\RedirectFlow\Adverts\Adverts::complete 1 µs 10 µs 632 bytes bytes µs 10 µs 632 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 4 µs µs 856 bytes bytes 55 µs 56 µs 11,712 bytes bytes
Symfony\Component\HttpFoundation\RedirectResponse::setTargetUrl 1 µs µs 2,248 bytes bytes µs µs 2,248 bytes bytes
Xhgui\Profiler\Profiler::disable 1 µs µs 776 bytes bytes 10 µs 10 µs 1,944 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::getQualifiedDeletedAt… 1 µs µs 752 bytes bytes µs µs 1,416 bytes bytes
Illuminate\Routing\Redirector::{closure:Illuminate\Routing\Redire… 1 µs µs 856 bytes bytes µs µs 2,848 bytes bytes
Illuminate\Routing\Redirector::createRedirect 1 µs µs 968 bytes bytes 61 µs 62 µs 9,416 bytes bytes
App\Helpers\Str::getString 1 µs µs 1,272 bytes bytes µs µs 1,272 bytes bytes
App\Format\FormatManager::getDateTimeFormatSettings 1 µs µs 1,048 bytes bytes µs µs 1,048 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::bootSoftDeletes 1 µs µs 1,064 bytes bytes µs µs 1,064 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
Illuminate\Routing\Redirector::to 1 µs µs 680 bytes bytes 69 µs 70 µs 11,312 bytes bytes
Xhgui\Profiler\Profiler::registerShutdownHandler 1 µs µs 1,216 bytes bytes µs µs 1,216 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::parseArrayVal… 1 µs µs 944 bytes bytes µs µs 944 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::isCustomerLab… 3 µs µs 664 bytes bytes µs µs 664 bytes bytes
Laravel\Boost\Middleware\InjectBoost::shouldInject 1 µs µs 600 bytes bytes µs µs 600 bytes bytes
Illuminate\Routing\UrlGenerator::{closure:Stancl\Tenancy\Bootstra… 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::buildOrWhereG… 4 µs µs 3,736 bytes bytes µs µs 3,736 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 584 bytes bytes µs µs 584 bytes bytes
Illuminate\Routing\UrlGenerator::to 1 µs µs 632 bytes bytes µs µs 1,216 bytes bytes
App\Services\RedirectFlow\Redirect::redirect 1 µs µs 696 bytes bytes 90 µs 91 µs 12,704 bytes bytes
Xhgui\Profiler\ProfilingData::__construct 1 µs µs 584 bytes bytes µs µs 584 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\Http\RedirectResponse::setRequest 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\Routing\UrlGenerator::getRequest 1 µs µs 664 bytes bytes µs µs 664 bytes bytes