Profile data for GET http://e2e-tests.tsumanchuk.project-h.io/portal/api/redirect-flow/order-plan/2?hash=cff44c4eff2ec249c5fa3255c325d99c&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,016 µs
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderPlan
5,338 µs
main()
3,531 µs
App\Services\PaymentGateways\PaymentGatewaysProvider::gatewayIsAvailableForLocation
3,513 µs
Laravel\Boost\Middleware\InjectBoost::handle
2,224 µs
App\Services\TargetGroups\TargetGroupsMatcher::match
1,375 µs

Memory Hogs

load::settings/localization_php
63,504 bytes
Laravel\Boost\Middleware\InjectBoost::handle
36,440 bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseParameters
35,832 bytes
App\Repositories\Clickhouse\CustomerActivityFactsRepository::selectDistinctCustomerIds
20,136 bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderPlan
18,864 bytes
load::settings/captive_portal_php
16,416 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,016 µs 1,139 µs 20,136 bytes bytes 83,016 µs 1,139 µs 20,136 bytes bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderP… 1 5,338 µs 1,990 µs 18,864 bytes bytes 101,286 µs 12,076 µs 133,496 bytes bytes
main() 1 3,531 µs 2,679 µs -36,440 bytes bytes 107,910 µs 16,878 µs 217,960 bytes bytes
App\Services\PaymentGateways\PaymentGatewaysProvider::gatewayIsAv… 1 3,513 µs 2,066 µs 8,656 bytes bytes 3,516 µs 2,070 µs 9,448 bytes bytes
Laravel\Boost\Middleware\InjectBoost::handle 1 2,224 µs 1,329 µs 36,440 bytes bytes 104,362 µs 14,181 µs 250,608 bytes bytes
App\Services\TargetGroups\TargetGroupsMatcher::match 1 1,375 µs 748 µs -52,112 bytes bytes 88,411 µs 4,718 µs 64,672 bytes bytes
App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter 3 876 µs 610 µs 2,320 bytes bytes 1,040 µs 780 µs 18,480 bytes bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detect 1 771 µs 299 µs -20,024 bytes bytes 89,299 µs 5,132 µs 58,968 bytes bytes
App\Repositories\Tenant\Labels\LabelsRepository::getCustomerLabel… 3 730 µs 485 µs 3,400 bytes bytes 730 µs 485 µs 3,400 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::getTemporar… 1 718 µs 347 µs 2,344 bytes bytes 728 µs 358 µs 3,104 bytes bytes
App\Models\Tenant\Log\StatusedLog::finish 1 695 µs 703 µs 3,272 bytes bytes 695 µs 703 µs 3,272 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAddit… 3 667 µs 412 µs 6,984 bytes bytes 667 µs 412 µs 6,984 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::__construct 3 559 µs 316 µs 8,424 bytes bytes 3,570 µs 2,380 µs 70,272 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseP… 3 548 µs 364 µs 35,832 bytes bytes 2,318 µs 1,629 µs 57,712 bytes bytes
Illuminate\Redis\RedisManager::__call 2 430 µs 288 µs 1,200 bytes bytes 430 µs 288 µs 1,200 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::getPaymentGate… 1 425 µs 423 µs 680 bytes bytes 439 µs 437 µs 2,592 bytes bytes
App\Services\RedirectFlow\TrialSessions\TrialSessionsMaker::isTri… 1 387 µs 540 µs -6,192 bytes bytes 456 µs 610 µs 2,040 bytes bytes
RoadRunner\Logger\Logger::warning 1 269 µs 232 µs 600 bytes bytes 269 µs 232 µs 600 bytes bytes
load::settings/localization_php 2 180 µs 180 µs 63,504 bytes bytes 180 µs 180 µs 63,504 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::build 3 156 µs 154 µs 14,440 bytes bytes 83,433 µs 1,553 µs 40,992 bytes bytes
App\Repositories\Tenant\Plans\PlansRepository::{closure:App\Repos… 27 130 µs 133 µs 11,520 bytes bytes 130 µs 133 µs 11,520 bytes bytes
load::settings/captive_portal_php 2 117 µs 118 µs 16,416 bytes bytes 117 µs 118 µs 16,416 bytes bytes
Spatie\Activitylog\PendingActivityLog::__construct 1 106 µs 106 µs 4,560 bytes bytes 112 µs 112 µs 7,048 bytes bytes
App\Services\RedirectFlow\RedirectFlowLogger::startLog 1 87 µs 84 µs 2,312 bytes bytes 276 µs 276 µs 14,320 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::handle 1 70 µs 69 µs -11,016 bytes bytes 101,855 µs 12,499 µs 127,840 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::getRedirectLin… 1 69 µs 66 µs 984 bytes bytes 777 µs 735 µs 4,176 bytes bytes
App\Services\CustomerQuery\CustomerActivityFactsConditionBuilder:… 1 56 µs 56 µs 1,864 bytes bytes 83,116 µs 1,235 µs 6,008 bytes bytes
Illuminate\Database\Eloquent\Builder::orWhere 4 55 µs 56 µs 7,480 bytes bytes 83,252 µs 1,373 µs 23,584 bytes bytes
activity 1 50 µs 51 µs 1,192 bytes bytes 169 µs 170 µs 10,040 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::buildConditio… 5 47 µs 50 µs 4,136 bytes bytes 83,185 µs 1,306 µs 15,344 bytes bytes
App\Services\PaymentGateways\GlobalGateway::needAskAdditionalInfo… 1 43 µs 44 µs 728 bytes bytes 43 µs 44 µs 728 bytes bytes
App\Repositories\Clickhouse\CustomerActivityFactsRepository::getC… 1 42 µs 37 µs -16,904 bytes bytes 83,058 µs 1,176 µs 3,232 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::getKey 2 41 µs 44 µs 1,328 bytes bytes 41 µs 44 µs 1,328 bytes bytes
Symfony\Component\HttpFoundation\RedirectResponse::__construct 1 35 µs 33 µs 2,720 bytes bytes 42 µs 42 µs 5,600 bytes bytes
load::settings/customers_php 1 34 µs 35 µs 5,048 bytes bytes 34 µs 35 µs 5,048 bytes bytes
load::settings/finance_php 1 25 µs 24 µs 7,064 bytes bytes 25 µs 24 µs 7,064 bytes bytes
App\Services\RedirectFlow\Adverts\Adverts::isWeNeedToShowAd 1 24 µs 22 µs -136 bytes bytes 89,323 µs 5,154 µs 58,832 bytes bytes
load::settings/security_php 1 19 µs 19 µs 7,216 bytes bytes 19 µs 19 µs 7,216 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAllPa… 3 18 µs 15 µs -3,576 bytes bytes 3,003 µs 2,056 µs 61,120 bytes bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detectTargetG… 1 18 µs 16 µs -17,440 bytes bytes 88,429 µs 4,734 µs 47,232 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 3 17 µs 12 µs -2,216 bytes bytes 83,272 µs 1,391 µs 25,104 bytes bytes
redirect 1 17 µs 18 µs 696 bytes bytes 94 µs 95 µs 12,768 bytes bytes
load::settings/finance_notifications_php 1 16 µs 17 µs 4,488 bytes bytes 16 µs 17 µs 4,488 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileOrdersToArray 4 15 µs 14 µs 1,560 bytes bytes 26 µs 28 µs 2,424 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 15 µs 6,056 bytes bytes 14 µs 15 µs 6,056 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::tryToAcquireLock 1 14 µs 11 µs 824 bytes bytes 144 µs 71 µs 2,736 bytes bytes
App\Models\Tenant\Log\StatusedLog::activity 1 14 µs 16 µs 600 bytes bytes 14 µs 16 µs 600 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::initializeSoftDeletes… 5 14 µs 11 µs 696 bytes bytes 20 µs 21 µs 1,328 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::unlock 1 14 µs µs 744 bytes bytes 355 µs 283 µs 2,624 bytes bytes
load::settings/status_page_notifications_php 1 13 µs 15 µs 5,872 bytes bytes 13 µs 15 µs 5,872 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileOrders 4 13 µs 13 µs 496 bytes bytes 39 µs 41 µs 2,920 bytes bytes
load::settings/portal_php 1 12 µs 13 µs 3,824 bytes bytes 12 µs 13 µs 3,824 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 4 12 µs 11 µs 760 bytes bytes 83,197 µs 1,317 µs 16,104 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::{closure:Illuminate\D… 4 11 µs 14 µs 864 bytes bytes 11 µs 14 µs 864 bytes bytes
App\Services\CustomerQuery\CustomerActivityFactsConditionBuilder:… 1 11 µs 10 µs 728 bytes bytes 83,127 µs 1,245 µs 6,736 bytes bytes
Illuminate\Routing\UrlGenerator::to 1 11 µs 10 µs 656 bytes bytes 17 µs 18 µs 2,056 bytes bytes
App\Models\Tenant\Voucher::getQualifiedDeletedAtColumn 2 10 µs 11 µs 760 bytes bytes 10 µs 11 µs 760 bytes bytes
Illuminate\Database\Query\Builder::orderBy 4 µs 10 µs 3,632 bytes bytes µs 10 µs 3,632 bytes bytes
App\Repositories\Tenant\TargetGroups\TargetGroupRepository::getAv… 3 µs µs 728 bytes bytes 3,011 µs 2,064 µs 61,848 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::getDeletedAtColumn 11 µs 11 µs 1,296 bytes bytes µs 11 µs 1,296 bytes bytes
Illuminate\Database\Query\Grammars\MySqlGrammar::whereLike 2 µs µs 1,496 bytes bytes µs µs 1,496 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlan… 1 µs µs 728 bytes bytes 735 µs 364 µs 3,832 bytes bytes
App\Services\RedirectFlow\LocationDetector::detect 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
Laravel\Boost\Middleware\InjectBoost::shouldInject 1 µs 71 µs 600 bytes bytes µs 71 µs 600 bytes bytes
Xhgui\Profiler\Profiler::disable 1 µs µs 776 bytes bytes 11 µs 11 µs 1,944 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::loadStatementI… 1 µs µs 664 bytes bytes µs µs 664 bytes bytes
Symfony\Component\HttpFoundation\RedirectResponse::setTargetUrl 1 µs µs 2,248 bytes bytes µs µs 2,248 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::getQualifiedDeletedAt… 1 µs µs 2,032 bytes bytes µs µs 2,696 bytes bytes
Illuminate\Database\Query\Builder::selectRaw 3 µs µs 1,448 bytes bytes µs µs 1,448 bytes bytes
Illuminate\Routing\UrlGenerator::isValidUrl 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
Illuminate\Routing\Redirector::{closure:Illuminate\Routing\Redire… 1 µs µs 856 bytes bytes µs µs 2,848 bytes bytes
Illuminate\Routing\Redirector::createRedirect 1 µs µs 968 bytes bytes 55 µs 56 µs 9,416 bytes bytes
Illuminate\Routing\Redirector::to 1 µs µs 600 bytes bytes 77 µs 77 µs 12,072 bytes bytes
Illuminate\Routing\UrlGenerator::{closure:Stancl\Tenancy\Bootstra… 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Auth\SessionGuard::recaller 1 µs µs 584 bytes bytes µs µs 1,248 bytes bytes
App\Models\Tenant\Log\StatusedLog::__construct 1 µs µs 608 bytes bytes 173 µs 173 µs 10,648 bytes bytes
Illuminate\Database\Query\Builder::whereLike 2 µs µs 2,512 bytes bytes µs µs 2,512 bytes bytes
Illuminate\Http\Request::query 1 µs µs 600 bytes bytes µs µs 600 bytes bytes
Spatie\Activitylog\PendingActivityLog::forwardCallTo 1 µs µs 600 bytes bytes µs µs 600 bytes bytes
Spatie\Activitylog\PendingActivityLog::__call 1 µs µs 632 bytes bytes µs µs 1,232 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
App\Services\TargetGroups\TargetGroupsQueryBuilder::isCustomerLab… 3 µs µs 664 bytes bytes µs µs 664 bytes bytes
App\Dto\BaseData::__construct 1 µs µs 632 bytes bytes µs µs 1,184 bytes bytes
App\Dto\BaseData::fromArray 1 µs µs 744 bytes bytes µs µs 1,928 bytes bytes
App\Services\PaymentGateways\PaymentGatewaysProvider::{closure:Ap… 3 µs µs 792 bytes bytes µs µs 792 bytes bytes
App\Models\Tenant\Log\StatusedLog::success 1 µs µs bytes bytes 698 µs 706 µs 3,272 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::__construct 1 µs µs 696 bytes bytes µs 10 µs 1,360 bytes bytes
App\Services\RedirectFlow\Redirect::redirect 1 µs µs 696 bytes bytes 97 µs 97 µs 13,464 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
App\Models\Tenant\Log\StatusedLog::start 1 µs µs 760 bytes bytes 175 µs 176 µs 11,408 bytes bytes
App\Services\CustomerQuery\CustomerActivityFactsConditionBuilder:… 1 µs µs 912 bytes bytes µs µs 912 bytes bytes
Spatie\Activitylog\ActivityLogger::setLogStatus 1 µs µs 1,240 bytes bytes µs µs 1,240 bytes bytes
Illuminate\Auth\SessionGuard::getRecallerName 1 µs µs 664 bytes bytes µs µs 664 bytes bytes
Spatie\Activitylog\PendingActivityLog::logger 1 µs µs 568 bytes bytes µs µs 568 bytes bytes
App\Services\CustomerQuery\CustomerActivityFactsConditionBuilder:… 1 µs µs 664 bytes bytes µs µs 664 bytes bytes
App\Dto\BaseData::fill 1 µs µs 552 bytes bytes µs µs 552 bytes bytes
Illuminate\Routing\UrlGenerator::extractQueryString 1 µs µs 816 bytes bytes µs µs 816 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
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
Xhgui\Profiler\Profilers\XHProf::disable 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