Profile data for GET http://one.tsumanchuk.project-h.io/portal/api/redirect-flow/order-plan/1?hash=25490499994921905aba98995b242999&gateway=fnb-exclusive-voucher

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
13,859 µs
App\Services\RedirectFlow\Payments\StatementCreator::createPaymentStatement
12,324 µs
App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter
3,690 µs
load::Payments/PaymentStatementMetadataCast_php
3,492 µs
main()
3,422 µs
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderPlan
2,414 µs

Memory Hogs

App\Repositories\Tenant\Plans\PlansRepository::{closure:App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter():36}
188,728 bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAdditionalFieldsParameters
103,168 bytes
load::settings/localization_php
95,296 bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::__construct
94,264 bytes
load::Payments/PaymentStatementMetadataCast_php
71,000 bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseParameters
61,832 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 13,859 µs 8,269 µs 27,440 bytes bytes 13,864 µs 8,276 µs 28,232 bytes bytes
App\Services\RedirectFlow\Payments\StatementCreator::createPaymen… 1 12,324 µs 897 µs 26,152 bytes bytes 16,353 µs 1,980 µs 139,408 bytes bytes
App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter 4 3,690 µs 2,808 µs 34,448 bytes bytes 5,149 µs 4,409 µs 223,176 bytes bytes
load::Payments/PaymentStatementMetadataCast_php 1 3,492 µs 316 µs 71,000 bytes bytes 3,492 µs 316 µs 71,000 bytes bytes
main() 1 3,422 µs 2,461 µs -33,032 bytes bytes 56,950 µs 28,901 µs 431,352 bytes bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderP… 1 2,414 µs 1,408 µs 16,768 bytes bytes 50,629 µs 24,777 µs 333,504 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::__constr… 1 1,920 µs 1,223 µs 2,528 bytes bytes 1,931 µs 1,235 µs 3,952 bytes bytes
Laravel\Boost\Middleware\InjectBoost::handle 1 1,806 µs 996 µs 36,448 bytes bytes 53,513 µs 26,423 µs 460,592 bytes bytes
App\Repositories\Tenant\Plans\PlansRepository::{closure:App\Repos… 500 1,459 µs 1,601 µs 188,728 bytes bytes 1,459 µs 1,601 µs 188,728 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAddit… 4 1,321 µs 915 µs 103,168 bytes bytes 1,321 µs 915 µs 103,168 bytes bytes
App\Services\TargetGroups\TargetGroupsMatcher::match 1 1,318 µs 649 µs -416,944 bytes bytes 10,887 µs 8,011 µs 56,448 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::__construct 4 1,015 µs 669 µs 94,264 bytes bytes 9,274 µs 7,062 µs 429,128 bytes bytes
App\Repositories\Tenant\Labels\LabelsRepository::getCustomerLabel… 4 903 µs 572 µs 25,584 bytes bytes 903 µs 572 µs 25,584 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseP… 4 852 µs 470 µs 61,832 bytes bytes 6,904 µs 5,451 µs 310,592 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::getTemporar… 1 645 µs 302 µs 2,376 bytes bytes 645 µs 302 µs 2,376 bytes bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detect 1 579 µs 200 µs -26,160 bytes bytes 11,544 µs 8,290 µs 44,240 bytes bytes
App\Models\Tenant\Log\StatusedLog::finish 1 552 µs 607 µs 3,264 bytes bytes 552 µs 607 µs 3,264 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::generate… 1 497 µs 322 µs -27,440 bytes bytes 591 µs 417 µs 4,352 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::getRedirectLin… 1 430 µs 305 µs -11,792 bytes bytes 20,361 µs 4,858 µs 172,320 bytes bytes
load::Payments/GatewayLinkGenerator_php 1 429 µs 253 µs 22,504 bytes bytes 429 µs 253 µs 22,504 bytes bytes
load::Payments/OrderProcessor_php 1 390 µs 467 µs 22,712 bytes bytes 390 µs 467 µs 22,712 bytes bytes
load::TrialSessions/TrialSessionsMaker_php 1 369 µs 143 µs 16,672 bytes bytes 369 µs 143 µs 16,672 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::getPaymentGate… 1 326 µs 491 µs 2,920 bytes bytes 326 µs 491 µs 2,920 bytes bytes
load::OrderProcess/UserInfo_php 1 269 µs 68 µs 2,504 bytes bytes 269 µs 68 µs 2,504 bytes bytes
load::Payment/PaymentStatement_php 1 264 µs 226 µs 26,512 bytes bytes 264 µs 226 µs 26,512 bytes bytes
load::settings/localization_php 3 222 µs 224 µs 95,296 bytes bytes 222 µs 224 µs 95,296 bytes bytes
load::Payments/StatementCreator_php 1 204 µs 81 µs 7,360 bytes bytes 204 µs 81 µs 7,360 bytes bytes
App\Services\RedirectFlow\TrialSessions\TrialSessionsMaker::isTri… 1 187 µs 98 µs 1,120 bytes bytes 187 µs 98 µs 1,120 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::unlock 1 186 µs 67 µs 616 bytes bytes 212 µs 93 µs 1,264 bytes bytes
load::Payment/PaymentStatementType_php 1 181 µs 378 µs 3,296 bytes bytes 181 µs 378 µs 3,296 bytes bytes
App\Models\Tenant\Log\StatusedLog::__construct 1 136 µs 135 µs 10,536 bytes bytes 141 µs 141 µs 12,440 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::tryToAcquireLock 1 133 µs 43 µs 696 bytes bytes 151 µs 62 µs 1,376 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::build 4 124 µs 123 µs 10,416 bytes bytes 262 µs 265 µs 39,824 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::handle 1 94 µs 92 µs -15,616 bytes bytes 51,455 µs 25,167 µs 337,200 bytes bytes
App\Services\RedirectFlow\RedirectFlowLogger::startLog 1 74 µs 75 µs 2,952 bytes bytes 218 µs 219 µs 16,752 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::getPayLi… 1 67 µs 65 µs -1,216 bytes bytes 687 µs 511 µs 7,336 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 4 51 µs 47 µs 5,848 bytes bytes 107 µs 107 µs 21,296 bytes bytes
App\Services\PaymentGateways\GlobalGateway::needAskAdditionalInfo… 1 51 µs 52 µs 728 bytes bytes 51 µs 52 µs 728 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::getKey 2 44 µs 45 µs 1,328 bytes bytes 44 µs 45 µs 1,328 bytes bytes
load::settings/captive_portal_php 1 37 µs 37 µs 8,184 bytes bytes 37 µs 37 µs 8,184 bytes bytes
Symfony\Component\HttpFoundation\RedirectResponse::__construct 1 32 µs 32 µs 2,720 bytes bytes 43 µs 44 µs 12,768 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::buildConditio… 4 31 µs 34 µs 4,344 bytes bytes 43 µs 48 µs 10,856 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAllPa… 4 26 µs 21 µs -79,624 bytes bytes 8,251 µs 6,387 µs 334,136 bytes bytes
Illuminate\Database\Query\Builder::leftJoin 4 26 µs 26 µs 6,392 bytes bytes 26 µs 26 µs 6,392 bytes bytes
App\Dto\BaseData::toArray 7 26 µs 20 µs 3,560 bytes bytes 26 µs 20 µs 3,560 bytes bytes
redirect 1 26 µs 25 µs 696 bytes bytes 89 µs 89 µs 18,528 bytes bytes
load::settings/customers_php 1 24 µs 24 µs 5,048 bytes bytes 24 µs 24 µ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\Dto\BaseData::toJson 7 19 µs 16 µs -1,424 bytes bytes 45 µs 36 µs 2,136 bytes bytes
App\Http\Middleware\RedirectFlowProfiling::handle 1 19 µs 20 µs 616 bytes bytes 51,474 µs 25,187 µs 337,816 bytes bytes
load::settings/finance_notifications_php 1 18 µs 19 µs 4,488 bytes bytes 18 µs 19 µs 4,488 bytes bytes
App\Casts\Payments\PaymentStatementMetadataCast::set 7 17 µs 13 µs 1,328 bytes bytes 62 µs 49 µs 3,464 bytes bytes
load::settings/status_page_notifications_php 1 14 µs 14 µs 5,872 bytes bytes 14 µs 14 µs 5,872 bytes bytes
load::settings/security_php 1 13 µs 14 µs 7,216 bytes bytes 13 µs 14 µs 7,216 bytes bytes
load::settings/splynx_integration_php 1 13 µs 13 µs 6,232 bytes bytes 13 µs 13 µs 6,232 bytes bytes
load::settings/voucher_limit_notifications_php 1 12 µs 13 µs 6,056 bytes bytes 12 µs 13 µs 6,056 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::initializeSoftDeletes… 6 12 µs 12 µs 696 bytes bytes 22 µs 24 µs 1,328 bytes bytes
Illuminate\Routing\UrlGenerator::to 2 12 µs 11 µs 2,120 bytes bytes 22 µs 23 µs 4,600 bytes bytes
load::settings/portal_php 1 11 µs 12 µs 3,824 bytes bytes 11 µs 12 µs 3,824 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::getDeletedAtColumn 13 11 µs 13 µs 1,296 bytes bytes 11 µs 13 µs 1,296 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 4 11 µs µs 856 bytes bytes 54 µs 56 µs 11,712 bytes bytes
App\Services\RedirectFlow\Adverts\Adverts::isWeNeedToShowAd 1 11 µs 11 µs -136 bytes bytes 11,555 µs 8,301 µs 44,104 bytes bytes
App\Services\PaymentGateways\GlobalGateway::createEncrypter 1 10 µs 10 µs 792 bytes bytes 11 µs 12 µs 1,424 bytes bytes
Symfony\Component\HttpFoundation\RedirectResponse::setTargetUrl 1 10 µs 11 µs 9,416 bytes bytes 10 µs 11 µs 9,416 bytes bytes
App\Format\FormatManager::toUserTimezone 1 µs 10 µs 744 bytes bytes 12 µs 13 µs 1,792 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::loadStatementI… 1 µs 10 µs 664 bytes bytes µs 10 µs 664 bytes bytes
App\Repositories\Tenant\TargetGroups\TargetGroupRepository::getAv… 4 µs µs 728 bytes bytes 8,259 µs 6,393 µs 334,864 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlan… 1 µs µs 728 bytes bytes 652 µs 306 µs 3,104 bytes bytes
App\Services\RedirectFlow\LocationDetector::detect 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Database\Eloquent\Model::setClassCastableAttribute 1 µs 47 µs 832 bytes bytes 38 µs 66 µs 4,192 bytes bytes
Illuminate\Routing\UrlGenerator::isValidUrl 2 µs µs 584 bytes bytes µs µs 584 bytes bytes
url 1 µs µs -496 bytes bytes 25 µs 25 µs 3,536 bytes bytes
Xhgui\Profiler\Profiler::disable 1 µs µs 776 bytes bytes 11 µs 11 µs 1,944 bytes bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detectTargetG… 1 µs µs -19,600 bytes bytes 10,893 µs 8,017 µs 36,848 bytes bytes
App\Models\Tenant\Finance\Payment\PaymentStatement::initializeSof… 2 µs 39 µs 728 bytes bytes 10 µs 44 µs 1,392 bytes bytes
Illuminate\Database\Eloquent\Model::normalizeCastClassResponse 7 µs 15 µs 3,928 bytes bytes µs 15 µs 3,928 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 4 µs µs 1,720 bytes bytes µs µs 1,720 bytes bytes
App\Services\PaymentGateways\PaymentGatewaysProvider::{closure:Ap… 6 µs µs 792 bytes bytes µs µs 792 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 56 µs 56 µs 16,584 bytes bytes
Illuminate\Database\Query\Grammars\MySqlGrammar::whereLike 1 µs µs 1,064 bytes bytes µs µs 1,064 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::__construct 1 µs µs 696 bytes bytes 13 µs 13 µs 1,360 bytes bytes
App\Models\Tenant\Finance\Payment\PaymentStatement::getDeletedAtC… 4 µs µs 664 bytes bytes µs µs 664 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::getGatew… 1 µs µs 664 bytes bytes µs µs 664 bytes bytes
Spatie\Activitylog\PendingActivityLog::__call 1 µs µs 1,304 bytes bytes µs µs 1,904 bytes bytes
App\Format\FormatManager::getDateTimeFormatSettings 1 µs µs 1,048 bytes bytes µs µs 1,048 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
App\Models\Tenant\Log\StatusedLog::success 1 µs µs bytes bytes 555 µs 610 µs 3,264 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,896 bytes bytes µs µs 1,896 bytes bytes
Illuminate\Routing\Redirector::to 1 µs µs 680 bytes bytes 63 µs 64 µ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
Illuminate\Routing\UrlGenerator::{closure:Stancl\Tenancy\Bootstra… 1 µs µs 632 bytes bytes µs µs 632 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 143 µs 143 µs 13,200 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::buildOrWhereG… 4 µs µs 3,736 bytes bytes µs µs 3,736 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::parseArrayVal… 1 µs µs 944 bytes bytes µs µs 944 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::isCustomerLab… 3 µs µs 664 bytes bytes µs µs 664 bytes bytes
Illuminate\Database\Query\Builder::whereRaw 1 µs µs 2,136 bytes bytes µs µs 2,136 bytes bytes
App\Dto\BaseData::fromArray 1 µs µs 680 bytes bytes µs µs 680 bytes bytes
App\Models\Tenant\Finance\Payment\PaymentStatement::bootSoftDelet… 1 µs µs 1,096 bytes bytes µs µs 1,096 bytes bytes
Illuminate\Database\Eloquent\Model::getStorableEnumValue 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Services\RedirectFlow\Redirect::redirect 1 µs µs 696 bytes bytes 91 µs 92 µs 19,224 bytes bytes
App\Models\Tenant\Log\StatusedLog::activity 1 µs µs 600 bytes bytes µs µs 600 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::whereRaw 1 µs µs 632 bytes bytes µs µs 632 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
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