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
146,808 µs
App\Services\TargetGroups\TargetGroupsMatcher::match
13,053 µs
Illuminate\Redis\RedisManager::__call
3,416 µs
main()
3,080 µs
Laravel\Boost\Middleware\InjectBoost::handle
2,170 µs
App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter
814 µ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 146,808 µs 1,139 µs 20,136 bytes bytes 146,808 µs 1,139 µs 20,136 bytes bytes
App\Services\TargetGroups\TargetGroupsMatcher::match 1 13,053 µs 10,278 µs -7,813,976 bytes bytes 163,805 µs 14,073 µs -7,696,632 bytes bytes
Illuminate\Redis\RedisManager::__call 2 3,416 µs 93 µs 1,200 bytes bytes 3,416 µs 93 µs 1,200 bytes bytes
main() 1 3,080 µs 2,298 µs -83,712 bytes bytes 174,339 µs 18,903 µs -7,634,904 bytes bytes
Laravel\Boost\Middleware\InjectBoost::handle 1 2,170 µs 1,214 µs 36,440 bytes bytes 171,242 µs 16,589 µs -7,554,984 bytes bytes
App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter 3 814 µs 546 µs 2,320 bytes bytes 950 µs 695 µs 19,120 bytes bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detect 1 699 µs 265 µs -25,656 bytes bytes 164,589 µs 14,421 µs -7,707,968 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAddit… 3 692 µs 387 µs 6,984 bytes bytes 692 µs 387 µs 6,984 bytes bytes
App\Repositories\Tenant\Labels\LabelsRepository::getCustomerLabel… 3 663 µs 398 µs 3,400 bytes bytes 663 µs 398 µs 3,400 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::__construct 3 581 µs 333 µs 8,424 bytes bytes 3,469 µs 2,183 µs 65,280 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseP… 3 564 µs 353 µs 30,200 bytes bytes 2,177 µs 1,446 µs 52,720 bytes bytes
RoadRunner\Logger\Logger::warning 1 355 µs 158 µs 568 bytes bytes 355 µs 158 µs 568 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::build 3 174 µs 169 µs 14,440 bytes bytes 147,237 µs 1,564 µs 46,624 bytes bytes
load::settings/localization_php 2 144 µs 144 µs 63,504 bytes bytes 144 µs 144 µs 63,504 bytes bytes
Illuminate\Log\LogManager::warning 1 119 µs 109 µs 808 bytes bytes 474 µs 267 µs 1,376 bytes bytes
App\Repositories\Tenant\Plans\PlansRepository::{closure:App\Repos… 27 110 µs 120 µs 10,880 bytes bytes 110 µs 120 µs 10,880 bytes bytes
Illuminate\Database\Eloquent\Builder::orWhere 4 66 µs 66 µs 7,480 bytes bytes 147,040 µs 1,369 µs 29,216 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::handle 1 55 µs 53 µs 752 bytes bytes 168,826 µs 15,122 µs -7,677,752 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::getKey 2 52 µs 54 µs 1,328 bytes bytes 52 µs 54 µs 1,328 bytes bytes
App\Services\CustomerQuery\CustomerActivityFactsConditionBuilder:… 1 52 µs 51 µs 1,864 bytes bytes 146,902 µs 1,230 µs 6,008 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::buildConditio… 5 45 µs 44 µs 9,768 bytes bytes 146,958 µs 1,288 µs 20,976 bytes bytes
load::settings/captive_portal_php 1 40 µs 41 µs 8,184 bytes bytes 40 µs 41 µs 8,184 bytes bytes
App\Repositories\Clickhouse\CustomerActivityFactsRepository::getC… 1 40 µs 37 µs -16,904 bytes bytes 146,848 µs 1,176 µs 3,232 bytes bytes
Symfony\Component\HttpFoundation\RedirectResponse::__construct 1 39 µs 37 µs 2,720 bytes bytes 47 µs 47 µs 5,600 bytes bytes
route 1 34 µs 34 µs 696 bytes bytes 34 µs 34 µs 696 bytes bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::select… 1 30 µs 26 µs 1,320 bytes bytes 165,277 µs 14,899 µs -7,683,864 bytes bytes
load::settings/customers_php 1 25 µs 26 µs 5,048 bytes bytes 25 µs 26 µs 5,048 bytes bytes
load::settings/finance_php 1 20 µs 21 µs 7,064 bytes bytes 20 µs 21 µs 7,064 bytes bytes
App\Helpers\Str::generateString 1 19 µs 20 µs 1,408 bytes bytes 21 µs 22 µs 2,040 bytes bytes
redirect 1 19 µs 19 µs 696 bytes bytes 88 µs 88 µs 17,640 bytes bytes
load::settings/security_php 1 16 µs 16 µs 7,216 bytes bytes 16 µs 16 µs 7,216 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::initializeSoftDeletes… 5 16 µs 14 µs 696 bytes bytes 27 µs 26 µs 1,328 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 4 16 µs 15 µs 760 bytes bytes 146,974 µs 1,303 µs 21,736 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 3 16 µs 15 µs -2,216 bytes bytes 147,059 µs 1,389 µs 30,736 bytes bytes
App\Services\RedirectFlow\Adverts\Adverts::complete 1 16 µs 17 µs 632 bytes bytes 16 µs 17 µs 632 bytes bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detectTargetG… 1 15 µs 13 µs -17,440 bytes bytes 163,820 µs 14,086 µs -7,714,072 bytes bytes
App\Services\RedirectFlow\Adverts\Adverts::isWeNeedToShowAd 1 15 µs 14 µs -1,472 bytes bytes 164,604 µs 14,435 µs -7,709,440 bytes bytes
load::settings/finance_notifications_php 1 14 µs 15 µs 4,488 bytes bytes 14 µs 15 µs 4,488 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
load::settings/status_page_notifications_php 1 13 µs 14 µs 5,872 bytes bytes 13 µs 14 µs 5,872 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::tryToAcquireLock 1 13 µs 11 µs 824 bytes bytes 148 µs 68 µs 2,736 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::getDeletedAtColumn 11 12 µs 13 µs 1,296 bytes bytes 12 µs 13 µs 1,296 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAllPa… 3 12 µs 11 µs -3,576 bytes bytes 2,881 µs 1,844 µs 56,128 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::unlock 1 12 µs 10 µs 744 bytes bytes 3,346 µs 102 µs 2,624 bytes bytes
load::settings/portal_php 1 11 µs 11 µs 3,824 bytes bytes 11 µs 11 µs 3,824 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::{closure:Illuminate\D… 3 µs µs 816 bytes bytes µs µs 816 bytes bytes
App\Repositories\Tenant\TargetGroups\TargetGroupRepository::getAv… 3 µs µs 728 bytes bytes 2,888 µs 1,850 µs 56,856 bytes bytes
Symfony\Component\HttpFoundation\RedirectResponse::setTargetUrl 1 µs µs 2,248 bytes bytes µs µs 2,248 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 27 µs 28 µs 1,976 bytes bytes
GuzzleHttp\Handler\CurlFactory::__destruct 8 µs µs 600 bytes bytes µs µs 600 bytes bytes
Illuminate\Database\Query\Builder::orderBy 3 µs µs 2,408 bytes bytes µs µs 2,408 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileOrdersToArray 3 µs µs 1,344 bytes bytes 14 µs 16 µs 2,160 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileOrders 3 µs µs 1,352 bytes bytes 20 µs 22 µs 3,512 bytes bytes
Illuminate\Database\Query\Grammars\MySqlGrammar::whereLike 2 µs µs 1,496 bytes bytes µs µs 1,496 bytes bytes
Xhgui\Profiler\Profiler::disable 1 µs µs 776 bytes bytes 11 µs 10 µs 1,944 bytes bytes
Laravel\Boost\Middleware\InjectBoost::shouldInject 1 µs µs 600 bytes bytes µs µs 600 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::getQualifiedDeletedAt… 1 µs µs 752 bytes bytes µs µs 1,416 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\UrlGenerator::to 1 µs µs 632 bytes bytes µs µs 6,848 bytes bytes
Illuminate\Routing\Redirector::createRedirect 1 µs µs 968 bytes bytes 59 µs 60 µs 9,416 bytes bytes
Illuminate\Routing\Redirector::to 1 µs µs 680 bytes bytes 69 µs 69 µs 16,944 bytes bytes
Xhgui\Profiler\ProfilingData::__construct 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\CustomerQuery\CustomerActivityFactsConditionBuilder:… 1 µs µs 728 bytes bytes 146,905 µs 1,232 µs 6,736 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
GuzzleHttp\Handler\CurlMultiHandler::__destruct 4 µs µs 600 bytes bytes µs µs 600 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::isAf 3 µs µs 632 bytes bytes µs µs 632 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 912 bytes bytes µs µs 912 bytes bytes
Illuminate\Routing\UrlGenerator::isValidUrl 1 µs µs 6,216 bytes bytes µs µs 6,216 bytes bytes
App\Services\RedirectFlow\Redirect::redirect 1 µs µs 696 bytes bytes 90 µs 90 µs 18,336 bytes bytes
Illuminate\Support\Facades\Redis::getFacadeAccessor 2 µs µs 1,264 bytes bytes µs µs 1,264 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
App\Services\CustomerQuery\CustomerActivityFactsConditionBuilder:… 1 µs µs 664 bytes bytes µs µs 664 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