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