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
427,025 µs
main()
3,646 µs
App\Services\RedirectFlow\Adverts\CampaignDetector::detect
2,914 µs
Laravel\Boost\Middleware\InjectBoost::handle
2,765 µs
App\Services\TargetGroups\TargetGroupsMatcher::match
2,350 µs
Illuminate\Log\LogManager::warning
1,216 µs

Memory Hogs

load::settings/localization_php
64,144 bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseParameters
35,832 bytes
Laravel\Boost\Middleware\InjectBoost::handle
30,808 bytes
App\Repositories\Clickhouse\CustomerActivityFactsRepository::selectDistinctCustomerIds
20,136 bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::build
14,504 bytes
App\Repositories\Tenant\Plans\PlansRepository::{closure:App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter():36}
10,880 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 427,025 µs 1,609 µs 20,136 bytes bytes 427,025 µs 1,609 µs 20,136 bytes bytes
main() 1 3,646 µs 2,400 µs -36,528 bytes bytes 445,767 µs 11,217 µs 170,312 bytes bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detect 1 2,914 µs 423 µs -26,152 bytes bytes 436,886 µs 6,166 µs 60,296 bytes bytes
Laravel\Boost\Middleware\InjectBoost::handle 1 2,765 µs 1,384 µs 30,808 bytes bytes 442,105 µs 8,798 µs 203,048 bytes bytes
App\Services\TargetGroups\TargetGroupsMatcher::match 1 2,350 µs 885 µs -52,112 bytes bytes 433,787 µs 5,568 µs 70,360 bytes bytes
Illuminate\Log\LogManager::warning 1 1,216 µs 346 µs 744 bytes bytes 1,216 µs 346 µs 744 bytes bytes
App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter 3 946 µs 674 µs 2,320 bytes bytes 1,108 µs 851 µs 17,840 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAddit… 3 745 µs 430 µs 6,984 bytes bytes 745 µs 430 µs 6,984 bytes bytes
App\Repositories\Tenant\Labels\LabelsRepository::getCustomerLabel… 3 732 µs 459 µs 3,400 bytes bytes 732 µs 459 µs 3,400 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseP… 3 659 µs 408 µs 35,832 bytes bytes 2,499 µs 1,718 µs 57,072 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::__construct 3 644 µs 400 µs 8,424 bytes bytes 3,909 µs 2,569 µs 70,912 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::tryToAcquireLock 1 278 µs 61 µs 696 bytes bytes 314 µs 98 µs 1,376 bytes bytes
load::settings/localization_php 2 207 µs 209 µs 64,144 bytes bytes 207 µs 209 µs 64,144 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::build 3 171 µs 167 µs 14,504 bytes bytes 427,492 µs 2,074 µs 47,320 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::unlock 1 170 µs 68 µs 616 bytes bytes 217 µs 115 µs 1,264 bytes bytes
App\Repositories\Tenant\Plans\PlansRepository::{closure:App\Repos… 27 134 µs 145 µs 10,880 bytes bytes 134 µs 145 µs 10,880 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::handle 1 102 µs 99 µs 752 bytes bytes 439,033 µs 7,103 µs 85,912 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::getKey 2 83 µs 84 µs 1,328 bytes bytes 83 µs 84 µs 1,328 bytes bytes
App\Services\CustomerQuery\CustomerActivityFactsConditionBuilder:… 1 69 µs 69 µs 1,864 bytes bytes 427,147 µs 1,727 µs 6,008 bytes bytes
Illuminate\Database\Eloquent\Builder::orWhere 4 63 µs 64 µs 7,480 bytes bytes 427,294 µs 1,878 µs 29,216 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::buildConditio… 5 56 µs 53 µs 9,768 bytes bytes 427,219 µs 1,801 µs 20,976 bytes bytes
load::settings/customers_php 1 55 µs 55 µs 5,048 bytes bytes 55 µs 55 µs 5,048 bytes bytes
redirect 1 54 µs 41 µs 696 bytes bytes 131 µs 119 µs 17,640 bytes bytes
App\Repositories\Clickhouse\CustomerActivityFactsRepository::getC… 1 51 µs 47 µs -16,904 bytes bytes 427,076 µs 1,656 µs 3,232 bytes bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::select… 1 49 µs 39 µs 1,256 bytes bytes 438,400 µs 6,791 µs 82,520 bytes bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detectTargetG… 1 46 µs 35 µs -17,440 bytes bytes 433,833 µs 5,603 µs 52,920 bytes bytes
load::settings/captive_portal_php 1 44 µs 44 µs 8,184 bytes bytes 44 µs 44 µs 8,184 bytes bytes
Symfony\Component\HttpFoundation\RedirectResponse::__construct 1 41 µs 41 µs 2,720 bytes bytes 50 µs 50 µs 5,600 bytes bytes
route 1 38 µs 39 µs 696 bytes bytes 38 µs 39 µs 696 bytes bytes
App\Services\RedirectFlow\Adverts\Adverts::makeHash 1 30 µs 31 µs 696 bytes bytes 30 µs 31 µs 696 bytes bytes
App\Services\RedirectFlow\Adverts\Adverts::complete 1 29 µs 30 µs 632 bytes bytes 29 µs 30 µs 632 bytes bytes
load::settings/finance_php 1 25 µs 25 µs 7,064 bytes bytes 25 µs 25 µs 7,064 bytes bytes
load::settings/security_php 1 20 µs 21 µs 7,216 bytes bytes 20 µs 21 µs 7,216 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 3 18 µs 12 µs -2,216 bytes bytes 427,315 µs 1,896 µs 30,736 bytes bytes
App\Services\RedirectFlow\Adverts\Adverts::isWeNeedToShowAd 1 18 µs 17 µs -136 bytes bytes 436,904 µs 6,183 µs 60,160 bytes bytes
load::settings/finance_notifications_php 1 16 µs 16 µs 4,488 bytes bytes 16 µs 16 µs 4,488 bytes bytes
load::settings/splynx_integration_php 1 16 µs 17 µs 6,232 bytes bytes 16 µs 17 µs 6,232 bytes bytes
load::settings/voucher_limit_notifications_php 1 16 µs 16 µs 6,056 bytes bytes 16 µs 16 µs 6,056 bytes bytes
load::settings/status_page_notifications_php 1 15 µs 15 µs 5,872 bytes bytes 15 µs 15 µs 5,872 bytes bytes
App\Format\FormatManager::toUserTimezone 1 15 µs 15 µs 1,128 bytes bytes 15 µs 15 µs 1,128 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::initializeSoftDeletes… 5 15 µs 13 µs 696 bytes bytes 22 µs 24 µs 1,328 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAllPa… 3 15 µs 12 µs -3,576 bytes bytes 3,259 µs 2,160 µs 60,480 bytes bytes
load::settings/portal_php 1 12 µs 12 µs 3,824 bytes bytes 12 µs 12 µs 3,824 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 4 12 µs 13 µs 760 bytes bytes 427,231 µs 1,814 µs 21,736 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileOrdersToArray 3 µs µs 1,344 bytes bytes 17 µs 17 µs 2,160 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::{closure:Illuminate\D… 3 µs 10 µs 816 bytes bytes µs 10 µs 816 bytes bytes
Illuminate\Database\Query\Builder::whereLike 2 µs 10 µs 2,512 bytes bytes µs 10 µs 2,512 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
App\Models\Tenant\TargetGroups\TargetGroup::getDeletedAtColumn 11 µs 13 µs 1,296 bytes bytes µs 13 µs 1,296 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::getQualifiedDeletedAt… 1 µs µs 752 bytes bytes µs µs 1,416 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileOrders 3 µs µs 72 bytes bytes 23 µs 24 µs 2,232 bytes bytes
App\Repositories\Tenant\TargetGroups\TargetGroupRepository::getAv… 3 µs µs 2,008 bytes bytes 3,265 µs 2,169 µs 62,488 bytes bytes
Illuminate\Routing\Redirector::{closure:Illuminate\Routing\Redire… 1 µs µs 856 bytes bytes µs 11 µs 8,480 bytes bytes
Illuminate\Routing\Redirector::createRedirect 1 µs µs 968 bytes bytes 65 µs 66 µs 15,048 bytes bytes
Xhgui\Profiler\Profiler::disable 1 µs µs 776 bytes bytes 10 µs 11 µs 1,944 bytes bytes
Illuminate\Database\Query\Builder::orderBy 3 µs µs 2,408 bytes bytes µs µs 2,408 bytes bytes
Illuminate\Routing\Redirector::to 1 µs µs 680 bytes bytes 77 µs 78 µs 16,944 bytes bytes
Laravel\Boost\Middleware\InjectBoost::shouldInject 1 µs µs 600 bytes bytes µs µs 600 bytes bytes
Illuminate\Database\Query\Builder::selectRaw 3 µs µs 1,448 bytes bytes µs µs 1,448 bytes bytes
Illuminate\Routing\UrlGenerator::isValidUrl 1 µs µs 584 bytes bytes µs µs 584 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::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
App\Services\CustomerQuery\CustomerActivityFactsConditionBuilder:… 1 µs µs 728 bytes bytes 427,150 µs 1,730 µs 6,736 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 134 µs 123 µs 18,336 bytes bytes
Xhgui\Profiler\ProfilingData::__construct 1 µs µs 584 bytes bytes µs µs 584 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\TargetGroups\TargetGroupsQueryBuilder::isCustomerLab… 3 µs µs 664 bytes bytes µs µs 664 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 6,296 bytes bytes µs µs 6,296 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