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
88,046 µs
App\Repositories\Tenant\Labels\LabelsRepository::getCustomerLabelResources
6,332 µs
App\Services\TargetGroups\TargetGroupsMatcher::match
4,865 µs
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseParameters
4,835 µs
App\Services\RedirectFlow\Adverts\CampaignDetector::detect
3,831 µs
main()
3,192 µ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 88,046 µs 1,145 µs 20,136 bytes 0 bytes 88,046 µs 1,145 µs 20,136 bytes 0 bytes
App\Repositories\Tenant\Labels\LabelsRepository::getCustomerLabel… 3 6,332 µs 515 µs 3,400 bytes 0 bytes 6,332 µs 515 µs 3,400 bytes 0 bytes
App\Services\TargetGroups\TargetGroupsMatcher::match 1 4,865 µs 830 µs -52,112 bytes 0 bytes 108,678 µs 5,266 µs 64,032 bytes 0 bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseP… 3 4,835 µs 507 µs 30,200 bytes 0 bytes 13,785 µs 1,931 µs 52,720 bytes 0 bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detect 1 3,831 µs 397 µs -25,656 bytes 0 bytes 112,633 µs 5,784 µs 52,696 bytes 0 bytes
main() 1 3,192 µs 2,293 µs -36,472 bytes 0 bytes 119,926 µs 10,815 µs 174,272 bytes 0 bytes
Laravel\Boost\Middleware\InjectBoost::handle 1 2,640 µs 1,566 µs 36,440 bytes 0 bytes 116,719 µs 8,506 µs 206,952 bytes 0 bytes
App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter 3 2,440 µs 716 µs 3,600 bytes 0 bytes 2,618 µs 909 µs 19,120 bytes 0 bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAddit… 3 763 µs 469 µs 6,984 bytes 0 bytes 763 µs 469 µs 6,984 bytes 0 bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::__construct 3 695 µs 368 µs 8,424 bytes 0 bytes 15,268 µs 2,790 µs 65,280 bytes 0 bytes
RoadRunner\Logger\Logger::warning 1 304 µs 178 µs 568 bytes 0 bytes 304 µs 178 µs 568 bytes 0 bytes
Illuminate\Redis\RedisManager::__call 2 266 µs 100 µs 1,200 bytes 0 bytes 266 µs 100 µs 1,200 bytes 0 bytes
load::settings/localization_php 2 201 µs 201 µs 63,504 bytes 0 bytes 201 µs 201 µs 63,504 bytes 0 bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::build 3 180 µs 178 µs 14,440 bytes 0 bytes 88,513 µs 1,609 µs 46,624 bytes 0 bytes
App\Repositories\Tenant\Plans\PlansRepository::{closure:App\Repos… 27 140 µs 149 µs 10,880 bytes 0 bytes 140 µs 149 µs 10,880 bytes 0 bytes
Illuminate\Log\LogManager::warning 1 118 µs 118 µs 808 bytes 0 bytes 422 µs 296 µs 1,376 bytes 0 bytes
App\Http\Middleware\RedirectFlowRouteMutex::getKey 2 74 µs 73 µs 1,328 bytes 0 bytes 74 µs 73 µs 1,328 bytes 0 bytes
App\Http\Middleware\RedirectFlowRouteMutex::handle 1 71 µs 69 µs 752 bytes 0 bytes 113,763 µs 6,616 µs 84,184 bytes 0 bytes
App\Services\CustomerQuery\CustomerActivityFactsConditionBuilder:… 1 68 µs 67 µs 1,864 bytes 0 bytes 88,161 µs 1,255 µs 6,008 bytes 0 bytes
Illuminate\Database\Eloquent\Builder::orWhere 4 61 µs 61 µs 7,480 bytes 0 bytes 88,304 µs 1,400 µs 29,216 bytes 0 bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::buildConditio… 5 54 µs 55 µs 9,768 bytes 0 bytes 88,229 µs 1,328 µs 20,976 bytes 0 bytes
load::settings/customers_php 1 50 µs 51 µs 5,048 bytes 0 bytes 50 µs 51 µs 5,048 bytes 0 bytes
App\Repositories\Clickhouse\CustomerActivityFactsRepository::getC… 1 45 µs 40 µs -16,904 bytes 0 bytes 88,091 µs 1,185 µs 3,232 bytes 0 bytes
Symfony\Component\HttpFoundation\RedirectResponse::__construct 1 43 µs 41 µs 2,720 bytes 0 bytes 52 µs 52 µs 11,232 bytes 0 bytes
load::settings/captive_portal_php 1 38 µs 39 µs 8,184 bytes 0 bytes 38 µs 39 µs 8,184 bytes 0 bytes
route 1 36 µs 36 µs 696 bytes 0 bytes 36 µs 36 µs 696 bytes 0 bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::select… 1 36 µs 34 µs 1,320 bytes 0 bytes 113,326 µs 6,348 µs 78,072 bytes 0 bytes
App\Helpers\Str::generateString 1 35 µs 34 µs 1,408 bytes 0 bytes 37 µs 37 µs 2,040 bytes 0 bytes
load::settings/finance_php 1 26 µs 27 µs 7,064 bytes 0 bytes 26 µs 27 µs 7,064 bytes 0 bytes
App\Services\RedirectFlow\Adverts\Adverts::complete 1 25 µs 26 µs 632 bytes 0 bytes 25 µs 26 µs 632 bytes 0 bytes
redirect 1 25 µs 26 µs 696 bytes 0 bytes 106 µs 107 µs 17,640 bytes 0 bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detectTargetG… 1 24 µs 20 µs -17,440 bytes 0 bytes 108,702 µs 5,286 µs 46,592 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\RedirectFlow\Adverts\Adverts::isWeNeedToShowAd 1 19 µs 17 µs -136 bytes 0 bytes 112,652 µs 5,801 µs 52,560 bytes 0 bytes
load::settings/voucher_limit_notifications_php 1 18 µs 19 µs 6,056 bytes 0 bytes 18 µs 19 µs 6,056 bytes 0 bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAllPa… 3 18 µs 13 µs -3,576 bytes 0 bytes 14,566 µs 2,413 µs 56,128 bytes 0 bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 3 18 µs 15 µs -2,216 bytes 0 bytes 88,326 µs 1,422 µs 30,736 bytes 0 bytes
load::settings/finance_notifications_php 1 16 µs 17 µs 4,488 bytes 0 bytes 16 µs 17 µs 4,488 bytes 0 bytes
load::settings/splynx_integration_php 1 16 µs 16 µs 6,232 bytes 0 bytes 16 µs 16 µs 6,232 bytes 0 bytes
load::settings/status_page_notifications_php 1 16 µs 17 µs 5,872 bytes 0 bytes 16 µs 17 µs 5,872 bytes 0 bytes
Illuminate\Database\Query\Grammars\Grammar::compileOrders 3 16 µs 16 µs 72 bytes 0 bytes 33 µs 36 µs 2,232 bytes 0 bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 4 14 µs 11 µs 760 bytes 0 bytes 88,243 µs 1,339 µs 21,736 bytes 0 bytes
App\Http\Middleware\RedirectFlowRouteMutex::tryToAcquireLock 1 13 µs 12 µs 824 bytes 0 bytes 172 µs 93 µs 2,736 bytes 0 bytes
App\Models\Tenant\TargetGroups\TargetGroup::initializeSoftDeletes… 5 13 µs 13 µs 696 bytes 0 bytes 20 µs 22 µs 1,328 bytes 0 bytes
App\Http\Middleware\RedirectFlowRouteMutex::unlock 1 12 µs 11 µs 744 bytes 0 bytes 194 µs 106 µs 2,624 bytes 0 bytes
load::settings/portal_php 1 11 µs 13 µs 3,824 bytes 0 bytes 11 µs 13 µs 3,824 bytes 0 bytes
Illuminate\Database\Query\Grammars\Grammar::{closure:Illuminate\D… 3 9 µs 11 µs 816 bytes 0 bytes 9 µs 11 µs 816 bytes 0 bytes
Illuminate\Routing\Redirector::{closure:Illuminate\Routing\Redire… 1 9 µs 6 µs 856 bytes 0 bytes 10 µs 10 µs 2,848 bytes 0 bytes
Illuminate\Database\Query\Grammars\Grammar::compileOrdersToArray 3 8 µs 9 µs 1,344 bytes 0 bytes 17 µs 20 µs 2,160 bytes 0 bytes
Symfony\Component\HttpFoundation\RedirectResponse::setTargetUrl 1 8 µs 9 µs 7,880 bytes 0 bytes 8 µs 9 µs 7,880 bytes 0 bytes
App\Models\Tenant\TargetGroups\TargetGroup::getDeletedAtColumn 11 7 µs 10 µs 1,296 bytes 0 bytes 7 µs 10 µs 1,296 bytes 0 bytes
App\Repositories\Tenant\TargetGroups\TargetGroupRepository::getAv… 3 7 µs 9 µs 728 bytes 0 bytes 14,573 µs 2,422 µs 56,856 bytes 0 bytes
Illuminate\Database\Query\Builder::selectRaw 3 7 µs 9 µs 1,448 bytes 0 bytes 7 µs 9 µs 1,448 bytes 0 bytes
Illuminate\Routing\Redirector::createRedirect 1 7 µs 7 µs 968 bytes 0 bytes 69 µs 69 µs 15,048 bytes 0 bytes
App\Services\RedirectFlow\Adverts\Adverts::makeHash 1 6 µs 6 µs -128 bytes 0 bytes 43 µs 43 µs 1,912 bytes 0 bytes
App\Models\Tenant\TargetGroups\TargetGroup::getQualifiedDeletedAt… 1 6 µs 6 µs 752 bytes 0 bytes 6 µs 7 µs 1,416 bytes 0 bytes
Illuminate\Database\Query\Builder::whereLike 2 6 µs 6 µs 2,512 bytes 0 bytes 6 µs 6 µs 2,512 bytes 0 bytes
Illuminate\Database\Query\Grammars\MySqlGrammar::whereLike 2 6 µs 8 µs 1,496 bytes 0 bytes 6 µs 8 µs 1,496 bytes 0 bytes
Illuminate\Routing\Redirector::to 1 6 µs 5 µs 680 bytes 0 bytes 81 µs 81 µs 16,944 bytes 0 bytes
Xhgui\Profiler\Profiler::disable 1 6 µs 6 µ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
App\Services\TargetGroups\TargetGroupsQueryBuilder::buildOrWhereG… 4 4 µs 7 µs 3,736 bytes 0 bytes 4 µs 7 µs 3,736 bytes 0 bytes
App\Services\CustomerQuery\CustomerActivityFactsConditionBuilder:… 1 4 µs 4 µs 728 bytes 0 bytes 88,165 µs 1,259 µ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
Xhgui\Profiler\Profiler::registerShutdownHandler 1 3 µs 3 µs 1,216 bytes 0 bytes 3 µs 3 µs 1,216 bytes 0 bytes
Illuminate\Http\Request::query 1 3 µs 3 µs 1,240 bytes 0 bytes 3 µs 3 µs 1,240 bytes 0 bytes
Illuminate\Routing\UrlGenerator::isValidUrl 1 3 µs 4 µs 584 bytes 0 bytes 3 µs 4 µs 584 bytes 0 bytes
Illuminate\Routing\UrlGenerator::to 1 3 µs 3 µs 632 bytes 0 bytes 6 µs 7 µs 1,216 bytes 0 bytes
App\Services\RedirectFlow\Redirect::redirect 1 3 µs 2 µs 696 bytes 0 bytes 109 µs 109 µ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\Routing\UrlGenerator::{closure:Stancl\Tenancy\Bootstra… 1 2 µs 2 µs 632 bytes 0 bytes 2 µs 2 µs 632 bytes 0 bytes
App\Helpers\Str::getString 1 2 µs 3 µs 632 bytes 0 bytes 2 µs 3 µs 632 bytes 0 bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::isAf 3 2 µs 3 µs 632 bytes 0 bytes 2 µs 3 µs 632 bytes 0 bytes
App\Services\CustomerQuery\CustomerActivityFactsConditionBuilder:… 1 2 µs 3 µs 912 bytes 0 bytes 2 µs 3 µs 912 bytes 0 bytes
Illuminate\Support\Facades\Redis::getFacadeAccessor 2 1 µs 3 µs 1,264 bytes 0 bytes 1 µs 3 µs 1,264 bytes 0 bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::isCustomerLab… 3 1 µs 4 µs 664 bytes 0 bytes 1 µs 4 µs 664 bytes 0 bytes
App\Services\CustomerQuery\CustomerActivityFactsConditionBuilder:… 1 1 µs 1 µs 664 bytes 0 bytes 1 µs 1 µ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::setRequest 1 1 µs 2 µs 664 bytes 0 bytes 1 µs 2 µ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\Http\RedirectResponse::setSession 1 0 µs 1 µs 664 bytes 0 bytes 0 µs 1 µs 664 bytes 0 bytes
Illuminate\Routing\UrlGenerator::getRequest 1 0 µs 1 µs 664 bytes 0 bytes 0 µs 1 µs 664 bytes 0 bytes