Profile data for GET http://one.tsumanchuk.project-h.io/portal/api/redirect-flow/order-plan/1?hash=def892a8e6999efcd8fe08e4ded7f735&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
24,312 µs
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderPlan
6,597 µs
Illuminate\Database\MySqlConnection::{closure:Illuminate\Database\MySqlConnection::insert():42}
4,515 µs
App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter
3,752 µs
main()
3,444 µs
Laravel\Boost\Middleware\InjectBoost::handle
1,778 µ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
load::settings/localization_php
95,296 bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::__construct
94,264 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 24,312 µs 9,098 µs 27,440 bytes bytes 24,320 µs 9,108 µs 28,232 bytes bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderP… 1 6,597 µs 1,765 µs 16,768 bytes bytes 54,108 µs 25,456 µs 277,760 bytes bytes
Illuminate\Database\MySqlConnection::{closure:Illuminate\Database… 1 4,515 µs 151 µs 2,672 bytes bytes 4,515 µs 151 µs 2,672 bytes bytes
App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter 4 3,752 µs 2,832 µs 34,448 bytes bytes 5,280 µs 4,478 µs 223,176 bytes bytes
main() 1 3,444 µs 2,540 µs -33,032 bytes bytes 60,314 µs 29,707 µs 379,704 bytes bytes
Laravel\Boost\Middleware\InjectBoost::handle 1 1,778 µs 1,042 µs 36,448 bytes bytes 56,854 µs 27,149 µs 408,944 bytes bytes
App\Repositories\Tenant\Plans\PlansRepository::{closure:App\Repos… 500 1,528 µs 1,646 µs 188,728 bytes bytes 1,528 µs 1,646 µs 188,728 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAddit… 4 1,327 µs 899 µs 101,888 bytes bytes 1,327 µs 899 µs 101,888 bytes bytes
App\Services\TargetGroups\TargetGroupsMatcher::match 1 1,267 µs 666 µs -416,944 bytes bytes 10,849 µs 8,043 µs 55,752 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::__constr… 1 1,117 µs 781 µs 2,528 bytes bytes 1,126 µs 790 µs 3,952 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::__construct 4 1,017 µs 659 µs 94,264 bytes bytes 9,277 µs 7,068 µs 429,128 bytes bytes
App\Repositories\Tenant\Labels\LabelsRepository::getCustomerLabel… 4 839 µs 546 µs 25,584 bytes bytes 839 µs 546 µs 25,584 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseP… 4 781 µs 459 µs 61,832 bytes bytes 6,900 µs 5,483 µs 310,592 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::getTemporar… 1 667 µs 370 µs 2,376 bytes bytes 667 µs 370 µs 2,376 bytes bytes
App\Models\Tenant\Log\StatusedLog::finish 1 645 µs 692 µs 3,264 bytes bytes 645 µs 692 µs 3,264 bytes bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detect 1 549 µs 216 µs -25,696 bytes bytes 11,469 µs 8,330 µs 42,216 bytes bytes
App\Services\RedirectFlow\Payments\StatementCreator::createPaymen… 1 441 µs 572 µs 23,704 bytes bytes 6,092 µs 1,804 µs 85,728 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::getRedirectLin… 1 428 µs 353 µs -11,792 bytes bytes 9,064 µs 3,911 µs 118,640 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::generate… 1 424 µs 272 µs -27,440 bytes bytes 493 µs 342 µs 4,352 bytes bytes
load::Payment/PaymentStatementType_php 1 354 µs 65 µs 3,296 bytes bytes 354 µs 65 µs 3,296 bytes bytes
load::Payments/OrderProcessor_php 1 345 µs 439 µs 17,040 bytes bytes 345 µs 439 µs 17,040 bytes bytes
App\Services\RedirectFlow\TrialSessions\TrialSessionsMaker::isTri… 1 344 µs 342 µs 6,752 bytes bytes 344 µs 342 µs 6,752 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::getPaymentGate… 1 315 µs 251 µs 2,920 bytes bytes 315 µs 251 µs 2,920 bytes bytes
load::TrialSessions/TrialSessionsMaker_php 1 314 µs 160 µs 16,672 bytes bytes 314 µs 160 µs 16,672 bytes bytes
load::Payments/GatewayLinkGenerator_php 1 302 µs 184 µs 22,504 bytes bytes 302 µs 184 µs 22,504 bytes bytes
load::Payment/PaymentStatement_php 1 289 µs 385 µs 26,512 bytes bytes 289 µs 385 µs 26,512 bytes bytes
load::OrderProcess/UserInfo_php 1 247 µs 92 µs 2,504 bytes bytes 247 µs 92 µs 2,504 bytes bytes
load::Payments/PaymentStatementMetadataCast_php 1 235 µs 278 µs 5,464 bytes bytes 235 µs 278 µs 5,464 bytes bytes
load::Payments/StatementCreator_php 1 225 µs 104 µs 7,360 bytes bytes 225 µs 104 µs 7,360 bytes bytes
load::settings/localization_php 3 206 µs 209 µs 95,296 bytes bytes 206 µs 209 µs 95,296 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::unlock 1 160 µs 61 µs 616 bytes bytes 185 µs 86 µs 5,360 bytes bytes
App\Models\Tenant\Log\StatusedLog::__construct 1 140 µs 141 µs 10,536 bytes bytes 145 µs 146 µs 12,440 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::build 4 135 µs 130 µs 11,440 bytes bytes 270 µs 271 µs 39,128 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::tryToAcquireLock 1 105 µs 38 µs 696 bytes bytes 123 µs 56 µs 1,376 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::handle 1 87 µs 85 µs -15,616 bytes bytes 54,817 µs 25,843 µs 285,552 bytes bytes
Illuminate\Database\Eloquent\Model::performInsert 1 84 µs 112 µs 1,232 bytes bytes 4,721 µs 444 µs 15,672 bytes bytes
App\Services\RedirectFlow\RedirectFlowLogger::startLog 1 76 µs 77 µs 2,952 bytes bytes 225 µs 226 µs 16,752 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::getPayLi… 1 54 µs 53 µs -1,216 bytes bytes 575 µs 424 µs 7,336 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 4 51 µs 56 µs 5,848 bytes bytes 110 µs 115 µs 21,296 bytes bytes
App\Services\PaymentGateways\GlobalGateway::needAskAdditionalInfo… 1 51 µs 51 µs 728 bytes bytes 51 µs 51 µs 728 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::getKey 2 43 µs 43 µs 5,424 bytes bytes 43 µs 43 µs 5,424 bytes bytes
load::settings/captive_portal_php 1 39 µs 40 µs 8,184 bytes bytes 39 µs 40 µs 8,184 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::buildConditio… 4 37 µs 34 µs 4,344 bytes bytes 45 µs 47 µs 10,856 bytes bytes
Symfony\Component\HttpFoundation\RedirectResponse::__construct 1 35 µs 34 µs 2,720 bytes bytes 47 µs 47 µs 12,768 bytes bytes
Illuminate\Database\Query\Builder::leftJoin 4 25 µs 26 µs 6,392 bytes bytes 25 µs 26 µs 6,392 bytes bytes
load::settings/customers_php 1 24 µs 24 µs 5,048 bytes bytes 24 µs 24 µs 5,048 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAllPa… 4 24 µs 20 µs -79,624 bytes bytes 8,251 µs 6,402 µs 332,856 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileInsert 1 23 µs 24 µs 1,344 bytes bytes 25 µs 26 µs 2,096 bytes bytes
load::settings/finance_php 1 20 µs 21 µs 7,064 bytes bytes 20 µs 21 µs 7,064 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::initializeSoftDeletes… 6 19 µs 14 µs 696 bytes bytes 25 µs 26 µs 1,328 bytes bytes
Illuminate\Database\MySqlConnection::insert 1 19 µs 18 µs -1,152 bytes bytes 4,534 µs 169 µs 1,520 bytes bytes
App\Dto\BaseData::toJson 7 18 µs 18 µs -1,424 bytes bytes 23 µs 27 µs 2,136 bytes bytes
load::settings/security_php 1 16 µs 16 µs 7,216 bytes bytes 16 µs 16 µs 7,216 bytes bytes
Illuminate\Database\Eloquent\Model::setCreatedAt 1 16 µs 16 µs 1,256 bytes bytes 16 µs 16 µs 1,256 bytes bytes
redirect 1 16 µs 15 µs 696 bytes bytes 82 µs 82 µs 18,528 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
Illuminate\Database\Eloquent\Model::insertAndSetId 1 15 µs 15 µs 1,360 bytes bytes 4,602 µs 238 µs 8,384 bytes bytes
App\Http\Middleware\RedirectFlowProfiling::handle 1 15 µs 14 µs 616 bytes bytes 54,832 µs 25,857 µs 286,168 bytes bytes
load::settings/finance_notifications_php 1 14 µs 14 µs 4,488 bytes bytes 14 µs 14 µs 4,488 bytes bytes
load::settings/splynx_integration_php 1 14 µs 15 µs 6,232 bytes bytes 14 µs 15 µs 6,232 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\Payments\OrderProcessor::loadStatementI… 1 13 µs 13 µs 664 bytes bytes 13 µs 13 µs 664 bytes bytes
Illuminate\Database\Query\Builder::insertGetId 1 13 µs 12 µs 1,104 bytes bytes 4,587 µs 223 µs 7,024 bytes bytes
load::settings/portal_php 1 12 µs 12 µs 3,824 bytes bytes 12 µs 12 µs 3,824 bytes bytes
App\Services\RedirectFlow\Adverts\Adverts::isWeNeedToShowAd 1 12 µs 11 µs -136 bytes bytes 11,481 µs 8,341 µs 42,080 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 4 11 µs µs 856 bytes bytes 56 µs 55 µs 11,712 bytes bytes
App\Casts\Payments\PaymentStatementMetadataCast::set 7 11 µs 69 µs 2,592 bytes bytes 34 µs 96 µs 4,728 bytes bytes
Illuminate\Routing\UrlGenerator::to 2 11 µs 10 µs 2,120 bytes bytes 21 µs 23 µs 4,600 bytes bytes
Symfony\Component\HttpFoundation\RedirectResponse::setTargetUrl 1 11 µs 11 µs 9,416 bytes bytes 11 µs 11 µs 9,416 bytes bytes
Illuminate\Database\Eloquent\Model::setClassCastableAttribute 1 10 µs µs 832 bytes bytes 21 µs 21 µs 4,192 bytes bytes
App\Repositories\Tenant\TargetGroups\TargetGroupRepository::getAv… 4 µs µs 2,008 bytes bytes 8,260 µs 6,409 µs 334,864 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlan… 1 µs µs 728 bytes bytes 675 µs 376 µs 3,104 bytes bytes
App\Services\PaymentGateways\PaymentGatewaysProvider::{closure:Ap… 6 µs 10 µs 792 bytes bytes µs 10 µs 792 bytes bytes
Illuminate\Database\Query\Processors\MySqlProcessor::processInser… 1 µs µs 760 bytes bytes 4,543 µs 179 µs 2,912 bytes bytes
App\Services\PaymentGateways\GlobalGateway::createEncrypter 1 µs µs 792 bytes bytes µs µs 1,424 bytes bytes
Illuminate\Routing\UrlGenerator::isValidUrl 2 µs 10 µs 584 bytes bytes µs 10 µs 584 bytes bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detectTargetG… 1 µs µs -19,600 bytes bytes 10,856 µs 8,049 µs 36,152 bytes bytes
App\Services\RedirectFlow\LocationDetector::detect 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
Xhgui\Profiler\Profiler::disable 1 µs µs 776 bytes bytes 11 µs 11 µs 1,944 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::getDeletedAtColumn 13 µs 13 µs 1,296 bytes bytes µs 13 µs 1,296 bytes bytes
url 1 µs µs -496 bytes bytes 24 µs 25 µs 3,536 bytes bytes
Illuminate\Routing\Redirector::{closure:Illuminate\Routing\Redire… 1 µs µs 856 bytes bytes µs µs 2,848 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::getQualifiedDeletedAt… 1 µs µs 752 bytes bytes µs µs 1,416 bytes bytes
App\Models\Tenant\Log\StatusedLog::success 1 µs µs bytes bytes 650 µs 695 µs 3,264 bytes bytes
App\Models\Tenant\Finance\Payment\PaymentStatement::getDeletedAtC… 4 µ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\Database\Eloquent\Model::normalizeCastClassResponse 7 µs µs 5,192 bytes bytes µs µs 5,192 bytes bytes
Illuminate\Database\Eloquent\Model::getAttributesForInsert 1 µs µs 304 bytes bytes µs µs 2,024 bytes bytes
App\Models\Tenant\Log\StatusedLog::start 1 µs µs 760 bytes bytes 149 µs 148 µs 13,200 bytes bytes
Illuminate\Database\Query\Grammars\MySqlGrammar::whereLike 1 µs µs 1,064 bytes bytes µs µs 1,064 bytes bytes
App\Models\Tenant\Finance\Payment\PaymentStatement::initializeSof… 2 µs µs 728 bytes bytes µs 11 µs 1,392 bytes bytes
Illuminate\Database\Eloquent\Model::setEnumCastableAttribute 1 µs µs 1,104 bytes bytes µs µs 1,736 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::getGatew… 1 µs µs 664 bytes bytes µs µs 664 bytes bytes
Illuminate\Routing\Redirector::createRedirect 1 µs µs 968 bytes bytes 59 µs 60 µs 16,584 bytes bytes
Illuminate\Routing\Redirector::to 1 µs µs 680 bytes bytes 66 µs 67 µs 17,832 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\Services\TargetGroups\TargetGroupsQueryBuilder::buildOrWhereG… 4 µs µs 3,736 bytes bytes µs µs 3,736 bytes bytes
App\Dto\BaseData::fromArray 1 µs µs 680 bytes bytes µs µs 680 bytes bytes
Illuminate\Database\Query\Grammars\MySqlGrammar::compileInsert 1 µs µs 216 bytes bytes 28 µs 28 µs 2,312 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileInsertGetId 1 µs µs 696 bytes bytes 31 µs 32 µs 3,008 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
Spatie\Activitylog\PendingActivityLog::__call 1 µs µs 1,304 bytes bytes µs µs 1,904 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
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::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
Illuminate\Database\Query\Grammars\Grammar::{closure:Illuminate\D… 1 µs µs 752 bytes bytes µs µs 752 bytes bytes
Illuminate\Routing\UrlGenerator::extractQueryString 1 µs µs 1,896 bytes bytes µs µs 1,896 bytes bytes
App\Services\RedirectFlow\Redirect::redirect 1 µs µs 696 bytes bytes 84 µs 84 µs 19,224 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
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
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\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\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
Illuminate\Http\RedirectResponse::setSession 1 µs µs 664 bytes bytes µs µs 664 bytes bytes