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

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()
5,412 µs
App\Services\RedirectFlow\Adverts\CampaignDetector::detect
5,231 µs
App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter
4,247 µs
App\Services\TargetGroups\TargetGroupsMatcher::match
4,192 µs
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAdditionalFieldsParameters
2,956 µs
Laravel\Boost\Middleware\InjectBoost::handle
2,467 µs

Memory Hogs

App\Repositories\Tenant\Plans\PlansRepository::{closure:App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter():36}
190,008 bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAdditionalFieldsParameters
101,888 bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::__construct
92,888 bytes
load::settings/localization_php
63,504 bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseParameters
57,160 bytes
App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter
34,448 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 5,412 µs 3,356 µs -71,864 bytes bytes 35,134 µs 18,721 µs 214,720 bytes bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detect 1 5,231 µs 365 µs -25,696 bytes bytes 24,476 µs 12,362 µs 101,072 bytes bytes
App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter 4 4,247 µs 3,404 µs 34,448 bytes bytes 6,061 µs 5,323 µs 224,456 bytes bytes
App\Services\TargetGroups\TargetGroupsMatcher::match 1 4,192 µs 1,480 µs -390,120 bytes bytes 18,766 µs 11,776 µs 111,288 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAddit… 4 2,956 µs 1,367 µs 101,888 bytes bytes 2,956 µs 1,367 µs 101,888 bytes bytes
Laravel\Boost\Middleware\InjectBoost::handle 1 2,467 µs 1,198 µs 33,064 bytes bytes 29,266 µs 15,146 µs 272,816 bytes bytes
App\Repositories\Tenant\Plans\PlansRepository::{closure:App\Repos… 500 1,814 µs 1,919 µs 190,008 bytes bytes 1,814 µs 1,919 µs 190,008 bytes bytes
App\Repositories\Tenant\Labels\LabelsRepository::getCustomerLabel… 4 1,549 µs 1,018 µs 25,584 bytes bytes 1,549 µs 1,018 µs 25,584 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::__construct 4 1,343 µs 961 µs 92,888 bytes bytes 13,503 µs 9,551 µs 429,704 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseP… 4 1,067 µs 678 µs 57,160 bytes bytes 8,989 µs 7,117 µs 310,704 bytes bytes
load::Middleware/RedirectFlowRouteMutex_php 1 427 µs 186 µs 9,344 bytes bytes 427 µs 186 µs 9,344 bytes bytes
RoadRunner\Logger\Logger::warning 1 380 µs 201 µs 568 bytes bytes 380 µs 201 µs 568 bytes bytes
load::TargetGroups/TargetGroupsMatcher_php 1 371 µs 114 µs 5,216 bytes bytes 371 µs 114 µs 5,216 bytes bytes
load::TargetGroups/TargetGroup_php 1 343 µs 115 µs 7,928 bytes bytes 343 µs 115 µs 7,928 bytes bytes
load::Labels/LabelsRepository_php 1 312 µs 98 µs 3,504 bytes bytes 312 µs 98 µs 3,504 bytes bytes
load::Adverts/CampaignDetector_php 1 285 µs 151 µs 13,616 bytes bytes 285 µs 151 µs 13,616 bytes bytes
load::TargetGroups/TargetGroupsQueryBuilder_php 1 278 µs 175 µs 17,384 bytes bytes 278 µs 175 µs 17,384 bytes bytes
load::Adverts/Adverts_php 1 258 µs 133 µs 8,416 bytes bytes 258 µs 133 µs 8,416 bytes bytes
Illuminate\Log\LogManager::warning 1 244 µs 182 µs 808 bytes bytes 624 µs 383 µs 1,376 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::build 4 212 µs 210 µs 13,232 bytes bytes 404 µs 406 µs 40,888 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::tryToAcquireLock 1 197 µs 66 µs 696 bytes bytes 222 µs 91 µs 1,376 bytes bytes
load::settings/localization_php 2 171 µs 173 µs 63,504 bytes bytes 171 µs 173 µs 63,504 bytes bytes
load::TargetGroups/TargetGroupRepository_php 1 169 µs 66 µs 3,120 bytes bytes 169 µs 66 µs 3,120 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::unlock 1 144 µs 52 µs 616 bytes bytes 199 µs 103 µs 1,264 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::handle 1 87 µs 87 µs 752 bytes bytes 26,451 µs 13,593 µs 142,664 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::getKey 2 80 µs 76 µs 1,328 bytes bytes 80 µs 76 µs 1,328 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 4 67 µs 66 µs 5,848 bytes bytes 149 µs 152 µs 21,264 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::buildConditio… 4 52 µs 50 µs 4,344 bytes bytes 65 µs 67 µs 10,824 bytes bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::select… 1 49 µs 47 µs -672 bytes bytes 25,943 µs 13,312 µs 139,272 bytes bytes
load::settings/captive_portal_php 1 48 µs 49 µs 8,184 bytes bytes 48 µs 49 µs 8,184 bytes bytes
load::settings/portal_voucher_purchase_php 1 48 µs 49 µs 10,144 bytes bytes 48 µs 49 µs 10,144 bytes bytes
route 1 44 µs 44 µs 944 bytes bytes 44 µs 44 µs 944 bytes bytes
Illuminate\Database\Query\Builder::leftJoin 4 43 µs 44 µs 6,392 bytes bytes 43 µs 44 µs 6,392 bytes bytes
App\Services\RedirectFlow\Adverts\Adverts::isWeNeedToShowAd 1 42 µs 38 µs -5,144 bytes bytes 24,803 µs 12,551 µs 109,544 bytes bytes
Symfony\Component\HttpFoundation\RedirectResponse::__construct 1 36 µs 37 µs 2,720 bytes bytes 45 µs 46 µs 5,600 bytes bytes
App\Services\RedirectFlow\Adverts\Adverts::makeHash 1 35 µs 36 µs 696 bytes bytes 35 µs 36 µs 696 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAllPa… 4 34 µs 29 µs -79,624 bytes bytes 11,979 µs 8,513 µs 332,968 bytes bytes
load::settings/customers_php 1 31 µs 32 µs 5,048 bytes bytes 31 µs 32 µs 5,048 bytes bytes
redirect 1 28 µs 22 µs 696 bytes bytes 108 µs 96 µs 17,640 bytes bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detectTargetG… 1 25 µs 23 µs -21,496 bytes bytes 19,162 µs 11,913 µs 95,008 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::initializeSoftDeletes… 7 22 µs 18 µs 696 bytes bytes 30 µs 32 µs 1,328 bytes bytes
load::settings/finance_php 1 20 µs 20 µs 7,064 bytes bytes 20 µs 20 µs 7,064 bytes bytes
App\Services\RedirectFlow\Adverts\Adverts::complete 1 20 µs 20 µs 632 bytes bytes 20 µs 20 µs 632 bytes bytes
load::settings/security_php 1 19 µs 19 µs 6,896 bytes bytes 19 µs 19 µs 6,896 bytes bytes
load::settings/status_page_notifications_php 1 16 µs 16 µs 5,872 bytes bytes 16 µs 16 µ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
Illuminate\Routing\Redirector::createRedirect 1 16 µs µs 968 bytes bytes 71 µs 65 µs 15,048 bytes bytes
App\Http\Middleware\RedirectFlowProfiling::handle 1 16 µs 16 µs 616 bytes bytes 26,467 µs 13,609 µs 143,280 bytes bytes
load::settings/finance_notifications_php 1 15 µs 16 µs 4,488 bytes bytes 15 µs 16 µs 4,488 bytes bytes
load::settings/splynx_integration_php 1 15 µs 16 µs 6,232 bytes bytes 15 µs 16 µs 6,232 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 4 13 µs 13 µs 856 bytes bytes 78 µs 80 µs 11,680 bytes bytes
Symfony\Component\Translation\MessageCatalogue::{closure:Carbon\L… 19 13 µs 16 µs 632 bytes bytes 13 µs 16 µs 632 bytes bytes
load::settings/portal_php 1 12 µs 12 µs 4,144 bytes bytes 12 µs 12 µs 4,144 bytes bytes
App\Repositories\Tenant\TargetGroups\TargetGroupRepository::getAv… 4 12 µs 11 µs 728 bytes bytes 11,991 µs 8,524 µs 333,696 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::getDeletedAtColumn 15 µs 16 µs 1,296 bytes bytes µs 16 µs 1,296 bytes bytes
Illuminate\Routing\Redirector::{closure:Illuminate\Routing\Redire… 1 µs µs 856 bytes bytes 10 µs 12 µs 8,480 bytes bytes
Symfony\Component\HttpFoundation\RedirectResponse::setTargetUrl 1 µs µs 2,248 bytes bytes µs µs 2,248 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::getQualifiedDeletedAt… 1 µs µs 752 bytes bytes µs µs 1,416 bytes bytes
Xhgui\Profiler\Profiler::disable 1 µs µs 776 bytes bytes 10 µs 10 µs 1,944 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::buildOrWhereG… 4 µs µs 3,736 bytes bytes µs µs 3,736 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\UrlGenerator::to 1 µs µs 632 bytes bytes µs µs 1,216 bytes bytes
Laravel\Boost\Middleware\InjectBoost::shouldInject 1 µs µs 600 bytes bytes µs µs 600 bytes bytes
Xhgui\Profiler\Profiler::registerShutdownHandler 1 µs µs 1,216 bytes bytes µs µs 1,216 bytes bytes
Illuminate\Routing\UrlGenerator::{closure:Stancl\Tenancy\Bootstra… 1 µs µs 632 bytes bytes µs µs 632 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::parseArrayVal… 1 µs µs 912 bytes bytes µs µs 912 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::isAf 3 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Routing\Redirector::to 1 µs µs 680 bytes bytes 80 µs 74 µs 16,944 bytes bytes
Xhgui\Profiler\ProfilingData::__construct 1 µs µs 584 bytes bytes µs µs 584 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
App\Services\RedirectFlow\Redirect::redirect 1 µs µs 696 bytes bytes 110 µs 98 µs 18,336 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::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\Http\RedirectResponse::setSession 1 µs µs 6,296 bytes bytes µs µs 6,296 bytes bytes
Illuminate\Routing\UrlGenerator::getRequest 1 µs µs 664 bytes bytes µs µs 664 bytes bytes