Profile data for GET http://one.tsumanchuk.project-h.io/portal/api/redirect-flow/order-plan/1?hash=130d7b01dd97ddd603e17d49fd04e5a8&gateway=payfast

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
18,043 µs
App\Services\RedirectFlow\Payments\StatementCreator::createPaymentStatement
5,036 µs
main()
4,679 µs
App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter
4,152 µs
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderPlan
2,778 µs
Laravel\Boost\Middleware\InjectBoost::handle
2,634 µ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
101,568 bytes
load::settings/localization_php
95,296 bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::__construct
94,264 bytes
load::Payment/PaymentStatementType_php
68,832 bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseParameters
59,864 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 18,043 µs 11,718 µs 32,424 bytes bytes 18,049 µs 11,734 µs 33,216 bytes bytes
App\Services\RedirectFlow\Payments\StatementCreator::createPaymen… 1 5,036 µs 963 µs 33,128 bytes bytes 6,120 µs 1,552 µs 146,384 bytes bytes
main() 1 4,679 µs 2,798 µs -21,448 bytes bytes 54,765 µs 34,303 µs 470,608 bytes bytes
App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter 4 4,152 µs 3,123 µs 34,448 bytes bytes 5,639 µs 4,763 µs 223,176 bytes bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderP… 1 2,778 µs 1,773 µs 8,776 bytes bytes 46,333 µs 29,247 µs 349,592 bytes bytes
Laravel\Boost\Middleware\InjectBoost::handle 1 2,634 µs 1,417 µs 33,064 bytes bytes 50,056 µs 31,471 µs 483,536 bytes bytes
App\Services\TargetGroups\TargetGroupsMatcher::match 1 1,716 µs 852 µs -415,176 bytes bytes 12,772 µs 9,164 µs 53,912 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAddit… 4 1,602 µs 1,102 µs 101,568 bytes bytes 1,602 µs 1,102 µs 101,568 bytes bytes
App\Repositories\Tenant\Plans\PlansRepository::{closure:App\Repos… 500 1,487 µs 1,640 µs 188,728 bytes bytes 1,487 µs 1,640 µs 188,728 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::__construct 4 1,283 µs 842 µs 94,264 bytes bytes 10,741 µs 7,994 µs 425,560 bytes bytes
App\Repositories\Tenant\Labels\LabelsRepository::getCustomerLabel… 4 1,203 µs 742 µs 25,584 bytes bytes 1,203 µs 742 µs 25,584 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::__constr… 1 1,186 µs 847 µs 2,592 bytes bytes 1,203 µs 864 µs 4,016 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseP… 4 980 µs 516 µs 59,864 bytes bytes 7,822 µs 6,021 µs 308,624 bytes bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detect 1 704 µs 272 µs -25,376 bytes bytes 13,556 µs 9,516 µs 40,728 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::getTemporar… 1 660 µs 390 µs 2,376 bytes bytes 660 µs 390 µs 2,376 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::getPaymentGate… 1 654 µs 305 µs 2,968 bytes bytes 654 µs 305 µs 2,968 bytes bytes
App\Models\Tenant\Log\StatusedLog::finish 1 551 µs 616 µs 3,264 bytes bytes 551 µs 616 µs 3,264 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::generate… 1 462 µs 292 µs -27,440 bytes bytes 525 µs 355 µs 4,352 bytes bytes
load::Payment/PaymentStatement_php 1 394 µs 288 µs 26,512 bytes bytes 394 µs 288 µs 26,512 bytes bytes
load::OrderProcess/UserInfo_php 1 351 µs 100 µs 2,504 bytes bytes 351 µs 100 µs 2,504 bytes bytes
load::Payment/PaymentStatementType_php 1 350 µs 121 µs 68,832 bytes bytes 350 µs 121 µs 68,832 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::{closure:App\S… 1 343 µs 259 µs -10,352 bytes bytes 9,388 µs 3,899 µs 189,320 bytes bytes
load::TrialSessions/TrialSessionsMaker_php 1 334 µs 177 µs 16,672 bytes bytes 334 µs 177 µs 16,672 bytes bytes
load::Payments/OrderProcessor_php 1 320 µs 406 µs 32,320 bytes bytes 320 µs 406 µs 32,320 bytes bytes
load::Payments/PaymentStatementMetadataCast_php 1 279 µs 111 µs 5,464 bytes bytes 279 µs 111 µs 5,464 bytes bytes
load::Payments/GatewayLinkGenerator_php 1 272 µs 155 µs 28,664 bytes bytes 272 µs 155 µs 28,664 bytes bytes
load::settings/localization_php 3 226 µs 226 µs 95,296 bytes bytes 226 µs 226 µs 95,296 bytes bytes
App\Services\RedirectFlow\TrialSessions\TrialSessionsMaker::isTri… 1 217 µs 352 µs 1,120 bytes bytes 217 µs 352 µs 1,120 bytes bytes
load::Payments/StatementCreator_php 1 184 µs 321 µs 7,424 bytes bytes 184 µs 321 µs 7,424 bytes bytes
App\Models\Tenant\Log\StatusedLog::__construct 1 170 µs 169 µs 4,904 bytes bytes 174 µs 174 µs 6,168 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::build 4 136 µs 135 µs 11,432 bytes bytes 282 µs 284 µs 39,088 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::tryToAcquireLock 1 128 µs 52 µs 696 bytes bytes 163 µs 88 µs 1,376 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::unlock 1 99 µs 46 µs 616 bytes bytes 116 µs 63 µs 1,264 bytes bytes
App\Services\RedirectFlow\RedirectFlowLogger::startLog 1 96 µs 96 µs 3,080 bytes bytes 278 µs 278 µs 12,448 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::handle 1 91 µs 87 µs -15,520 bytes bytes 47,037 µs 29,662 µs 353,384 bytes bytes
load::settings/customers_php 1 67 µs 68 µs 5,048 bytes bytes 67 µs 68 µs 5,048 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 4 61 µs 60 µs 5,848 bytes bytes 119 µs 121 µs 21,264 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::getKey 2 52 µs 53 µs 1,328 bytes bytes 52 µs 53 µs 1,328 bytes bytes
load::settings/portal_voucher_purchase_php 1 50 µs 50 µs 10,464 bytes bytes 50 µs 50 µs 10,464 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::getPayLi… 1 45 µs 41 µs -1,128 bytes bytes 605 µs 434 µs 8,128 bytes bytes
App\Services\PaymentGateways\GlobalGateway::needAskAdditionalInfo… 1 42 µs 42 µs 728 bytes bytes 42 µs 42 µs 728 bytes bytes
load::settings/captive_portal_php 1 36 µs 36 µs 8,184 bytes bytes 36 µs 36 µs 8,184 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::buildConditio… 4 35 µs 34 µs 4,344 bytes bytes 46 µs 49 µs 10,824 bytes bytes
Symfony\Component\HttpFoundation\RedirectResponse::__construct 1 28 µs 29 µs 2,720 bytes bytes 39 µs 40 µs 12,768 bytes bytes
Illuminate\Database\Query\Builder::leftJoin 4 27 µs 28 µs 6,392 bytes bytes 27 µs 28 µs 6,392 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAllPa… 4 25 µs 20 µs -79,624 bytes bytes 9,449 µs 7,143 µs 330,568 bytes bytes
load::settings/finance_php 1 24 µs 25 µs 7,064 bytes bytes 24 µs 25 µs 7,064 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::getRedirectLin… 1 20 µs 19 µs 792 bytes bytes 9,417 µs 3,926 µs 189,624 bytes bytes
load::settings/finance_notifications_php 1 19 µs 20 µs 4,488 bytes bytes 19 µs 20 µs 4,488 bytes bytes
load::settings/security_php 1 19 µs 19 µs 6,896 bytes bytes 19 µs 19 µs 6,896 bytes bytes
load::settings/splynx_integration_php 1 17 µs 18 µs 6,232 bytes bytes 17 µs 18 µs 6,232 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::initializeSoftDeletes… 6 17 µs 14 µs 696 bytes bytes 23 µs 23 µs 1,328 bytes bytes
App\Dto\BaseData::toJson 7 17 µs 15 µs -1,424 bytes bytes 23 µs 24 µs 2,136 bytes bytes
App\Http\Middleware\RedirectFlowProfiling::handle 1 17 µs 17 µs 616 bytes bytes 47,054 µs 29,679 µs 354,000 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
load::settings/voucher_limit_notifications_php 1 16 µs 16 µs 6,056 bytes bytes 16 µs 16 µs 6,056 bytes bytes
App\Services\PaymentGateways\GlobalGateway::createEncrypter 1 16 µs 15 µs 792 bytes bytes 17 µs 17 µs 1,424 bytes bytes
Symfony\Component\Translation\MessageCatalogue::{closure:Carbon\L… 19 14 µs 15 µs 632 bytes bytes 14 µs 15 µs 632 bytes bytes
App\Services\RedirectFlow\Adverts\Adverts::isWeNeedToShowAd 1 13 µs 12 µs -136 bytes bytes 13,569 µs 9,528 µs 40,592 bytes bytes
load::settings/portal_php 1 12 µs 13 µs 3,824 bytes bytes 12 µs 13 µs 3,824 bytes bytes
Illuminate\Routing\UrlGenerator::to 2 12 µs 11 µs 2,120 bytes bytes 20 µs 20 µs 4,584 bytes bytes
redirect 1 11 µs 11 µs 696 bytes bytes 66 µs 67 µs 18,528 bytes bytes
App\Services\RedirectFlow\LocationDetector::detect 1 10 µs 10 µs 632 bytes bytes 10 µs 10 µs 632 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::loadStatementI… 1 10 µs 10 µs 664 bytes bytes 10 µs 10 µs 664 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::resolveL… 1 10 µs 11 µs 704 bytes bytes 10 µs 11 µs 704 bytes bytes
Symfony\Component\HttpFoundation\RedirectResponse::setTargetUrl 1 10 µs 10 µs 9,416 bytes bytes 10 µs 10 µs 9,416 bytes bytes
App\Repositories\Tenant\TargetGroups\TargetGroupRepository::getAv… 4 µs µs 728 bytes bytes 9,458 µs 7,152 µs 331,296 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 4 µs µs 856 bytes bytes 55 µs 57 µs 11,680 bytes bytes
App\Casts\Payments\PaymentStatementMetadataCast::set 7 µs 13 µs 1,328 bytes bytes 32 µs 37 µs 3,464 bytes bytes
Illuminate\Database\Eloquent\Model::setClassCastableAttribute 1 µs µs 832 bytes bytes 18 µs 18 µs 4,192 bytes bytes
App\Services\Observability\Tracing::span 1 µs µs -1,120 bytes bytes 9,397 µs 3,906 µs 188,200 bytes bytes
Xhgui\Profiler\Profiler::disable 1 µs µs 4,872 bytes bytes 12 µs 13 µs 6,040 bytes bytes
App\Models\Tenant\Finance\Payment\PaymentStatement::initializeSof… 2 µs µs 728 bytes bytes µs 10 µs 1,392 bytes bytes
Illuminate\Routing\UrlGenerator::isValidUrl 2 µs µs 584 bytes bytes µs µs 584 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::getDeletedAtColumn 13 µs 11 µs 1,296 bytes bytes µs 11 µs 1,296 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::getQualifiedDeletedAt… 1 µs µs 752 bytes bytes µs µs 1,416 bytes bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detectTargetG… 1 µs µs -19,568 bytes bytes 12,778 µs 9,170 µs 34,344 bytes bytes
App\Services\PaymentGateways\PaymentGatewaysProvider::{closure:Ap… 7 µs 16 µs 792 bytes bytes µs 16 µs 792 bytes bytes
App\Dto\BaseData::toArray 7 µs µs 3,560 bytes bytes µs µs 3,560 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlan… 1 µs µs 728 bytes bytes 665 µs 394 µs 3,104 bytes bytes
Illuminate\Database\Eloquent\Model::setEnumCastableAttribute 1 µs µs 1,104 bytes bytes µs µs 1,736 bytes bytes
App\Services\Observability\Tracing::annotate 1 µs µs 696 bytes bytes µs µs 696 bytes bytes
url 1 µs µs -480 bytes bytes 22 µs 23 µs 3,536 bytes bytes
App\Services\Observability\Tracing::traceId 1 µs µs 600 bytes bytes µs µs 600 bytes bytes
Illuminate\Database\Query\Grammars\MySqlGrammar::whereLike 1 µs µs 1,064 bytes bytes µs µs 1,064 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 50 µs 50 µs 16,584 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
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 554 µs 619 µs 3,264 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::__construct 1 µs µs 696 bytes bytes 13 µs 13 µs 1,360 bytes bytes
Illuminate\Database\Eloquent\Model::normalizeCastClassResponse 7 µs µs 3,928 bytes bytes µs µs 3,928 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::getGatew… 1 µs µs 664 bytes bytes µs µs 664 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
App\Facades\Trace::getFacadeAccessor 3 µs µs 2,568 bytes bytes µs µs 2,568 bytes bytes
Spatie\Activitylog\PendingActivityLog::forwardCallTo 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\Models\Tenant\Log\StatusedLog::start 1 µs µs 760 bytes bytes 176 µs 176 µs 6,928 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::parseArrayVal… 1 µs µs 912 bytes bytes µs µs 912 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
App\Models\Tenant\Finance\Payment\PaymentStatement::getDeletedAtC… 4 µs µs 664 bytes bytes µs µs 664 bytes bytes
Illuminate\Routing\Redirector::to 1 µs µs 680 bytes bytes 55 µs 56 µs 17,832 bytes bytes
App\Services\RedirectFlow\Redirect::redirect 1 µs µs 696 bytes bytes 68 µs 69 µs 19,224 bytes bytes
App\Models\Tenant\Log\StatusedLog::activity 1 µs µs 600 bytes bytes µs µs 600 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::isCustomerLab… 3 µs µs 664 bytes bytes µs µs 664 bytes bytes
App\Services\RedirectFlow\Payments\StatementCreator::__construct 1 µs µs 696 bytes bytes µs µs 696 bytes bytes
Illuminate\Database\Eloquent\Model::getStorableEnumValue 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
Illuminate\Routing\UrlGenerator::extractQueryString 1 µs µs 1,880 bytes bytes µs µs 1,880 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\Database\Query\Grammars\Grammar::whereRaw 1 µs µs 632 bytes bytes µs µs 632 bytes bytes