Profile data for GET http://one.tsumanchuk.project-h.io/portal/api/redirect-flow/order-plan/3?hash=bb2d441f069db66ffad0a0626fbf46cb&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\PaymentGateways\PaymentGatewaysProvider::gatewayIsAvailableForLocation
12,923 µs
main()
5,454 µs
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::__construct
4,268 µs
App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter
4,009 µs
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderPlan
3,077 µs
App\Services\RedirectFlow\Payments\StatementCreator::createPaymentStatement
2,959 µs

Memory Hogs

App\Repositories\Tenant\Plans\PlansRepository::{closure:App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter():36}
188,728 bytes
App\Repositories\Tenant\Configs\AdditionalFields\AdditionalFieldsConfigsRepository::getAllUsableAdditionalFields
158,544 bytes
load::settings/localization_php
95,296 bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseParameters
61,832 bytes
Laravel\Boost\Middleware\InjectBoost::handle
36,448 bytes
App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter
33,424 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\PaymentGateways\PaymentGatewaysProvider::gatewayIsAv… 1 12,923 µs 8,728 µs 25,376 bytes bytes 12,931 µs 8,736 µs 26,168 bytes bytes
main() 1 5,454 µs 2,817 µs -23,584 bytes bytes 53,344 µs 32,052 µs 277,392 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::__constr… 1 4,268 µs 1,288 µs 2,528 bytes bytes 4,280 µs 1,299 µs 3,952 bytes bytes
App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter 4 4,009 µs 3,094 µs 33,424 bytes bytes 5,662 µs 4,886 µs 225,152 bytes bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderP… 1 3,077 µs 1,904 µs 17,072 bytes bytes 43,272 µs 27,278 µs 178,488 bytes bytes
App\Services\RedirectFlow\Payments\StatementCreator::createPaymen… 1 2,959 µs 1,241 µs 2,912 bytes bytes 3,032 µs 1,319 µs 14,264 bytes bytes
App\Repositories\Tenant\Configs\AdditionalFields\AdditionalFields… 8 2,333 µs 1,489 µs 158,544 bytes bytes 2,683 µs 1,851 µs 161,272 bytes bytes
Laravel\Boost\Middleware\InjectBoost::handle 1 2,102 µs 1,303 µs 36,448 bytes bytes 47,869 µs 29,213 µs 297,184 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::unlock 1 1,858 µs 70 µs 616 bytes bytes 1,888 µs 100 µs 1,264 bytes bytes
App\Services\TargetGroups\TargetGroupsMatcher::match 1 1,685 µs 882 µs -417,072 bytes bytes 13,267 µs 10,106 µs 76,200 bytes bytes
App\Repositories\Tenant\Plans\PlansRepository::{closure:App\Repos… 500 1,643 µs 1,780 µs 188,728 bytes bytes 1,643 µs 1,780 µs 188,728 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::getRedirectLin… 1 1,503 µs 351 µs -224 bytes bytes 10,955 µs 4,073 µs 29,560 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::generate… 1 1,482 µs 374 µs -27,440 bytes bytes 1,607 µs 500 µs 4,352 bytes bytes
App\Repositories\Tenant\Labels\LabelsRepository::getCustomerLabel… 4 1,093 µs 712 µs 25,520 bytes bytes 1,190 µs 818 µs 28,400 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseP… 4 958 µs 578 µs 61,832 bytes bytes 7,810 µs 6,282 µs 315,384 bytes bytes
App\Models\Tenant\Log\StatusedLog::finish 1 796 µs 860 µs 3,264 bytes bytes 796 µs 860 µs 3,264 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::getTemporar… 1 692 µs 404 µs 2,376 bytes bytes 692 µs 404 µs 2,376 bytes bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detect 1 659 µs 260 µs -25,696 bytes bytes 14,015 µs 10,456 µs 62,664 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::getPaymentGate… 1 427 µs 498 µs 2,376 bytes bytes 430 µs 501 µs 3,600 bytes bytes
App\Services\RedirectFlow\TrialSessions\TrialSessionsMaker::isTri… 1 334 µs 370 µs 1,120 bytes bytes 334 µs 370 µs 1,120 bytes bytes
load::settings/localization_php 3 291 µs 294 µs 95,296 bytes bytes 291 µs 294 µs 95,296 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAddit… 4 275 µs 259 µs 18,232 bytes bytes 1,939 µs 1,452 µs 110,976 bytes bytes
App\Models\Tenant\Config\AdditionalFields\BaseAdditionalFieldConf… 96 239 µs 214 µs 1,488 bytes bytes 361 µs 375 µs 2,184 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::build 4 215 µs 211 µs 17,232 bytes bytes 356 µs 358 µs 44,792 bytes bytes
App\Models\Tenant\Log\StatusedLog::__construct 1 189 µs 189 µs 5,544 bytes bytes 196 µs 197 µs 6,808 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::tryToAcquireLock 1 154 µs 59 µs 696 bytes bytes 201 µs 108 µs 1,376 bytes bytes
App\Models\Tenant\Config\AdditionalFields\BaseAdditionalFieldConf… 200 126 µs 169 µs 1,392 bytes bytes 126 µs 169 µs 1,392 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::handle 1 90 µs 88 µs -11,432 bytes bytes 45,451 µs 27,574 µs 169,696 bytes bytes
App\Services\RedirectFlow\RedirectFlowLogger::startLog 1 89 µs 89 µs 2,952 bytes bytes 289 µs 290 µs 11,120 bytes bytes
App\Services\AdditionalFields\AdditionalFields::getAdditionalFiel… 8 87 µs 85 µs 9,912 bytes bytes 121 µs 124 µs 11,368 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::__construct 4 87 µs 83 µs 11,224 bytes bytes 11,170 µs 8,803 µs 443,216 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::getKey 2 77 µs 79 µs 1,328 bytes bytes 77 µs 79 µs 1,328 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::getPayLi… 1 71 µs 68 µs -1,216 bytes bytes 1,709 µs 601 µs 7,336 bytes bytes
Illuminate\Database\Eloquent\Model::getEnumCastableAttributeValue… 36 65 µs 61 µs 728 bytes bytes 99 µs 109 µs 1,360 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 4 61 µs 61 µs 5,848 bytes bytes 139 µs 143 µs 26,928 bytes bytes
load::settings/captive_portal_php 1 54 µs 55 µs 8,184 bytes bytes 54 µs 55 µs 8,184 bytes bytes
App\Models\Tenant\Labels\Label::initializeSoftDeletes 20 51 µs 45 µs 696 bytes bytes 76 µs 82 µs 1,328 bytes bytes
App\Repositories\Tenant\Configs\AdditionalFields\AdditionalFields… 8 50 µs 49 µs 1,872 bytes bytes 176 µs 181 µs 14,640 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::buildConditio… 4 47 µs 43 µs 4,344 bytes bytes 58 µs 59 µs 16,488 bytes bytes
Symfony\Component\HttpFoundation\RedirectResponse::__construct 1 39 µs 38 µs 2,720 bytes bytes 51 µs 52 µs 12,768 bytes bytes
load::settings/customers_php 1 36 µs 38 µs 5,048 bytes bytes 36 µs 38 µs 5,048 bytes bytes
Illuminate\Database\Eloquent\Model::getEnumCaseFromValue 36 34 µs 48 µs 632 bytes bytes 34 µs 48 µs 632 bytes bytes
App\Services\PaymentGateways\GlobalGateway::needAskAdditionalInfo… 1 31 µs 32 µs 728 bytes bytes 31 µs 32 µs 728 bytes bytes
App\Models\Tenant\Labels\Label::getDeletedAtColumn 44 27 µs 42 µs 1,264 bytes bytes 27 µs 42 µs 1,264 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAllPa… 4 26 µs 26 µs -79,624 bytes bytes 9,775 µs 7,760 µs 346,736 bytes bytes
App\Dto\BaseData::toJson 7 26 µs 18 µs -1,424 bytes bytes 32 µs 32 µs 2,136 bytes bytes
load::settings/finance_php 1 23 µs 23 µs 7,064 bytes bytes 23 µs 23 µs 7,064 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::initializeSoftDeletes… 6 19 µs 20 µs 696 bytes bytes 31 µs 33 µs 1,328 bytes bytes
App\Models\Tenant\Labels\Label::getQualifiedDeletedAtColumn 4 19 µs 19 µs 920 bytes bytes 21 µs 24 µs 1,552 bytes bytes
App\Models\Tenant\Config\AdditionalFields\BaseAdditionalFieldConf… 8 19 µs 18 µs 1,304 bytes bytes 23 µs 26 µs 2,000 bytes bytes
redirect 1 19 µs 20 µs 696 bytes bytes 93 µs 94 µs 18,528 bytes bytes
load::settings/security_php 1 18 µs 18 µs 7,216 bytes bytes 18 µs 18 µs 7,216 bytes bytes
App\Models\Tenant\Customer::getQualifiedDeletedAtColumn 5 18 µs 20 µs 1,504 bytes bytes 18 µs 20 µs 1,504 bytes bytes
App\Http\Middleware\RedirectFlowProfiling::handle 1 18 µs 29 µs 4,712 bytes bytes 45,469 µs 27,603 µs 174,408 bytes bytes
load::settings/finance_notifications_php 1 17 µs 17 µs 4,488 bytes bytes 17 µs 17 µs 4,488 bytes bytes
load::settings/voucher_limit_notifications_php 1 16 µs 17 µs 6,056 bytes bytes 16 µs 17 µs 6,056 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 4 16 µs 18 µs 856 bytes bytes 74 µs 77 µs 17,344 bytes bytes
App\Casts\Payments\PaymentStatementMetadataCast::set 7 16 µs 17 µs 1,328 bytes bytes 48 µs 49 µs 3,464 bytes bytes
load::settings/status_page_notifications_php 1 15 µs 16 µs 5,872 bytes bytes 15 µs 16 µs 5,872 bytes bytes
load::settings/splynx_integration_php 1 14 µs 16 µs 6,232 bytes bytes 14 µs 16 µs 6,232 bytes bytes
App\Repositories\Tenant\TargetGroups\TargetGroupRepository::getAv… 4 14 µs 12 µs 728 bytes bytes 9,789 µs 7,772 µs 347,464 bytes bytes
Illuminate\Database\Query\Builder::orderBy 5 13 µs 15 µs 4,224 bytes bytes 13 µs 15 µs 4,224 bytes bytes
App\Services\RedirectFlow\Adverts\Adverts::isWeNeedToShowAd 1 13 µs 13 µs -136 bytes bytes 14,028 µs 10,469 µs 62,528 bytes bytes
load::settings/portal_php 1 12 µs 13 µs 3,824 bytes bytes 12 µs 13 µs 3,824 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::getDeletedAtColumn 13 12 µs 14 µs 1,296 bytes bytes 12 µs 14 µs 1,296 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::loadStatementI… 1 12 µs 13 µs 664 bytes bytes 12 µs 13 µs 664 bytes bytes
App\Services\PaymentGateways\GlobalGateway::createEncrypter 1 12 µs µs 792 bytes bytes 12 µs 11 µs 1,424 bytes bytes
Illuminate\Routing\UrlGenerator::to 2 12 µs 13 µs 2,120 bytes bytes 24 µs 26 µs 4,584 bytes bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detectTargetG… 1 11 µs 10 µs -19,600 bytes bytes 13,278 µs 10,116 µs 56,600 bytes bytes
Symfony\Component\HttpFoundation\RedirectResponse::setTargetUrl 1 11 µs 13 µs 9,416 bytes bytes 11 µs 13 µs 9,416 bytes bytes
Illuminate\Database\Eloquent\Model::setClassCastableAttribute 1 10 µs 10 µs 832 bytes bytes 21 µs 22 µs 4,192 bytes bytes
Illuminate\Routing\UrlGenerator::isValidUrl 2 10 µs 11 µs 584 bytes bytes 10 µs 11 µs 584 bytes bytes
Xhgui\Profiler\Profiler::disable 1 µs µs 776 bytes bytes 14 µs 13 µs 1,944 bytes bytes
App\Services\PaymentGateways\PaymentGatewaysProvider::{closure:Ap… 5 µs µs 792 bytes bytes µs µs 792 bytes bytes
App\Services\RedirectFlow\LocationDetector::detect 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Models\Tenant\Log\StatusedLog::success 1 µs µs bytes bytes 803 µs 865 µs 3,264 bytes bytes
url 1 µs µs -480 bytes bytes 27 µs 28 µs 3,536 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::getQualifiedDeletedAt… 1 µs µs 752 bytes bytes µs µs 1,416 bytes bytes
App\Dto\BaseData::toArray 7 µs 14 µs 3,560 bytes bytes µs 14 µs 3,560 bytes bytes
Illuminate\Database\Eloquent\Model::normalizeCastClassResponse 7 µs µs 3,928 bytes bytes µs µs 3,928 bytes bytes
Illuminate\Routing\Redirector::createRedirect 1 µs µs 968 bytes bytes 65 µs 66 µs 16,584 bytes bytes
Illuminate\Routing\UrlGenerator::{closure:Stancl\Tenancy\Bootstra… 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Facades\AdditionalFields::getFacadeAccessor 8 µs µs 664 bytes bytes µs µs 664 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlan… 1 µs µs 728 bytes bytes 697 µs 409 µs 3,104 bytes bytes
Illuminate\Routing\Redirector::{closure:Illuminate\Routing\Redire… 1 µs µs 856 bytes bytes µs µs 2,848 bytes bytes
Illuminate\Routing\Redirector::to 1 µs µs 680 bytes bytes 74 µs 74 µs 17,832 bytes bytes
Laravel\Boost\Middleware\InjectBoost::shouldInject 1 µs µs 600 bytes bytes µs µs 600 bytes bytes
Spatie\Activitylog\PendingActivityLog::__call 1 µs µs 664 bytes bytes µs µs 1,264 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::buildOrWhereG… 4 µs µs 3,736 bytes bytes µs µs 3,736 bytes bytes
Illuminate\Database\Query\Grammars\MySqlGrammar::whereLike 1 µs µs 1,064 bytes bytes µs µs 1,064 bytes bytes
App\Dto\BaseData::__construct 1 µs µs 632 bytes bytes µs µs 1,184 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::getGatew… 1 µs µs 664 bytes bytes µs µs 664 bytes bytes
Xhgui\Profiler\ProfilingData::__construct 1 µs µs 584 bytes bytes µs µs 584 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 199 µs 200 µs 7,568 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::isCustomerLab… 3 µs µs 664 bytes bytes µs µs 664 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::__construct 1 µs µs 696 bytes bytes 15 µs 16 µs 1,360 bytes bytes
App\Models\Tenant\Finance\Payment\PaymentStatement::initializeSof… 1 µs µs 728 bytes bytes µs µs 1,392 bytes bytes
Xhgui\Profiler\Profiler::registerShutdownHandler 1 µs µs 1,216 bytes bytes µs µs 1,216 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::getOperators 4 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::parseArrayVal… 1 µs µs 944 bytes bytes µs µs 944 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::isAf 3 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Database\Query\Builder::whereLike 1 µs µs 2,136 bytes bytes µs µs 2,136 bytes bytes
Illuminate\Database\Query\Builder::whereRaw 1 µs µs 7,768 bytes bytes µs µs 7,768 bytes bytes
App\Dto\BaseData::fromArray 1 µs µs 744 bytes bytes µs µs 1,928 bytes bytes
App\Models\Tenant\Finance\Payment\PaymentStatement::getDeletedAtC… 2 µs µs 664 bytes bytes µs µs 664 bytes bytes
Illuminate\Database\Eloquent\Model::getStorableEnumValue 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Database\Eloquent\Model::setEnumCastableAttribute 1 µs µs 1,104 bytes bytes µs µs 1,736 bytes bytes
Illuminate\Routing\UrlGenerator::extractQueryString 1 µs µs 1,880 bytes bytes µs µs 1,880 bytes bytes
App\Services\RedirectFlow\Redirect::redirect 1 µs µs 696 bytes bytes 95 µs 96 µs 19,224 bytes bytes
App\Models\Tenant\Log\StatusedLog::activity 1 µs µs 600 bytes bytes µs µs 600 bytes bytes
App\Dto\BaseData::fill 1 µs µs 552 bytes bytes µs µs 552 bytes bytes
App\Services\RedirectFlow\Payments\StatementCreator::__construct 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
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
App\Providers\AppServiceProvider::{closure:App\Providers\AppServi… 1 µs µs 736 bytes bytes µs µs 736 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::whereRaw 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