Profile data for GET http://e2e-tests.tsumanchuk.project-h.io/portal/api/redirect-flow/select-plan/9?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\Clickhouse\CustomerActivityFactsRepository::selectDistinctCustomerIds
349,464 µs
main()
3,426 µs
App\Services\TargetGroups\TargetGroupsMatcher::match
3,148 µs
App\Services\RedirectFlow\Adverts\CampaignDetector::detect
2,863 µs
Laravel\Boost\Middleware\InjectBoost::handle
2,396 µs
App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter
1,004 µs

Memory Hogs

load::TargetGroups/TargetGroupRepository_php
68,912 bytes
load::settings/localization_php
63,504 bytes
load::CustomerQuery/CustomerQueryTrait_php
53,528 bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseParameters
34,360 bytes
Laravel\Boost\Middleware\InjectBoost::handle
30,808 bytes
load::TargetGroups/CustomerParameters_php
29,440 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\Clickhouse\CustomerActivityFactsRepository::sele… 1 349,464 µs 1,322 µs 20,208 bytes bytes 349,464 µs 1,322 µs 20,208 bytes bytes
main() 1 3,426 µs 2,542 µs -38,736 bytes bytes 372,530 µs 13,858 µs 440,208 bytes bytes
App\Services\TargetGroups\TargetGroupsMatcher::match 1 3,148 µs 1,194 µs -46,792 bytes bytes 360,859 µs 7,674 µs 320,368 bytes bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detect 1 2,863 µs 391 µs -26,152 bytes bytes 364,066 µs 8,290 µs 313,112 bytes bytes
Laravel\Boost\Middleware\InjectBoost::handle 1 2,396 µs 1,335 µs 30,808 bytes bytes 368,781 µs 11,154 µs 465,576 bytes bytes
App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter 3 1,004 µs 708 µs 2,320 bytes bytes 1,185 µs 902 µs 17,840 bytes bytes
App\Repositories\Tenant\Labels\LabelsRepository::getCustomerLabel… 3 875 µs 558 µs 1,856 bytes bytes 1,041 µs 624 µs 13,888 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAddit… 3 846 µs 521 µs 6,984 bytes bytes 846 µs 521 µs 6,984 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseP… 3 823 µs 572 µs 34,360 bytes bytes 3,416 µs 2,242 µs 77,296 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::__construct 3 752 µs 418 µs 7,048 bytes bytes 5,510 µs 3,447 µs 177,712 bytes bytes
Illuminate\Log\LogManager::warning 1 506 µs 329 µs 744 bytes bytes 506 µs 329 µs 744 bytes bytes
load::CustomerQuery/CustomerQueryTrait_php 1 444 µs 275 µs 53,528 bytes bytes 444 µs 275 µs 53,528 bytes bytes
load::CustomerQuery/CustomerActivityFactsConditionBuilder_php 1 417 µs 208 µs 27,880 bytes bytes 417 µs 208 µs 27,880 bytes bytes
load::Clickhouse/CustomerActivityFactsRepository_php 1 363 µs 226 µs 29,008 bytes bytes 363 µs 226 µs 29,008 bytes bytes
load::Middleware/RedirectFlowRouteMutex_php 1 307 µs 143 µs 9,416 bytes bytes 307 µs 143 µs 9,416 bytes bytes
load::Adverts/Adverts_php 1 294 µs 119 µs 7,776 bytes bytes 294 µs 119 µs 7,776 bytes bytes
load::TargetGroups/TargetGroupsQueryBuilder_php 1 285 µs 143 µs 18,024 bytes bytes 285 µs 143 µs 18,024 bytes bytes
load::Adverts/CampaignDetector_php 1 270 µs 149 µs 13,616 bytes bytes 270 µs 149 µs 13,616 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::tryToAcquireLock 1 266 µs 75 µs 696 bytes bytes 291 µs 101 µs 1,376 bytes bytes
load::TargetGroups/CustomerParameters_php 1 264 µs 153 µs 29,440 bytes bytes 264 µs 153 µs 29,440 bytes bytes
load::CustomerActivityFacts/CustomerActivityFactsPublisher_php 1 253 µs 125 µs 14,152 bytes bytes 253 µs 125 µs 14,152 bytes bytes
load::TargetGroups/TargetGroup_php 1 219 µs 105 µs 7,928 bytes bytes 219 µs 105 µs 7,928 bytes bytes
load::CustomerQuery/CustomerQueryInterface_php 1 214 µs 93 µs 5,304 bytes bytes 214 µs 93 µs 5,304 bytes bytes
load::TargetGroups/TargetGroupsMatcher_php 1 208 µs 91 µs 5,376 bytes bytes 208 µs 91 µs 5,376 bytes bytes
load::TargetGroups/TargetGroupRepository_php 1 202 µs 88 µs 68,912 bytes bytes 202 µs 88 µs 68,912 bytes bytes
load::settings/localization_php 2 200 µs 201 µs 63,504 bytes bytes 200 µs 201 µs 63,504 bytes bytes
load::Plans/PlansRepository_php 1 198 µs 87 µs 7,704 bytes bytes 198 µs 87 µs 7,704 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::unlock 1 193 µs 62 µs 616 bytes bytes 227 µs 97 µs 1,264 bytes bytes
load::Labels/LabelsRepository_php 1 169 µs 57 µs 3,504 bytes bytes 169 µs 57 µs 3,504 bytes bytes
load::Labels/LabelResource_php 1 166 µs 66 µs 12,032 bytes bytes 166 µs 66 µs 12,032 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::build 3 158 µs 156 µs 15,664 bytes bytes 350,990 µs 2,366 µs 99,360 bytes bytes
App\Repositories\Tenant\Plans\PlansRepository::{closure:App\Repos… 27 138 µs 148 µs 10,880 bytes bytes 138 µs 148 µs 10,880 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::buildConditio… 5 95 µs 87 µs -7,416 bytes bytes 350,734 µs 2,110 µs 71,856 bytes bytes
App\Services\CustomerQuery\CustomerActivityFactsConditionBuilder:… 1 79 µs 79 µs 1,864 bytes bytes 349,848 µs 1,572 µs 17,184 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::handle 1 70 µs 66 µs 752 bytes bytes 366,007 µs 9,429 µs 348,440 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::getKey 2 59 µs 61 µs 1,328 bytes bytes 59 µs 61 µs 1,328 bytes bytes
Illuminate\Database\Eloquent\Builder::orWhere 4 59 µs 59 µs 7,480 bytes bytes 350,804 µs 2,181 µs 80,096 bytes bytes
load::settings/captive_portal_php 1 54 µs 55 µs 8,184 bytes bytes 54 µs 55 µs 8,184 bytes bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::select… 1 50 µs 41 µs -672 bytes bytes 365,419 µs 9,165 µs 345,048 bytes bytes
App\Repositories\Clickhouse\CustomerActivityFactsRepository::getC… 1 49 µs 43 µs -19,952 bytes bytes 349,766 µs 1,490 µs 14,408 bytes bytes
route 1 44 µs 45 µs 944 bytes bytes 44 µs 45 µs 944 bytes bytes
load::settings/customers_php 1 41 µs 41 µs 5,048 bytes bytes 41 µs 41 µs 5,048 bytes bytes
Symfony\Component\HttpFoundation\RedirectResponse::__construct 1 40 µs 39 µs 2,720 bytes bytes 48 µs 48 µs 5,600 bytes bytes
App\Services\RedirectFlow\Adverts\Adverts::isWeNeedToShowAd 1 34 µs 32 µs -5,144 bytes bytes 364,370 µs 8,471 µs 321,584 bytes bytes
App\Services\RedirectFlow\Adverts\Adverts::makeHash 1 32 µs 34 µs 1,336 bytes bytes 32 µs 34 µs 1,336 bytes bytes
load::settings/finance_php 1 29 µs 31 µs 7,064 bytes bytes 29 µs 31 µs 7,064 bytes bytes
load::settings/security_php 1 26 µs 27 µs 6,896 bytes bytes 26 µs 27 µs 6,896 bytes bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detectTargetG… 1 26 µs 23 µs -19,368 bytes bytes 361,093 µs 7,788 µs 306,376 bytes bytes
redirect 1 26 µs 26 µs 696 bytes bytes 101 µs 102 µs 12,008 bytes bytes
load::settings/portal_php 1 25 µs 26 µs 4,144 bytes bytes 25 µs 26 µs 4,144 bytes bytes
load::settings/status_page_notifications_php 1 24 µs 25 µs 5,872 bytes bytes 24 µs 25 µs 5,872 bytes bytes
load::settings/voucher_limit_notifications_php 1 24 µs 25 µs 6,056 bytes bytes 24 µs 25 µs 6,056 bytes bytes
load::settings/splynx_integration_php 1 22 µs 24 µs 6,232 bytes bytes 22 µs 24 µs 6,232 bytes bytes
load::settings/finance_notifications_php 1 21 µs 22 µs 4,488 bytes bytes 21 µs 22 µs 4,488 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::initializeSoftDeletes… 6 21 µs 18 µs 696 bytes bytes 31 µs 32 µs 1,328 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::{closure:Illuminate\D… 3 21 µs 23 µs 816 bytes bytes 21 µs 23 µs 816 bytes bytes
App\Services\RedirectFlow\Adverts\Adverts::complete 1 20 µs 21 µs 632 bytes bytes 20 µs 21 µs 632 bytes bytes
App\Format\FormatManager::toUserTimezone 1 18 µs 19 µs 1,128 bytes bytes 18 µs 19 µs 1,128 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAllPa… 3 15 µs 10 µs -3,576 bytes bytes 4,277 µs 2,773 µs 80,704 bytes bytes
App\Repositories\Tenant\TargetGroups\TargetGroupRepository::getAv… 3 15 µs 15 µs -8,392 bytes bytes 4,556 µs 2,941 µs 101,752 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 3 14 µs 14 µs -2,216 bytes bytes 350,822 µs 2,199 µs 81,616 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::getDeletedAtColumn 13 11 µs 15 µs 1,296 bytes bytes 11 µs 15 µs 1,296 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 4 11 µs 12 µs 760 bytes bytes 350,745 µs 2,122 µs 72,616 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileOrdersToArray 3 µs µs 1,344 bytes bytes 29 µs 32 µs 2,160 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileOrders 3 µs µs 72 bytes bytes 37 µs 39 µs 2,232 bytes bytes
Illuminate\Database\Query\Builder::selectRaw 3 µs µs 1,448 bytes bytes µs µs 1,448 bytes bytes
Illuminate\Database\Query\Grammars\MySqlGrammar::whereLike 2 µs µs 1,496 bytes bytes µs µs 1,496 bytes bytes
Symfony\Component\HttpFoundation\RedirectResponse::setTargetUrl 1 µs µs 2,248 bytes bytes µs µs 2,248 bytes bytes
Illuminate\Routing\Redirector::{closure:Illuminate\Routing\Redire… 1 µs µs 856 bytes bytes µs µs 2,848 bytes bytes
Illuminate\Routing\Redirector::to 1 µs µs 680 bytes bytes 75 µs 76 µs 11,312 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::getQualifiedDeletedAt… 1 µs µs 752 bytes bytes µs µs 1,416 bytes bytes
Illuminate\Database\Query\Builder::orderBy 3 µs µs 2,408 bytes bytes µs µs 2,408 bytes bytes
Xhgui\Profiler\Profiler::disable 1 µs µs 776 bytes bytes 10 µs 10 µs 1,944 bytes bytes
Illuminate\Database\Query\Builder::whereLike 2 µs µs 2,512 bytes bytes µs µs 2,512 bytes bytes
Illuminate\Routing\Redirector::createRedirect 1 µs µs 968 bytes bytes 62 µs 62 µs 9,416 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
Laravel\Boost\Middleware\InjectBoost::shouldInject 1 µs µs 600 bytes bytes µs µs 600 bytes bytes
Xhgui\Profiler\Profiler::registerShutdownHandler 1 µs µs 1,376 bytes bytes µs µs 1,376 bytes bytes
Illuminate\Routing\UrlGenerator::{closure:Stancl\Tenancy\Bootstra… 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::getOperators 3 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Services\CustomerQuery\CustomerActivityFactsConditionBuilder:… 1 µs µs 912 bytes bytes µs µs 912 bytes bytes
App\Services\CustomerQuery\CustomerActivityFactsConditionBuilder:… 1 µs µs 728 bytes bytes 349,851 µs 1,575 µs 17,912 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
Xhgui\Profiler\ProfilingData::__construct 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::isAf 3 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Services\RedirectFlow\Redirect::redirect 1 µs µs 696 bytes bytes 103 µs 105 µs 12,704 bytes bytes
App\Services\CustomerQuery\CustomerActivityFactsConditionBuilder:… 1 µs µs 664 bytes bytes µs µs 664 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
App\Services\TargetGroups\TargetGroupsQueryBuilder::isCustomerLab… 3 µ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