Profile data for GET http://one.tsumanchuk.project-h.io/portal/api/redirect-flow/order-plan/1?hash=4fbab3fa67488a08b28dd43ee20e42df&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
12,758 µs
App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter
6,563 µs
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseParameters
5,570 µs
App\Repositories\Tenant\Labels\LabelsRepository::getCustomerLabelResources
3,865 µs
main()
2,889 µs
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderPlan
2,205 µ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,888 bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::__construct
95,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
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,758 µs 8,455 µs 27,440 bytes bytes 12,763 µs 8,462 µs 28,232 bytes bytes
App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter 4 6,563 µs 2,928 µs 34,448 bytes bytes 8,106 µs 4,614 µs 223,176 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseP… 4 5,570 µs 512 µs 61,832 bytes bytes 17,541 µs 5,807 µs 310,592 bytes bytes
App\Repositories\Tenant\Labels\LabelsRepository::getCustomerLabel… 4 3,865 µs 681 µs 25,584 bytes bytes 3,865 µs 681 µs 25,584 bytes bytes
main() 1 2,889 µs 2,154 µs -29,392 bytes bytes 48,431 µs 26,448 µs 276,112 bytes bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderP… 1 2,205 µs 1,355 µs 22,856 bytes bytes 43,341 µs 22,927 µs 187,296 bytes bytes
Illuminate\Database\MySqlConnection::{closure:Illuminate\Database… 1 1,740 µs 528 µs 2,672 bytes bytes 1,740 µs 528 µs 2,672 bytes bytes
Laravel\Boost\Middleware\InjectBoost::handle 1 1,643 µs 959 µs 36,448 bytes bytes 45,529 µs 24,280 µs 301,712 bytes bytes
App\Repositories\Tenant\Plans\PlansRepository::{closure:App\Repos… 500 1,543 µs 1,686 µs 188,728 bytes bytes 1,543 µs 1,686 µs 188,728 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAddit… 4 1,468 µs 1,011 µs 101,888 bytes bytes 1,468 µs 1,011 µs 101,888 bytes bytes
App\Services\TargetGroups\TargetGroupsMatcher::match 1 1,351 µs 741 µs -416,944 bytes bytes 21,891 µs 8,725 µs 55,752 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::__construct 4 1,157 µs 794 µs 95,544 bytes bytes 20,203 µs 7,646 µs 429,128 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::__constr… 1 1,082 µs 736 µs 2,528 bytes bytes 1,090 µs 743 µs 3,952 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::getTemporar… 1 557 µs 266 µs 2,376 bytes bytes 557 µs 266 µs 2,376 bytes bytes
App\Models\Tenant\Log\StatusedLog::finish 1 541 µs 565 µs 3,264 bytes bytes 541 µs 565 µs 3,264 bytes bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detect 1 507 µs 187 µs -25,696 bytes bytes 22,463 µs 8,978 µs 42,216 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::generate… 1 369 µs 232 µs -27,440 bytes bytes 445 µs 308 µs 4,352 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::getPaymentGate… 1 271 µs 373 µs 2,920 bytes bytes 271 µs 373 µs 2,920 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::getRedirectLin… 1 243 µs 200 µs 32 bytes bytes 4,272 µs 2,705 µs 47,264 bytes bytes
App\Services\RedirectFlow\Payments\StatementCreator::createPaymen… 1 217 µs 286 µs 2,016 bytes bytes 2,152 µs 1,010 µs 32,392 bytes bytes
load::settings/localization_php 3 188 µs 190 µs 95,296 bytes bytes 188 µs 190 µs 95,296 bytes bytes
App\Services\RedirectFlow\TrialSessions\TrialSessionsMaker::isTri… 1 167 µs 86 µs 1,120 bytes bytes 167 µs 86 µs 1,120 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::build 4 152 µs 151 µs 11,440 bytes bytes 302 µs 302 µs 39,128 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::tryToAcquireLock 1 136 µs 36 µs 696 bytes bytes 154 µs 54 µs 1,376 bytes bytes
App\Models\Tenant\Log\StatusedLog::__construct 1 133 µs 133 µs 11,176 bytes bytes 138 µs 139 µs 12,440 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::unlock 1 97 µs 41 µs 616 bytes bytes 115 µs 59 µs 1,264 bytes bytes
App\Services\RedirectFlow\RedirectFlowLogger::startLog 1 74 µs 72 µs 2,952 bytes bytes 214 µs 214 µs 16,752 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 4 59 µs 56 µs 5,848 bytes bytes 121 µs 121 µs 21,296 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::handle 1 58 µs 57 µs -11,616 bytes bytes 43,668 µs 23,097 µs 178,320 bytes bytes
Illuminate\Database\Eloquent\Model::performInsert 1 46 µs 43 µs 680 bytes bytes 1,896 µs 684 µs 14,760 bytes bytes
App\Services\PaymentGateways\GlobalGateway::needAskAdditionalInfo… 1 44 µs 44 µs 728 bytes bytes 44 µs 44 µs 728 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::getPayLi… 1 38 µs 36 µs -1,216 bytes bytes 515 µs 377 µs 7,336 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::buildConditio… 4 37 µs 38 µs 4,344 bytes bytes 49 µs 52 µs 10,856 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::getKey 2 36 µs 36 µs 1,328 bytes bytes 36 µs 36 µs 1,328 bytes bytes
load::settings/captive_portal_php 1 33 µs 35 µs 8,184 bytes bytes 33 µs 35 µs 8,184 bytes bytes
Illuminate\Database\Query\Builder::leftJoin 4 29 µs 30 µs 6,392 bytes bytes 29 µs 30 µs 6,392 bytes bytes
Symfony\Component\HttpFoundation\RedirectResponse::__construct 1 27 µs 28 µs 2,720 bytes bytes 37 µs 38 µs 12,768 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAllPa… 4 25 µs 24 µs -79,624 bytes bytes 19,034 µs 6,842 µs 332,856 bytes bytes
load::settings/customers_php 1 24 µs 25 µs 5,048 bytes bytes 24 µs 25 µs 5,048 bytes bytes
Illuminate\Database\Eloquent\Model::setCreatedAt 1 23 µs 24 µs 896 bytes bytes 23 µs 24 µs 896 bytes bytes
redirect 1 21 µs 21 µs 696 bytes bytes 74 µs 74 µs 18,528 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileInsert 1 20 µs 20 µs 1,344 bytes bytes 22 µs 22 µs 2,096 bytes bytes
load::settings/finance_php 1 18 µs 19 µs 7,064 bytes bytes 18 µs 19 µs 7,064 bytes bytes
Illuminate\Database\MySqlConnection::insert 1 17 µs 17 µs -1,152 bytes bytes 1,757 µs 545 µs 1,520 bytes bytes
load::settings/finance_notifications_php 1 15 µs 15 µs 4,488 bytes bytes 15 µs 15 µs 4,488 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::initializeSoftDeletes… 6 14 µs 12 µs 696 bytes bytes 24 µs 25 µs 1,328 bytes bytes
load::settings/security_php 1 13 µs 13 µs 7,216 bytes bytes 13 µs 13 µs 7,216 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
Illuminate\Database\Eloquent\Model::insertAndSetId 1 13 µs 14 µs 1,360 bytes bytes 1,812 µs 600 µs 8,384 bytes bytes
url 1 13 µs 13 µs -496 bytes bytes 28 µs 28 µs 3,536 bytes bytes
load::settings/splynx_integration_php 1 12 µs 13 µs 6,232 bytes bytes 12 µs 13 µs 6,232 bytes bytes
load::settings/voucher_limit_notifications_php 1 12 µs 12 µs 6,056 bytes bytes 12 µs 12 µs 6,056 bytes bytes
App\Repositories\Tenant\TargetGroups\TargetGroupRepository::getAv… 4 12 µs 10 µs 728 bytes bytes 19,046 µs 6,852 µs 333,584 bytes bytes
App\Services\RedirectFlow\Adverts\Adverts::isWeNeedToShowAd 1 12 µs 11 µs -136 bytes bytes 22,475 µs 8,989 µs 42,080 bytes bytes
App\Dto\BaseData::toJson 7 12 µs 13 µs -1,424 bytes bytes 19 µs 21 µs 2,136 bytes bytes
load::settings/portal_php 1 11 µs 11 µs 3,824 bytes bytes 11 µs 11 µs 3,824 bytes bytes
App\Casts\Payments\PaymentStatementMetadataCast::set 7 11 µs 10 µs 2,592 bytes bytes 30 µs 31 µs 4,728 bytes bytes
App\Http\Middleware\RedirectFlowProfiling::handle 1 11 µs 11 µs 616 bytes bytes 43,679 µs 23,108 µs 178,936 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::getDeletedAtColumn 13 10 µs 14 µs 1,296 bytes bytes 10 µs 14 µs 1,296 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 4 µs µs 856 bytes bytes 58 µs 60 µs 11,712 bytes bytes
Illuminate\Database\Query\Builder::insertGetId 1 µs µs 1,104 bytes bytes 1,799 µs 586 µs 7,024 bytes bytes
Illuminate\Routing\UrlGenerator::to 2 µs µs 2,120 bytes bytes 17 µs 18 µs 4,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\LocationDetector::detect 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Dto\BaseData::toArray 7 µs µs 3,560 bytes bytes µs µs 3,560 bytes bytes
Illuminate\Database\Eloquent\Model::setClassCastableAttribute 1 µs µs 832 bytes bytes 15 µs 15 µs 4,192 bytes bytes
Illuminate\Routing\UrlGenerator::isValidUrl 2 µs µs 584 bytes bytes µs µs 584 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,600 bytes bytes 21,897 µs 8,731 µs 36,152 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::loadStatementI… 1 µs µs 664 bytes bytes µs µs 664 bytes bytes
Xhgui\Profiler\Profiler::disable 1 µs µs 776 bytes bytes µs µs 1,944 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlan… 1 µs µs 728 bytes bytes 562 µs 269 µs 3,104 bytes bytes
App\Services\PaymentGateways\PaymentGatewaysProvider::{closure:Ap… 6 µs µs 792 bytes bytes µs µs 792 bytes bytes
Illuminate\Database\Eloquent\Model::getAttributesForInsert 1 µs µs 304 bytes bytes µs µs 2,024 bytes bytes
Illuminate\Database\Query\Processors\MySqlProcessor::processInser… 1 µs µs 760 bytes bytes 1,763 µs 550 µs 2,912 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::fromArray 1 µs µs 680 bytes bytes µs µs 680 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::getGatew… 1 µs µs 664 bytes bytes µs µs 664 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 47 µs 47 µs 16,584 bytes bytes
Illuminate\Routing\Redirector::to 1 µs µs 680 bytes bytes 53 µs 53 µs 17,832 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 944 bytes bytes µs µs 944 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 544 µs 568 µs 3,264 bytes bytes
App\Models\Tenant\Finance\Payment\PaymentStatement::initializeSof… 1 µs µs 728 bytes bytes µs µs 7,024 bytes bytes
Illuminate\Database\Eloquent\Model::normalizeCastClassResponse 7 µs µs 5,192 bytes bytes µs µs 5,192 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileInsertGetId 1 µs µs 696 bytes bytes 27 µs 27 µs 3,008 bytes bytes
Laravel\Boost\Middleware\InjectBoost::shouldInject 1 µs µs 600 bytes bytes µs µs 600 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 140 µs 141 µs 13,200 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
Illuminate\Database\Query\Builder::whereRaw 1 µs µs 2,136 bytes bytes µs µs 2,136 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::__construct 1 µs 141 µs 696 bytes bytes µs 147 µs 1,360 bytes bytes
App\Models\Tenant\Finance\Payment\PaymentStatement::getDeletedAtC… 2 µs µs 6,296 bytes bytes µs µs 6,296 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\Database\Query\Grammars\Grammar::{closure:Illuminate\D… 1 µs µs 752 bytes bytes µs µs 752 bytes bytes
Illuminate\Database\Query\Grammars\MySqlGrammar::compileInsert 1 µs µs 216 bytes bytes 24 µs 25 µs 2,312 bytes bytes
App\Services\RedirectFlow\Redirect::redirect 1 µs µs 696 bytes bytes 76 µs 76 µs 19,224 bytes bytes
Xhgui\Profiler\ProfilingData::__construct 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
App\Services\RedirectFlow\Payments\StatementCreator::__construct 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Database\MySqlConnection::getLastInsertId 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Routing\UrlGenerator::extractQueryString 1 µs µs 1,896 bytes bytes µs µs 1,896 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\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\Models\Tenant\Log\StatusedLog::activity 1 µs µs 600 bytes bytes µs µs 600 bytes bytes
Illuminate\Database\Eloquent\Model::usesUniqueIds 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\Routing\UrlGenerator::getRequest 1 µs µs 664 bytes bytes µs µs 664 bytes bytes