Profile data for GET http://e2e-tests.tsumanchuk.project-h.io/portal/api/redirect-flow/select-plan/2?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
83,399 µs
Laravel\Boost\Middleware\InjectBoost::handle
17,890 µs
App\Services\TargetGroups\TargetGroupsMatcher::match
7,132 µs
main()
3,310 µs
App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter
774 µs
App\Services\RedirectFlow\Adverts\CampaignDetector::detect
765 µs

Memory Hogs

load::settings/localization_php
63,504 bytes
Laravel\Boost\Middleware\InjectBoost::handle
36,440 bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseParameters
30,200 bytes
App\Repositories\Clickhouse\CustomerActivityFactsRepository::selectDistinctCustomerIds
20,136 bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::build
14,440 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 83,399 µs 1,330 µs 20,136 bytes 0 bytes 83,399 µs 1,330 µs 20,136 bytes 0 bytes
Laravel\Boost\Middleware\InjectBoost::handle 1 17,890 µs 1,467 µs 36,440 bytes 0 bytes 114,584 µs 7,828 µs 207,016 bytes 0 bytes
App\Services\TargetGroups\TargetGroupsMatcher::match 1 7,132 µs 796 µs -52,112 bytes 0 bytes 94,338 µs 4,778 µs 64,032 bytes 0 bytes
main() 1 3,310 µs 2,464 µs -83,440 bytes 0 bytes 117,909 µs 10,308 µs 127,368 bytes 0 bytes
App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter 3 774 µs 550 µs 3,600 bytes 0 bytes 938 µs 728 µs 19,120 bytes 0 bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detect 1 765 µs 360 µs -25,656 bytes 0 bytes 95,230 µs 5,261 µs 52,696 bytes 0 bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAddit… 3 673 µs 400 µs 6,984 bytes 0 bytes 673 µs 400 µs 6,984 bytes 0 bytes
App\Repositories\Tenant\Labels\LabelsRepository::getCustomerLabel… 3 617 µs 392 µs 3,400 bytes 0 bytes 617 µs 392 µs 3,400 bytes 0 bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::__construct 3 571 µs 303 µs 8,424 bytes 0 bytes 3,364 µs 2,212 µs 65,280 bytes 0 bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseP… 3 545 µs 367 µs 30,200 bytes 0 bytes 2,100 µs 1,487 µs 52,720 bytes 0 bytes
Illuminate\Redis\RedisManager::__call 2 311 µs 97 µs 1,200 bytes 0 bytes 311 µs 97 µs 1,200 bytes 0 bytes
RoadRunner\Logger\Logger::warning 1 297 µs 164 µs 568 bytes 0 bytes 297 µs 164 µs 568 bytes 0 bytes
load::settings/localization_php 2 192 µs 192 µs 63,504 bytes 0 bytes 192 µs 192 µs 63,504 bytes 0 bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::build 3 150 µs 149 µs 14,440 bytes 0 bytes 83,806 µs 1,733 µs 46,624 bytes 0 bytes
App\Repositories\Tenant\Plans\PlansRepository::{closure:App\Repos… 27 134 µs 143 µs 10,880 bytes 0 bytes 134 µs 143 µs 10,880 bytes 0 bytes
Illuminate\Log\LogManager::warning 1 113 µs 100 µs 808 bytes 0 bytes 410 µs 264 µs 1,376 bytes 0 bytes
App\Http\Middleware\RedirectFlowRouteMutex::getKey 2 75 µs 76 µs 1,328 bytes 0 bytes 75 µs 76 µs 1,328 bytes 0 bytes
load::settings/customers_php 1 66 µs 67 µs 5,048 bytes 0 bytes 66 µs 67 µs 5,048 bytes 0 bytes
App\Http\Middleware\RedirectFlowRouteMutex::handle 1 66 µs 66 µs 752 bytes 0 bytes 96,371 µs 6,031 µs 84,248 bytes 0 bytes
App\Services\CustomerQuery\CustomerActivityFactsConditionBuilder:… 1 60 µs 60 µs 1,864 bytes 0 bytes 83,503 µs 1,430 µs 6,008 bytes 0 bytes
Illuminate\Database\Eloquent\Builder::orWhere 4 55 µs 55 µs 7,480 bytes 0 bytes 83,629 µs 1,559 µs 29,216 bytes 0 bytes
Symfony\Component\HttpFoundation\RedirectResponse::__construct 1 50 µs 42 µs 2,720 bytes 0 bytes 58 µs 52 µs 11,232 bytes 0 bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::buildConditio… 5 48 µs 46 µs 9,768 bytes 0 bytes 83,565 µs 1,493 µs 20,976 bytes 0 bytes
load::settings/captive_portal_php 1 44 µs 45 µs 8,184 bytes 0 bytes 44 µs 45 µs 8,184 bytes 0 bytes
route 1 42 µs 43 µs 696 bytes 0 bytes 42 µs 43 µs 696 bytes 0 bytes
App\Repositories\Clickhouse\CustomerActivityFactsRepository::getC… 1 42 µs 38 µs -16,904 bytes 0 bytes 83,441 µs 1,368 µs 3,232 bytes 0 bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::select… 1 36 µs 31 µs 1,320 bytes 0 bytes 95,893 µs 5,770 µs 78,136 bytes 0 bytes
load::settings/finance_php 1 28 µs 28 µs 7,064 bytes 0 bytes 28 µs 28 µs 7,064 bytes 0 bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detectTargetG… 1 26 µs 23 µs -17,440 bytes 0 bytes 94,364 µs 4,801 µs 46,592 bytes 0 bytes
App\Helpers\Str::generateString 1 25 µs 25 µs 1,408 bytes 0 bytes 28 µs 29 µs 2,040 bytes 0 bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 3 19 µs 14 µs -2,216 bytes 0 bytes 83,651 µs 1,578 µs 30,736 bytes 0 bytes
redirect 1 19 µs 19 µs 696 bytes 0 bytes 102 µs 96 µs 17,640 bytes 0 bytes
load::settings/security_php 1 18 µs 19 µs 7,216 bytes 0 bytes 18 µs 19 µs 7,216 bytes 0 bytes
App\Services\RedirectFlow\Adverts\Adverts::complete 1 17 µs 18 µs 632 bytes 0 bytes 17 µs 18 µs 632 bytes 0 bytes
load::settings/finance_notifications_php 1 16 µs 18 µs 4,488 bytes 0 bytes 16 µs 18 µs 4,488 bytes 0 bytes
App\Services\RedirectFlow\Adverts\Adverts::isWeNeedToShowAd 1 16 µs 14 µs -136 bytes 0 bytes 95,246 µs 5,275 µs 52,560 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\Http\Middleware\RedirectFlowRouteMutex::tryToAcquireLock 1 15 µs 11 µs 824 bytes 0 bytes 223 µs 103 µs 2,736 bytes 0 bytes
load::settings/splynx_integration_php 1 14 µs 15 µs 6,232 bytes 0 bytes 14 µs 15 µs 6,232 bytes 0 bytes
load::settings/voucher_limit_notifications_php 1 14 µs 14 µs 6,056 bytes 0 bytes 14 µs 14 µs 6,056 bytes 0 bytes
App\Models\Tenant\TargetGroups\TargetGroup::initializeSoftDeletes… 5 14 µs 11 µs 696 bytes 0 bytes 21 µs 22 µs 1,328 bytes 0 bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAllPa… 3 14 µs 15 µs -3,576 bytes 0 bytes 2,787 µs 1,902 µs 56,128 bytes 0 bytes
load::settings/portal_php 1 13 µs 13 µs 3,824 bytes 0 bytes 13 µs 13 µs 3,824 bytes 0 bytes
App\Http\Middleware\RedirectFlowRouteMutex::unlock 1 10 µs 9 µs 744 bytes 0 bytes 189 µs 92 µs 2,624 bytes 0 bytes
Illuminate\Database\Query\Grammars\Grammar::compileOrdersToArray 3 9 µs 9 µs 1,344 bytes 0 bytes 17 µs 19 µs 2,160 bytes 0 bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 4 9 µs 11 µs 760 bytes 0 bytes 83,574 µs 1,504 µs 21,736 bytes 0 bytes
App\Models\Tenant\TargetGroups\TargetGroup::getDeletedAtColumn 11 8 µs 12 µs 1,296 bytes 0 bytes 8 µs 12 µs 1,296 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\Grammars\MySqlGrammar::whereLike 2 8 µs 8 µs 1,496 bytes 0 bytes 8 µs 8 µs 1,496 bytes 0 bytes
Illuminate\Routing\Redirector::{closure:Illuminate\Routing\Redire… 1 8 µs 4 µs 856 bytes 0 bytes 9 µs 9 µs 2,848 bytes 0 bytes
App\Services\RedirectFlow\Adverts\Adverts::makeHash 1 7 µs 7 µs -64 bytes 0 bytes 35 µs 36 µs 1,976 bytes 0 bytes
Illuminate\Database\Query\Grammars\Grammar::compileOrders 3 7 µs 7 µs 72 bytes 0 bytes 24 µs 26 µs 2,232 bytes 0 bytes
Symfony\Component\HttpFoundation\RedirectResponse::setTargetUrl 1 7 µs 8 µs 7,880 bytes 0 bytes 7 µs 8 µs 7,880 bytes 0 bytes
Xhgui\Profiler\Profiler::disable 1 7 µs 6 µs 776 bytes 0 bytes 10 µs 10 µs 1,944 bytes 0 bytes
App\Models\Tenant\TargetGroups\TargetGroup::getQualifiedDeletedAt… 1 6 µs 6 µs 752 bytes 0 bytes 7 µs 7 µs 1,416 bytes 0 bytes
Illuminate\Database\Query\Builder::orderBy 3 6 µs 9 µs 2,408 bytes 0 bytes 6 µs 9 µs 2,408 bytes 0 bytes
App\Repositories\Tenant\TargetGroups\TargetGroupRepository::getAv… 3 6 µs 7 µs 728 bytes 0 bytes 2,793 µs 1,909 µs 56,856 bytes 0 bytes
Illuminate\Routing\Redirector::createRedirect 1 6 µs 6 µs 968 bytes 0 bytes 73 µs 67 µs 15,048 bytes 0 bytes
Illuminate\Database\Query\Builder::selectRaw 3 5 µs 6 µs 1,448 bytes 0 bytes 5 µs 6 µs 1,448 bytes 0 bytes
Illuminate\Database\Query\Builder::whereLike 2 5 µs 5 µs 2,512 bytes 0 bytes 5 µs 5 µs 2,512 bytes 0 bytes
Illuminate\Routing\Redirector::to 1 5 µs 4 µs 680 bytes 0 bytes 83 µs 77 µs 16,944 bytes 0 bytes
App\Services\CustomerQuery\CustomerActivityFactsConditionBuilder:… 1 4 µs 3 µs 728 bytes 0 bytes 83,507 µs 1,433 µs 6,736 bytes 0 bytes
Laravel\Boost\Middleware\InjectBoost::shouldInject 1 4 µs 4 µs 600 bytes 0 bytes 4 µs 4 µs 600 bytes 0 bytes
Illuminate\Routing\UrlGenerator::{closure:Stancl\Tenancy\Bootstra… 1 3 µs 3 µs 632 bytes 0 bytes 3 µs 3 µs 632 bytes 0 bytes
Illuminate\Http\Request::query 1 3 µs 4 µs 1,240 bytes 0 bytes 3 µs 4 µs 1,240 bytes 0 bytes
App\Helpers\Str::getString 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 5 µs 3,736 bytes 0 bytes 3 µs 5 µs 3,736 bytes 0 bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::isAf 3 3 µs 4 µs 632 bytes 0 bytes 3 µs 4 µs 632 bytes 0 bytes
Illuminate\Routing\UrlGenerator::to 1 3 µs 3 µs 632 bytes 0 bytes 5 µs 6 µs 1,216 bytes 0 bytes
Xhgui\Profiler\Profiler::registerShutdownHandler 1 2 µs 3 µs 1,216 bytes 0 bytes 2 µs 3 µs 1,216 bytes 0 bytes
App\Services\CustomerQuery\CustomerActivityFactsConditionBuilder:… 1 2 µs 2 µs 912 bytes 0 bytes 2 µs 2 µs 912 bytes 0 bytes
Illuminate\Routing\UrlGenerator::isValidUrl 1 2 µs 3 µs 584 bytes 0 bytes 2 µs 3 µs 584 bytes 0 bytes
App\Services\RedirectFlow\Redirect::redirect 1 2 µs 3 µs 696 bytes 0 bytes 104 µs 99 µs 18,336 bytes 0 bytes
Xhgui\Profiler\ProfilingData::__construct 1 2 µs 3 µs 584 bytes 0 bytes 2 µs 3 µs 584 bytes 0 bytes
Illuminate\Support\Facades\Redis::getFacadeAccessor 2 1 µs 2 µs 1,264 bytes 0 bytes 1 µs 2 µs 1,264 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 2 µs 632 bytes 0 bytes 1 µs 2 µs 632 bytes 0 bytes
Illuminate\Http\RedirectResponse::setSession 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 1 µs 584 bytes 0 bytes 1 µs 1 µs 584 bytes 0 bytes
Illuminate\Routing\UrlGenerator::getRequest 1 0 µs 2 µs 664 bytes 0 bytes 0 µs 2 µs 664 bytes 0 bytes
Illuminate\Http\RedirectResponse::setRequest 1 0 µs 2 µs 664 bytes 0 bytes 0 µs 2 µs 664 bytes 0 bytes