Profile data for GET http://e2e-tests.tsumanchuk.project-h.io/portal/api/redirect-flow/order-plan/2?hash=9092920aaf9c4f90f0cbf72a6c82f908&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
80,031 µs
App\Services\TargetGroups\TargetGroupsMatcher::match
5,647 µs
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderPlan
3,496 µs
main()
3,184 µs
App\Services\PaymentGateways\PaymentGatewaysProvider::gatewayIsAvailableForLocation
3,095 µs
App\Services\RedirectFlow\Adverts\CampaignDetector::detect
2,596 µ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 80,031 µs 1,034 µs 20,136 bytes bytes 80,031 µs 1,034 µs 20,136 bytes bytes
App\Services\TargetGroups\TargetGroupsMatcher::match 1 5,647 µs 799 µs -52,112 bytes bytes 89,656 µs 4,587 µs 64,672 bytes bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderP… 1 3,496 µs 2,370 µs 18,864 bytes bytes 101,959 µs 12,268 µs 133,496 bytes bytes
main() 1 3,184 µs 2,678 µs -36,440 bytes bytes 107,651 µs 16,624 µs 217,960 bytes bytes
App\Services\PaymentGateways\PaymentGatewaysProvider::gatewayIsAv… 1 3,095 µs 1,847 µs 8,656 bytes bytes 3,098 µs 1,852 µs 9,448 bytes bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detect 1 2,596 µs 405 µs -20,024 bytes bytes 92,363 µs 5,100 µs 58,968 bytes bytes
Laravel\Boost\Middleware\InjectBoost::handle 1 1,822 µs 1,128 µs 36,440 bytes bytes 104,448 µs 13,926 µs 250,608 bytes bytes
App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter 3 841 µs 594 µs 2,320 bytes bytes 1,008 µs 774 µs 18,480 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::getTemporar… 1 770 µs 463 µs 2,344 bytes bytes 779 µs 475 µs 3,104 bytes bytes
App\Models\Tenant\Log\StatusedLog::finish 1 725 µs 817 µs 3,272 bytes bytes 725 µs 817 µs 3,272 bytes bytes
App\Repositories\Tenant\Labels\LabelsRepository::getCustomerLabel… 3 673 µs 425 µs 3,400 bytes bytes 673 µs 425 µs 3,400 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAddit… 3 641 µs 382 µs 6,984 bytes bytes 641 µs 382 µs 6,984 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseP… 3 585 µs 374 µs 35,832 bytes bytes 2,266 µs 1,573 µs 57,712 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::__construct 3 575 µs 308 µs 8,424 bytes bytes 3,506 µs 2,283 µs 70,272 bytes bytes
App\Services\RedirectFlow\TrialSessions\TrialSessionsMaker::isTri… 1 310 µs 389 µs -6,192 bytes bytes 376 µs 456 µs 2,040 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::getPaymentGate… 1 278 µs 391 µs 680 bytes bytes 290 µs 405 µs 2,592 bytes bytes
RoadRunner\Logger\Logger::warning 1 243 µs 153 µs 600 bytes bytes 243 µs 153 µs 600 bytes bytes
Illuminate\Redis\RedisManager::__call 2 230 µs 82 µs 1,200 bytes bytes 230 µs 82 µs 1,200 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::build 3 179 µs 176 µs 14,440 bytes bytes 80,470 µs 1,469 µs 40,992 bytes bytes
load::settings/localization_php 2 170 µs 171 µs 63,504 bytes bytes 170 µs 171 µs 63,504 bytes bytes
App\Repositories\Tenant\Plans\PlansRepository::{closure:App\Repos… 27 133 µs 144 µs 11,520 bytes bytes 133 µs 144 µs 11,520 bytes bytes
load::settings/captive_portal_php 2 113 µs 115 µs 16,416 bytes bytes 113 µs 115 µs 16,416 bytes bytes
activity 1 112 µs 110 µs 1,192 bytes bytes 225 µs 226 µs 10,040 bytes bytes
Spatie\Activitylog\PendingActivityLog::__construct 1 103 µs 102 µs 4,560 bytes bytes 108 µs 109 µs 7,048 bytes bytes
App\Services\RedirectFlow\RedirectFlowLogger::startLog 1 84 µs 82 µs 2,312 bytes bytes 315 µs 315 µs 14,320 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::getRedirectLin… 1 73 µs 72 µs 984 bytes bytes 606 µs 630 µs 4,176 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::handle 1 65 µs 64 µs -11,016 bytes bytes 102,315 µs 12,476 µs 127,840 bytes bytes
Illuminate\Database\Eloquent\Builder::orWhere 4 57 µs 55 µs 7,480 bytes bytes 80,265 µs 1,263 µs 23,584 bytes bytes
App\Services\CustomerQuery\CustomerActivityFactsConditionBuilder:… 1 57 µs 57 µs 1,864 bytes bytes 80,136 µs 1,134 µs 6,008 bytes bytes
App\Services\PaymentGateways\GlobalGateway::needAskAdditionalInfo… 1 47 µs 48 µs 728 bytes bytes 47 µs 48 µs 728 bytes bytes
App\Repositories\Clickhouse\CustomerActivityFactsRepository::getC… 1 46 µs 41 µs -16,904 bytes bytes 80,077 µs 1,075 µs 3,232 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::buildConditio… 5 45 µs 47 µs 4,136 bytes bytes 80,194 µs 1,196 µs 15,344 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::getKey 2 40 µs 41 µs 1,328 bytes bytes 40 µs 41 µs 1,328 bytes bytes
load::settings/customers_php 1 33 µs 34 µs 5,048 bytes bytes 33 µs 34 µs 5,048 bytes bytes
load::settings/security_php 1 31 µs 33 µs 7,216 bytes bytes 31 µs 33 µs 7,216 bytes bytes
Symfony\Component\HttpFoundation\RedirectResponse::__construct 1 31 µs 44 µs 2,720 bytes bytes 39 µs 92 µs 5,600 bytes bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detectTargetG… 1 30 µs 27 µs -17,440 bytes bytes 89,686 µs 4,614 µs 47,232 bytes bytes
load::settings/finance_php 1 25 µs 25 µs 7,064 bytes bytes 25 µs 25 µs 7,064 bytes bytes
load::settings/portal_php 1 20 µs 21 µs 3,824 bytes bytes 20 µs 21 µs 3,824 bytes bytes
App\Services\RedirectFlow\Adverts\Adverts::isWeNeedToShowAd 1 19 µs 17 µs -136 bytes bytes 92,382 µs 5,117 µs 58,832 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAllPa… 3 17 µs 13 µs -3,576 bytes bytes 2,924 µs 1,968 µs 61,120 bytes bytes
load::settings/splynx_integration_php 1 16 µs 17 µs 6,232 bytes bytes 16 µs 17 µs 6,232 bytes bytes
load::settings/status_page_notifications_php 1 16 µs 17 µs 5,872 bytes bytes 16 µs 17 µs 5,872 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 3 16 µs 15 µs -2,216 bytes bytes 80,284 µs 1,284 µs 25,104 bytes bytes
redirect 1 16 µs 17 µs 696 bytes bytes 89 µs 141 µs 12,768 bytes bytes
load::settings/finance_notifications_php 1 15 µs 16 µs 4,488 bytes bytes 15 µs 16 µs 4,488 bytes bytes
load::settings/voucher_limit_notifications_php 1 15 µs 16 µs 6,056 bytes bytes 15 µs 16 µs 6,056 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 4 14 µs 12 µs 760 bytes bytes 80,208 µs 1,208 µs 16,104 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileOrdersToArray 4 13 µs µs 1,560 bytes bytes 25 µs 26 µs 2,424 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::initializeSoftDeletes… 5 12 µs 11 µs 696 bytes bytes 20 µs 21 µs 1,328 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::{closure:Illuminate\D… 4 12 µs 17 µs 864 bytes bytes 12 µs 17 µs 864 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileOrders 4 12 µs 12 µs 496 bytes bytes 37 µs 38 µs 2,920 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::tryToAcquireLock 1 10 µs 10 µs 824 bytes bytes 128 µs 66 µs 2,736 bytes bytes
App\Services\RedirectFlow\LocationDetector::detect 1 10 µs µs 632 bytes bytes 10 µs µs 632 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\Builder::orderBy 4 µs 12 µs 3,632 bytes bytes µs 12 µs 3,632 bytes bytes
App\Models\Tenant\Voucher::getQualifiedDeletedAtColumn 2 µs 12 µs 760 bytes bytes µs 12 µs 760 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::loadStatementI… 1 µs µs 664 bytes bytes µs µs 664 bytes bytes
Illuminate\Routing\UrlGenerator::to 1 µs µs 656 bytes bytes 15 µs 15 µs 2,056 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::unlock 1 µs µs 744 bytes bytes 163 µs 78 µs 2,624 bytes bytes
Xhgui\Profiler\Profiler::disable 1 µs µs 776 bytes bytes 14 µs 13 µs 1,944 bytes bytes
App\Repositories\Tenant\TargetGroups\TargetGroupRepository::getAv… 3 µs µs 728 bytes bytes 2,931 µs 1,975 µs 61,848 bytes bytes
Illuminate\Database\Query\Builder::selectRaw 3 µs µs 1,448 bytes bytes µs µs 1,448 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlan… 1 µs µs 728 bytes bytes 786 µs 482 µs 3,832 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::getQualifiedDeletedAt… 1 µs µs 2,032 bytes bytes µs µs 2,696 bytes bytes
Illuminate\Database\Query\Grammars\MySqlGrammar::whereLike 2 µs µs 1,496 bytes bytes µs µs 1,496 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
Illuminate\Routing\Redirector::createRedirect 1 µs µs 968 bytes bytes 53 µs 105 µs 9,416 bytes bytes
Illuminate\Database\Query\Builder::whereLike 2 µs µs 2,512 bytes bytes µs µs 2,512 bytes bytes
Illuminate\Routing\UrlGenerator::isValidUrl 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
Illuminate\Routing\Redirector::to 1 µs µs 600 bytes bytes 73 µs 124 µs 12,072 bytes bytes
App\Models\Tenant\Log\StatusedLog::start 1 µs µs 760 bytes bytes 231 µs 231 µs 11,408 bytes bytes
App\Dto\BaseData::fromArray 1 µs µs 744 bytes bytes µs µs 1,928 bytes bytes
App\Models\Tenant\Log\StatusedLog::success 1 µs µs bytes bytes 729 µs 820 µs 3,272 bytes bytes
Laravel\Boost\Middleware\InjectBoost::shouldInject 1 µs µs 600 bytes bytes µs µs 600 bytes bytes
Xhgui\Profiler\ProfilingData::__construct 1 µs µs 584 bytes bytes µs µs 584 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
Spatie\Activitylog\PendingActivityLog::forwardCallTo 1 µs µs 600 bytes bytes µs µs 600 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 80,139 µs 1,137 µs 6,736 bytes bytes
App\Dto\BaseData::__construct 1 µs µs 632 bytes bytes µs µs 1,184 bytes bytes
Illuminate\Http\Request::query 1 µs µs 600 bytes bytes µs µs 600 bytes bytes
App\Services\PaymentGateways\PaymentGatewaysProvider::{closure:Ap… 3 µs µs 792 bytes bytes µs µs 792 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::__construct 1 µs µs 696 bytes bytes 12 µs 12 µs 1,360 bytes bytes
Xhgui\Profiler\Profiler::registerShutdownHandler 1 µs µs 1,216 bytes bytes µs µs 1,216 bytes bytes
Illuminate\Support\Facades\Redis::getFacadeAccessor 2 µs µs 1,264 bytes bytes µs µs 1,264 bytes bytes
Illuminate\Auth\SessionGuard::getRecallerName 1 µs µs 664 bytes bytes µs µs 664 bytes bytes
Spatie\Activitylog\PendingActivityLog::__call 1 µs µs 632 bytes bytes µs µs 1,232 bytes bytes
App\Models\Tenant\Log\StatusedLog::__construct 1 µs µs 608 bytes bytes 227 µs 228 µs 10,648 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
Symfony\Component\HttpFoundation\Response::isRedirect 1 µs 41 µs 632 bytes bytes µs 41 µs 632 bytes bytes
App\Services\RedirectFlow\Redirect::redirect 1 µs µs 696 bytes bytes 91 µs 144 µs 13,464 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
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
Spatie\Activitylog\ActivityLogger::setLogStatus 1 µs µs 1,240 bytes bytes µs µs 1,240 bytes bytes
Spatie\Activitylog\PendingActivityLog::logger 1 µs µs 568 bytes bytes µs µs 568 bytes bytes
App\Models\Tenant\Log\StatusedLog::activity 1 µs µs 600 bytes bytes µs µs 600 bytes bytes
Illuminate\Http\RedirectResponse::setSession 1 µs µs 664 bytes bytes µs µs 664 bytes bytes