Profile data for GET http://e2e-tests.tsumanchuk.project-h.io/portal/api/redirect-flow/order-plan/9?hash=ddaaa1bd2a82e686f901cdeae7f19717&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\Services\RedirectFlow\Payments\StatementCreator::createPaymentStatement
46,013 µs
App\Repositories\Clickhouse\CustomerActivityFactsRepository::selectDistinctCustomerIds
19,327 µs
App\Services\TargetGroups\TargetGroupsMatcher::match
4,945 µs
App\Services\PaymentGateways\PaymentGatewaysProvider::gatewayIsAvailableForLocation
4,874 µs
main()
3,425 µs
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderPlan
3,375 µs

Memory Hogs

load::settings/localization_php
95,296 bytes
load::settings/splynx_integration_php
75,904 bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseParameters
35,832 bytes
Laravel\Boost\Middleware\InjectBoost::handle
30,808 bytes
App\Repositories\Clickhouse\CustomerActivityFactsRepository::selectDistinctCustomerIds
20,136 bytes
load::Payments/OrderProcessor_php
16,928 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\Services\RedirectFlow\Payments\StatementCreator::createPaymen… 1 46,013 µs 629 µs 5,584 bytes bytes 46,284 µs 777 µs 13,768 bytes bytes
App\Repositories\Clickhouse\CustomerActivityFactsRepository::sele… 1 19,327 µs 973 µs 20,136 bytes bytes 19,327 µs 973 µs 20,136 bytes bytes
App\Services\TargetGroups\TargetGroupsMatcher::match 1 4,945 µs 642 µs -52,112 bytes bytes 28,890 µs 4,726 µs 65,368 bytes bytes
App\Services\PaymentGateways\PaymentGatewaysProvider::gatewayIsAv… 1 4,874 µs 2,947 µs -34,248 bytes bytes 5,064 µs 3,143 µs 12,360 bytes bytes
main() 1 3,425 µs 2,494 µs -35,936 bytes bytes 100,099 µs 21,309 µs 287,968 bytes bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderP… 1 3,375 µs 2,038 µs -504 bytes bytes 93,587 µs 17,050 µs 193,224 bytes bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detect 1 2,209 µs 291 µs -26,152 bytes bytes 31,190 µs 5,109 µs 54,664 bytes bytes
Laravel\Boost\Middleware\InjectBoost::handle 1 1,984 µs 1,097 µs 30,808 bytes bytes 96,658 µs 18,797 µs 320,112 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::__constr… 1 1,327 µs 841 µs -7,424 bytes bytes 1,394 µs 910 µs 5,928 bytes bytes
App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter 3 1,002 µs 684 µs 2,320 bytes bytes 1,187 µs 879 µs 19,760 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::getPaymentGate… 1 996 µs 872 µs 2,384 bytes bytes 1,009 µs 920 µs 4,296 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAddit… 3 895 µs 507 µs 6,984 bytes bytes 895 µs 507 µs 6,984 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::__construct 3 791 µs 464 µs 8,424 bytes bytes 4,226 µs 2,719 µs 71,552 bytes bytes
App\Repositories\Tenant\Labels\LabelsRepository::getCustomerLabel… 3 716 µs 464 µs 3,400 bytes bytes 716 µs 464 µs 3,400 bytes bytes
load::Payments/OrderProcessor_php 1 656 µs 765 µs 16,928 bytes bytes 656 µs 765 µs 16,928 bytes bytes
App\Models\Tenant\Log\StatusedLog::finish 1 629 µs 685 µs 3,272 bytes bytes 629 µs 685 µs 3,272 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseP… 3 614 µs 384 µs 35,832 bytes bytes 2,517 µs 1,727 µs 58,992 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::generate… 1 589 µs 369 µs -27,432 bytes bytes 686 µs 467 µs 4,360 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::getTemporar… 1 581 µs 331 µs 2,376 bytes bytes 581 µs 331 µs 2,376 bytes bytes
load::Payments/GatewayLinkGenerator_php 1 514 µs 260 µs 16,104 bytes bytes 514 µs 260 µs 16,104 bytes bytes
App\Services\RedirectFlow\TrialSessions\TrialSessionsMaker::isTri… 1 508 µs 313 µs -6,192 bytes bytes 579 µs 385 µs 2,040 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::getRedirectLin… 1 481 µs 361 µs -7,680 bytes bytes 50,752 µs 3,953 µs 47,032 bytes bytes
load::settings/splynx_integration_php 13 312 µs 325 µs 75,904 bytes bytes 312 µs 325 µs 75,904 bytes bytes
load::TrialSessions/TrialSessionsMaker_php 1 310 µs 154 µs 16,672 bytes bytes 310 µs 154 µs 16,672 bytes bytes
load::Payments/StatementCreator_php 1 259 µs 134 µs 6,648 bytes bytes 259 µs 134 µs 6,648 bytes bytes
load::OrderProcess/UserInfo_php 1 240 µs 117 µs 2,504 bytes bytes 240 µs 117 µs 2,504 bytes bytes
load::settings/localization_php 3 232 µs 235 µs 95,296 bytes bytes 232 µs 235 µs 95,296 bytes bytes
load::Payments/PaymentStatementMetadataCast_php 1 224 µs 98 µs 5,464 bytes bytes 224 µs 98 µs 5,464 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::tryToAcquireLock 1 192 µs 49 µs 696 bytes bytes 210 µs 67 µs 1,376 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::unlock 1 189 µs 74 µs 616 bytes bytes 210 µs 96 µs 1,264 bytes bytes
App\Repositories\Tenant\Plans\PlansRepository::{closure:App\Repos… 27 156 µs 166 µs 11,520 bytes bytes 156 µs 166 µs 11,520 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::build 3 146 µs 143 µs 14,504 bytes bytes 19,680 µs 1,326 µs 41,688 bytes bytes
App\Models\Tenant\Log\StatusedLog::__construct 1 142 µs 143 µs 4,968 bytes bytes 152 µs 153 µs 8,104 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::handle 1 114 µs 83 µs -9,560 bytes bytes 94,431 µs 17,450 µs 202,976 bytes bytes
load::settings/captive_portal_php 2 111 µs 113 µs 16,416 bytes bytes 111 µs 113 µs 16,416 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::getPayLi… 1 93 µs 91 µs -1,224 bytes bytes 810 µs 590 µs 7,336 bytes bytes
App\Services\RedirectFlow\RedirectFlowLogger::startLog 1 78 µs 77 µs 2,312 bytes bytes 234 µs 234 µs 11,776 bytes bytes
App\Services\PaymentGateways\GlobalGateway::needAskAdditionalInfo… 1 64 µs 64 µs 728 bytes bytes 64 µs 64 µs 728 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::buildConditio… 5 50 µs 48 µs 4,136 bytes bytes 19,451 µs 1,098 µs 15,344 bytes bytes
Illuminate\Database\Eloquent\Builder::orWhere 4 50 µs 52 µs 7,480 bytes bytes 19,511 µs 1,158 µs 23,584 bytes bytes
Symfony\Component\HttpFoundation\RedirectResponse::__construct 1 44 µs 43 µs 2,720 bytes bytes 55 µs 56 µs 12,768 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::getKey 2 39 µs 40 µs 1,328 bytes bytes 39 µs 40 µs 1,328 bytes bytes
App\Services\CustomerQuery\CustomerActivityFactsConditionBuilder:… 1 36 µs 36 µs 1,864 bytes bytes 19,392 µs 1,037 µs 6,008 bytes bytes
App\Repositories\Clickhouse\CustomerActivityFactsRepository::getC… 1 26 µs 25 µs -16,904 bytes bytes 19,353 µs 998 µs 3,232 bytes bytes
load::settings/customers_php 1 25 µs 26 µs 5,048 bytes bytes 25 µs 26 µs 5,048 bytes bytes
App\Services\RedirectFlow\Adverts\Adverts::isWeNeedToShowAd 1 25 µs 21 µs -136 bytes bytes 31,215 µs 5,130 µs 54,528 bytes bytes
App\Dto\BaseData::toJson 7 25 µs 22 µs -1,536 bytes bytes 32 µs 34 µs 2,024 bytes bytes
load::settings/finance_php 1 21 µs 21 µs 7,064 bytes bytes 21 µs 21 µs 7,064 bytes bytes
Illuminate\Routing\UrlGenerator::to 2 18 µs 11 µs 2,136 bytes bytes 28 µs 28 µs 4,472 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAllPa… 3 17 µs 14 µs -3,576 bytes bytes 3,429 µs 2,248 µs 62,400 bytes bytes
load::settings/security_php 1 16 µs 17 µs 7,216 bytes bytes 16 µs 17 µs 7,216 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/portal_php 1 15 µs 16 µs 3,824 bytes bytes 15 µs 16 µs 3,824 bytes bytes
App\Casts\Payments\PaymentStatementMetadataCast::set 7 15 µs 16 µs 696 bytes bytes 47 µs 50 µs 2,720 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 3 14 µs 11 µs -2,216 bytes bytes 19,528 µs 1,174 µs 25,104 bytes bytes
Illuminate\Database\Query\Grammars\MySqlGrammar::whereLike 2 14 µs 14 µs 1,496 bytes bytes 14 µs 14 µs 1,496 bytes bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detectTargetG… 1 14 µs 13 µs -17,440 bytes bytes 28,904 µs 4,739 µs 47,928 bytes bytes
redirect 1 14 µs 14 µs 696 bytes bytes 97 µs 98 µs 18,528 bytes bytes
load::settings/status_page_notifications_php 1 13 µs 13 µs 5,872 bytes bytes 13 µs 13 µs 5,872 bytes bytes
load::settings/voucher_limit_notifications_php 1 13 µs 13 µs 6,056 bytes bytes 13 µs 13 µs 6,056 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::initializeSoftDeletes… 5 13 µs 10 µs 696 bytes bytes 19 µs 19 µs 1,328 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::{closure:Illuminate\D… 4 13 µs 13 µs 864 bytes bytes 13 µs 13 µs 864 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::loadStatementI… 1 12 µs 13 µs 664 bytes bytes 12 µs 13 µs 664 bytes bytes
App\Format\FormatManager::toUserTimezone 1 10 µs 11 µs 1,128 bytes bytes 10 µs 11 µs 1,128 bytes bytes
Illuminate\Database\Query\Builder::orderBy 4 10 µs 44 µs 3,632 bytes bytes 10 µs 44 µs 3,632 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileOrdersToArray 4 10 µs 10 µs 2,840 bytes bytes 23 µs 23 µs 3,704 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 4 10 µs µs 760 bytes bytes 19,461 µs 1,106 µs 16,104 bytes bytes
Symfony\Component\HttpFoundation\RedirectResponse::setTargetUrl 1 10 µs 11 µs 9,416 bytes bytes 10 µs 11 µs 9,416 bytes bytes
Illuminate\Routing\Redirector::{closure:Illuminate\Routing\Redire… 1 10 µs µs 856 bytes bytes 11 µs 12 µs 2,848 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileOrders 4 µs 10 µs 496 bytes bytes 32 µs 33 µs 4,200 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlan… 1 µs µs 6,360 bytes bytes 589 µs 337 µs 8,736 bytes bytes
App\Services\RedirectFlow\LocationDetector::detect 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Services\PaymentGateways\GlobalGateway::createEncrypter 1 µs µs 792 bytes bytes µs 10 µs 1,424 bytes bytes
Illuminate\Routing\UrlGenerator::isValidUrl 2 µs 15 µs 584 bytes bytes µs 15 µs 584 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::getDeletedAtColumn 11 µs 10 µs 1,296 bytes bytes µs 10 µs 1,296 bytes bytes
App\Dto\BaseData::toArray 7 µs 12 µs 3,560 bytes bytes µs 12 µs 3,560 bytes bytes
url 1 µs µs -368 bytes bytes 27 µs 28 µs 3,536 bytes bytes
App\Services\RedirectFlow\Redirect::redirect 1 µs µs 696 bytes bytes 104 µs 105 µs 19,224 bytes bytes
App\Repositories\Tenant\TargetGroups\TargetGroupRepository::getAv… 3 µs µs 728 bytes bytes 3,435 µs 2,255 µs 63,128 bytes bytes
Xhgui\Profiler\Profiler::disable 1 µs µs 776 bytes bytes 11 µs 11 µ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::selectRaw 3 µs µs 1,448 bytes bytes µs µs 1,448 bytes bytes
App\Services\PaymentGateways\PaymentGatewaysProvider::{closure:Ap… 3 µs µs 792 bytes bytes µs µs 792 bytes bytes
Illuminate\Routing\Redirector::createRedirect 1 µs µs 968 bytes bytes 71 µs 72 µs 16,584 bytes bytes
Illuminate\Auth\SessionGuard::recaller 1 µs µs 1,208 bytes bytes µs µs 1,872 bytes bytes
App\Models\Tenant\Log\StatusedLog::success 1 µs µs bytes bytes 633 µs 689 µs 3,272 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::getGatew… 1 µs µs 664 bytes bytes µs µs 664 bytes bytes
Illuminate\Routing\Redirector::to 1 µs µs 680 bytes bytes 83 µs 84 µs 17,832 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
Xhgui\Profiler\Profiler::registerShutdownHandler 1 µs µs 1,216 bytes bytes µs µs 1,216 bytes bytes
Spatie\Activitylog\PendingActivityLog::forwardCallTo 1 µs µs 600 bytes bytes µs µs 600 bytes bytes
App\Models\Tenant\Log\StatusedLog::start 1 µs µs 760 bytes bytes 155 µs 156 µs 8,864 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::buildOrWhereG… 4 µs µs 3,736 bytes bytes µs µs 3,736 bytes bytes
Illuminate\Database\Query\Builder::whereLike 2 µs µs 2,512 bytes bytes µs µs 2,512 bytes bytes
App\Services\CustomerQuery\CustomerActivityFactsConditionBuilder:… 1 µs µs 912 bytes bytes µs µs 912 bytes bytes
App\Services\CustomerQuery\CustomerActivityFactsConditionBuilder:… 1 µs µs 728 bytes bytes 19,395 µs 1,039 µs 6,736 bytes bytes
App\Dto\BaseData::fromArray 1 µs µs 680 bytes bytes µs µs 680 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::__construct 1 µs µs 696 bytes bytes 15 µs 16 µs 1,360 bytes bytes
Illuminate\Routing\UrlGenerator::{closure:Stancl\Tenancy\Bootstra… 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
Spatie\Activitylog\PendingActivityLog::__call 1 µs µs 664 bytes bytes µs µs 1,264 bytes bytes
Illuminate\Routing\UrlGenerator::extractQueryString 1 µs µs 1,752 bytes bytes µs µs 1,752 bytes bytes
Illuminate\Auth\SessionGuard::getRecallerName 1 µs µs 664 bytes bytes µs µs 664 bytes bytes
App\Models\Tenant\Log\StatusedLog::activity 1 µs µs 600 bytes bytes µs µs 600 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::getOperators 3 µs µs 632 bytes bytes µs µs 632 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 664 bytes bytes µs µs 664 bytes bytes
App\Services\RedirectFlow\Payments\StatementCreator::__construct 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Services\PaymentGateways\GlobalGateway::getEncryptionKey 1 µs µs 632 bytes bytes µs µs 632 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