Profile data for GET http://one.tsumanchuk.project-h.io/portal/api/redirect-flow/order-plan/1?hash=0044b4063dc38480ff310d240b940840&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
17,342 µs
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderPlan
9,738 µs
App\Services\TargetGroups\TargetGroupsMatcher::match
5,420 µs
main()
3,985 µs
App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter
3,765 µs
App\Repositories\Tenant\RedirectFlow\PlansRepository::getTemporaryUnavailableTariffsIds
3,546 µ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
102,848 bytes
load::settings/localization_php
95,296 bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::__construct
94,264 bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseParameters
58,584 bytes
App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter
34,448 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 17,342 µs 11,736 µs 32,424 bytes bytes 17,346 µs 11,744 µs 33,216 bytes bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderP… 1 9,738 µs 2,097 µs 18,960 bytes bytes 53,266 µs 28,169 µs 172,984 bytes bytes
App\Services\TargetGroups\TargetGroupsMatcher::match 1 5,420 µs 790 µs -415,176 bytes bytes 15,573 µs 8,742 µs 53,912 bytes bytes
main() 1 3,985 µs 3,060 µs -21,912 bytes bytes 59,981 µs 32,946 µs 276,768 bytes bytes
App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter 4 3,765 µs 2,941 µs 34,448 bytes bytes 5,302 µs 4,631 µs 223,176 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::getTemporar… 1 3,546 µs 476 µs 2,376 bytes bytes 3,546 µs 476 µs 2,376 bytes bytes
Laravel\Boost\Middleware\InjectBoost::handle 1 2,044 µs 1,177 µs 33,064 bytes bytes 55,970 µs 29,846 µs 294,256 bytes bytes
App\Services\RedirectFlow\Payments\StatementCreator::createPaymen… 1 1,912 µs 1,168 µs 2,976 bytes bytes 1,977 µs 1,235 µs 14,328 bytes bytes
App\Repositories\Tenant\Plans\PlansRepository::{closure:App\Repos… 500 1,537 µs 1,690 µs 188,728 bytes bytes 1,537 µs 1,690 µs 188,728 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAddit… 4 1,444 µs 1,037 µs 102,848 bytes bytes 1,444 µs 1,037 µs 102,848 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::__construct 4 1,116 µs 755 µs 94,264 bytes bytes 9,828 µs 7,621 µs 425,560 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::__constr… 1 1,096 µs 804 µs 2,592 bytes bytes 1,104 µs 813 µs 4,016 bytes bytes
App\Repositories\Tenant\Labels\LabelsRepository::getCustomerLabel… 4 1,059 µs 714 µs 25,584 bytes bytes 1,059 µs 714 µs 25,584 bytes bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detect 1 960 µs 264 µs -25,376 bytes bytes 16,623 µs 9,094 µs 40,728 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseP… 4 871 µs 452 µs 58,584 bytes bytes 7,232 µs 5,797 µs 307,344 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::{closure:App\S… 1 721 µs 280 µs 192 bytes bytes 4,748 µs 3,259 µs 31,720 bytes bytes
App\Models\Tenant\Log\StatusedLog::finish 1 616 µs 752 µs 3,264 bytes bytes 616 µs 752 µs 3,264 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::generate… 1 450 µs 312 µs -27,440 bytes bytes 555 µs 418 µs 4,352 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::getPaymentGate… 1 306 µs 427 µs 2,968 bytes bytes 306 µs 427 µs 2,968 bytes bytes
load::settings/localization_php 3 253 µs 254 µs 95,296 bytes bytes 253 µs 254 µs 95,296 bytes bytes
App\Services\RedirectFlow\TrialSessions\TrialSessionsMaker::isTri… 1 201 µs 302 µs 6,752 bytes bytes 201 µs 302 µs 6,752 bytes bytes
App\Models\Tenant\Log\StatusedLog::__construct 1 163 µs 163 µs 4,904 bytes bytes 168 µs 169 µs 6,168 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::unlock 1 140 µs 53 µs 616 bytes bytes 158 µs 71 µs 1,264 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::build 4 136 µs 138 µs 11,432 bytes bytes 291 µs 294 µs 39,088 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::tryToAcquireLock 1 122 µs 42 µs 696 bytes bytes 140 µs 61 µs 1,376 bytes bytes
App\Services\RedirectFlow\RedirectFlowLogger::startLog 1 82 µs 81 µs 3,080 bytes bytes 258 µs 258 µs 12,448 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::handle 1 69 µs 69 µs -11,520 bytes bytes 53,633 µs 28,370 µs 164,104 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 4 56 µs 52 µs 5,848 bytes bytes 125 µs 125 µs 21,264 bytes bytes
App\Services\PaymentGateways\GlobalGateway::needAskAdditionalInfo… 1 45 µs 44 µs 728 bytes bytes 45 µs 44 µs 728 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::getPayLi… 1 43 µs 39 µs -1,128 bytes bytes 633 µs 495 µs 8,128 bytes bytes
load::settings/portal_voucher_purchase_php 1 42 µs 43 µs 10,464 bytes bytes 42 µs 43 µs 10,464 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::buildConditio… 4 38 µs 36 µs 4,344 bytes bytes 48 µs 48 µs 10,824 bytes bytes
load::settings/captive_portal_php 1 37 µs 38 µs 8,184 bytes bytes 37 µs 38 µs 8,184 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::getKey 2 36 µs 37 µs 1,328 bytes bytes 36 µs 37 µs 1,328 bytes bytes
Illuminate\Database\Query\Builder::leftJoin 4 30 µs 31 µs 6,392 bytes bytes 30 µs 31 µs 6,392 bytes bytes
Symfony\Component\HttpFoundation\RedirectResponse::__construct 1 29 µs 30 µs 2,720 bytes bytes 39 µs 40 µs 12,768 bytes bytes
load::settings/customers_php 1 26 µs 27 µs 5,048 bytes bytes 26 µs 27 µs 5,048 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAllPa… 4 26 µs 24 µs -79,624 bytes bytes 8,702 µs 6,858 µs 330,568 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::getRedirectLin… 1 25 µs 23 µs 792 bytes bytes 4,783 µs 3,291 µs 32,024 bytes bytes
App\Casts\Payments\PaymentStatementMetadataCast::set 7 24 µs 22 µs 1,328 bytes bytes 44 µs 44 µs 3,464 bytes bytes
load::settings/finance_php 1 20 µs 21 µs 7,064 bytes bytes 20 µs 21 µs 7,064 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 4 17 µs 19 µs 856 bytes bytes 65 µs 67 µs 11,680 bytes bytes
load::settings/security_php 1 15 µs 15 µs 6,896 bytes bytes 15 µs 15 µs 6,896 bytes bytes
load::settings/splynx_integration_php 1 14 µs 14 µs 6,232 bytes bytes 14 µs 14 µs 6,232 bytes bytes
load::settings/status_page_notifications_php 1 14 µs 15 µs 5,872 bytes bytes 14 µs 15 µs 5,872 bytes bytes
load::settings/voucher_limit_notifications_php 1 14 µs 14 µs 6,056 bytes bytes 14 µs 14 µs 6,056 bytes bytes
App\Services\RedirectFlow\Adverts\Adverts::isWeNeedToShowAd 1 14 µs 12 µs -136 bytes bytes 16,637 µs 9,106 µs 40,592 bytes bytes
App\Http\Middleware\RedirectFlowProfiling::handle 1 14 µs 13 µs 616 bytes bytes 53,647 µs 28,383 µs 164,720 bytes bytes
load::settings/finance_notifications_php 1 13 µs 14 µs 4,488 bytes bytes 13 µs 14 µs 4,488 bytes bytes
App\Dto\BaseData::toJson 7 13 µs 13 µs -1,424 bytes bytes 20 µs 22 µs 2,136 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::getDeletedAtColumn 13 12 µs 13 µs 1,296 bytes bytes 12 µs 13 µs 1,296 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::initializeSoftDeletes… 6 12 µs 14 µs 696 bytes bytes 23 µs 26 µs 1,328 bytes bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detectTargetG… 1 12 µs 10 µs -19,568 bytes bytes 15,585 µs 8,752 µs 34,344 bytes bytes
Illuminate\Routing\UrlGenerator::to 2 12 µs 10 µs 2,120 bytes bytes 20 µs 21 µs 4,584 bytes bytes
redirect 1 12 µs 13 µs 696 bytes bytes 68 µs 69 µs 18,528 bytes bytes
Symfony\Component\Translation\MessageCatalogue::{closure:Carbon\L… 19 12 µs 23 µs 632 bytes bytes 12 µs 23 µs 632 bytes bytes
load::settings/portal_php 1 11 µs 11 µs 3,824 bytes bytes 11 µs 11 µs 3,824 bytes bytes
App\Repositories\Tenant\TargetGroups\TargetGroupRepository::getAv… 4 10 µs µs 728 bytes bytes 8,712 µs 6,866 µs 331,296 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::resolveL… 1 10 µs 11 µs 704 bytes bytes 10 µs 11 µs 704 bytes bytes
App\Services\Observability\Tracing::span 1 10 µs µs -1,120 bytes bytes 4,758 µs 3,267 µs 30,600 bytes bytes
Symfony\Component\HttpFoundation\RedirectResponse::setTargetUrl 1 µs µs 9,416 bytes bytes µs µs 9,416 bytes bytes
App\Services\PaymentGateways\GlobalGateway::createEncrypter 1 µs µs 792 bytes bytes µs µs 1,424 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::loadStatementI… 1 µs µs 664 bytes bytes µs µs 664 bytes bytes
App\Dto\BaseData::toArray 7 µs µs 3,560 bytes bytes µs µs 3,560 bytes bytes
Illuminate\Routing\UrlGenerator::isValidUrl 2 µs µs 584 bytes bytes µs µs 584 bytes bytes
Xhgui\Profiler\Profiler::disable 1 µs µs 776 bytes bytes 10 µs 10 µs 1,944 bytes bytes
Illuminate\Database\Eloquent\Model::setClassCastableAttribute 1 µs µs 832 bytes bytes 15 µs 16 µs 4,192 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::getQualifiedDeletedAt… 1 µs µs 752 bytes bytes µs µs 1,416 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlan… 1 µs µs 728 bytes bytes 3,551 µs 481 µ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::normalizeCastClassResponse 7 µs µs 3,928 bytes bytes µs µs 3,928 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
Illuminate\Routing\Redirector::createRedirect 1 µs µs 968 bytes bytes 50 µs 50 µs 16,584 bytes bytes
App\Models\Tenant\Log\StatusedLog::start 1 µs µs 760 bytes bytes 172 µs 172 µs 6,928 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\Services\PaymentGateways\PaymentGatewaysProvider::{closure:Ap… 7 µs µs 792 bytes bytes µs µs 792 bytes bytes
Illuminate\Database\Eloquent\Model::setEnumCastableAttribute 1 µs µs 1,104 bytes bytes µs µs 1,736 bytes bytes
Illuminate\Routing\Redirector::{closure:Illuminate\Routing\Redire… 1 µs µs 856 bytes bytes µs µs 2,848 bytes bytes
App\Services\Observability\Tracing::traceId 1 µs µs 1,240 bytes bytes µs µs 1,240 bytes bytes
Spatie\Activitylog\PendingActivityLog::__call 1 µs µs 664 bytes bytes µs µs 1,264 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::parseArrayVal… 1 µs µs 912 bytes bytes µs µs 912 bytes bytes
App\Dto\BaseData::fromArray 1 µs µs 680 bytes bytes µs µs 680 bytes bytes
App\Models\Tenant\Log\StatusedLog::success 1 µs µs bytes bytes 619 µs 755 µs 3,264 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::__construct 1 µs µs 696 bytes bytes 10 µs 10 µs 1,360 bytes bytes
App\Models\Tenant\Finance\Payment\PaymentStatement::initializeSof… 1 µs µs 728 bytes bytes µs µs 1,392 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 56 µs 56 µ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
App\Facades\Trace::getFacadeAccessor 3 µs µs 1,928 bytes bytes µs µs 1,928 bytes bytes
Spatie\Activitylog\PendingActivityLog::forwardCallTo 1 µs µs 600 bytes bytes µs µs 600 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 2,136 bytes bytes µs µs 2,136 bytes bytes
App\Models\Tenant\Finance\Payment\PaymentStatement::getDeletedAtC… 2 µs µs 664 bytes bytes µs µs 664 bytes bytes
App\Services\RedirectFlow\Redirect::redirect 1 µs µs 696 bytes bytes 70 µs 71 µs 19,224 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::isCustomerLab… 3 µs µs 664 bytes bytes µs µs 664 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 696 bytes bytes µs µs 696 bytes bytes
Illuminate\Database\Eloquent\Model::getStorableEnumValue 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
App\Models\Tenant\Log\StatusedLog::activity 1 µs µs 600 bytes bytes µs µs 600 bytes bytes
App\Services\PaymentGateways\GlobalGateway::getEncryptionKey 1 µs µs 632 bytes bytes µs µs 632 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