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

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,922 µs
main()
3,202 µs
Laravel\Boost\Middleware\InjectBoost::handle
1,690 µs
App\Repositories\Tenant\Plans\PlansRepository::{closure:App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter():36}
1,526 µs
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAdditionalFieldsParameters
1,357 µs
App\Services\TargetGroups\TargetGroupsMatcher::match
1,317 µ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
94,264 bytes
load::settings/localization_php
63,504 bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseParameters
61,832 bytes
Laravel\Boost\Middleware\InjectBoost::handle
36,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
App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter 4 3,922 µs 2,985 µs 34,448 bytes bytes 5,448 µs 4,667 µs 223,176 bytes bytes
main() 1 3,202 µs 2,387 µs -22,608 bytes bytes 17,917 µs 13,060 µs 177,768 bytes bytes
Laravel\Boost\Middleware\InjectBoost::handle 1 1,690 µs 1,024 µs 36,448 bytes bytes 14,687 µs 10,652 µs 196,584 bytes bytes
App\Repositories\Tenant\Plans\PlansRepository::{closure:App\Repos… 500 1,526 µs 1,682 µs 188,728 bytes bytes 1,526 µs 1,682 µs 188,728 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAddit… 4 1,357 µs 990 µs 101,888 bytes bytes 1,357 µs 990 µs 101,888 bytes bytes
App\Services\TargetGroups\TargetGroupsMatcher::match 1 1,317 µs 723 µs -416,944 bytes bytes 11,239 µs 8,512 µs 57,088 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::__construct 4 1,066 µs 687 µs 94,264 bytes bytes 9,590 µs 7,455 µs 427,848 bytes bytes
App\Repositories\Tenant\Labels\LabelsRepository::getCustomerLabel… 4 881 µs 586 µs 25,584 bytes bytes 881 µs 586 µs 25,584 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseP… 4 794 µs 488 µs 61,832 bytes bytes 7,123 µs 5,741 µs 310,592 bytes bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detect 1 598 µs 235 µs -25,696 bytes bytes 11,914 µs 8,824 µs 43,552 bytes bytes
Illuminate\Log\LogManager::warning 1 319 µs 192 µs 744 bytes bytes 319 µs 192 µs 744 bytes bytes
Illuminate\Redis\RedisManager::__call 2 213 µs 64 µs 1,200 bytes bytes 213 µs 64 µs 1,200 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::build 4 144 µs 137 µs 11,056 bytes bytes 299 µs 298 µs 41,744 bytes bytes
load::settings/localization_php 2 142 µs 143 µs 63,504 bytes bytes 142 µs 143 µs 63,504 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 4 56 µs 56 µs 5,848 bytes bytes 120 µs 124 µs 21,296 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::handle 1 50 µs 50 µs 752 bytes bytes 12,740 µs 9,363 µs 73,192 bytes bytes
load::settings/captive_portal_php 1 43 µs 44 µs 8,184 bytes bytes 43 µs 44 µs 8,184 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::getKey 2 39 µs 41 µs 1,328 bytes bytes 39 µs 41 µs 1,328 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::buildConditio… 4 38 µs 38 µs 4,344 bytes bytes 49 µs 51 µs 10,856 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAllPa… 4 34 µs 28 µs -79,624 bytes bytes 8,514 µs 6,759 µs 332,856 bytes bytes
Symfony\Component\HttpFoundation\RedirectResponse::__construct 1 30 µs 30 µs 2,720 bytes bytes 37 µs 38 µs 5,600 bytes bytes
Illuminate\Database\Query\Builder::leftJoin 4 28 µs 29 µs 6,392 bytes bytes 28 µs 29 µs 6,392 bytes bytes
redirect 1 28 µs 21 µs 696 bytes bytes 85 µs 79 µs 12,008 bytes bytes
route 1 27 µs 28 µs 696 bytes bytes 27 µs 28 µs 696 bytes bytes
load::settings/customers_php 1 26 µs 27 µs 5,048 bytes bytes 26 µs 27 µs 5,048 bytes bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::select… 1 26 µs 20 µs 1,320 bytes bytes 12,418 µs 9,191 µs 67,080 bytes bytes
App\Services\RedirectFlow\Adverts\Adverts::makeHash 1 23 µs 23 µs 696 bytes bytes 23 µs 23 µs 696 bytes bytes
load::settings/finance_php 1 19 µs 20 µs 7,064 bytes bytes 19 µs 20 µs 7,064 bytes bytes
Xhgui\Profiler\Profiler::disable 1 19 µs 10 µs 776 bytes bytes 22 µs 14 µs 1,944 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::initializeSoftDeletes… 6 18 µs 13 µs 696 bytes bytes 23 µs 24 µs 1,328 bytes bytes
load::settings/security_php 1 16 µs 16 µs 7,216 bytes bytes 16 µs 16 µs 7,216 bytes bytes
load::settings/finance_notifications_php 1 15 µs 15 µs 4,488 bytes bytes 15 µs 15 µs 4,488 bytes bytes
load::settings/status_page_notifications_php 1 14 µs 15 µs 5,872 bytes bytes 14 µs 15 µs 5,872 bytes bytes
load::settings/splynx_integration_php 1 13 µs 14 µs 6,232 bytes bytes 13 µs 14 µs 6,232 bytes bytes
load::settings/voucher_limit_notifications_php 1 13 µs 13 µs 6,056 bytes bytes 13 µs 13 µs 6,056 bytes bytes
App\Services\RedirectFlow\Adverts\Adverts::isWeNeedToShowAd 1 13 µs 12 µs -136 bytes bytes 11,927 µs 8,836 µs 43,416 bytes bytes
App\Http\Middleware\RedirectFlowProfiling::handle 1 13 µs 13 µs 616 bytes bytes 12,753 µs 9,376 µs 73,808 bytes bytes
load::settings/portal_php 1 12 µs 13 µs 3,824 bytes bytes 12 µs 13 µs 3,824 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::tryToAcquireLock 1 11 µs µs 824 bytes bytes 168 µs 62 µs 2,736 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 4 11 µs 11 µs 856 bytes bytes 60 µs 62 µs 11,712 bytes bytes
App\Repositories\Tenant\TargetGroups\TargetGroupRepository::getAv… 4 10 µs µs 728 bytes bytes 8,524 µs 6,768 µs 333,584 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::unlock 1 µs µs 744 bytes bytes 104 µs 60 µs 2,624 bytes bytes
App\Services\RedirectFlow\Adverts\Adverts::complete 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Database\Query\Builder::selectRaw 4 µs µs 3,000 bytes bytes µs µs 3,000 bytes bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detectTargetG… 1 µs µs -19,600 bytes bytes 11,245 µs 8,518 µs 37,488 bytes bytes
Symfony\Component\HttpFoundation\RedirectResponse::setTargetUrl 1 µs µs 2,248 bytes bytes µs µs 2,248 bytes bytes
Illuminate\Routing\Redirector::createRedirect 1 µs µs 968 bytes bytes 50 µs 51 µs 9,416 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::getDeletedAtColumn 13 µs 12 µs 1,296 bytes bytes µs 12 µs 1,296 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
App\Services\TargetGroups\TargetGroupsQueryBuilder::buildOrWhereG… 4 µs µs 3,736 bytes bytes µs µs 3,736 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
Illuminate\Routing\UrlGenerator::{closure:Stancl\Tenancy\Bootstra… 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::isAf 3 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Database\Query\Builder::whereLike 1 µs µs 2,136 bytes bytes µs µs 2,136 bytes bytes
Illuminate\Routing\Redirector::to 1 µs µs 680 bytes bytes 57 µs 58 µs 11,312 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::parseArrayVal… 1 µs µs 944 bytes bytes µs µs 944 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 6,328 bytes bytes 87 µs 82 µ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\Http\Request::query 1 µs µs 1,240 bytes bytes µs µs 1,240 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\Routing\UrlGenerator::getRequest 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\Support\Facades\Redis::getFacadeAccessor 2 µs µs 1,264 bytes bytes µs µs 1,264 bytes bytes
Illuminate\Http\RedirectResponse::setSession 1 µs µs 664 bytes bytes µs µs 664 bytes bytes