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