Profile data for GET http://gigielectrical.powerlynx.app/portal/api/redirect-flow/order-plan/20?hash=64515476422d6626ddbb7286bd429822&gateway=mpesa

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

main()
176,816 µs
App\Models\Tenant\Finance\Payment\PaymentGateway::getGlobalGateway
76,850 µs
App\Services\PaymentGateways\GlobalGateway::config
53,515 µs
App\Models\Tenant\Location::getEnabledGlobalGateways
28,101 µs
App\Services\PaymentGateways\PaymentGatewaysProvider::getEnabledForTenants
16,427 µs
App\Models\Tenant\Location::__construct
13,186 µs

Memory Hogs

load::settings/localization_php
94,640 bytes
load::settings/splynx_integration_php
65,424 bytes
load::Tenant/Location_php
47,576 bytes
load::Payment/LocationPaymentGateway_php
32,640 bytes
load::Payment/PaymentGatewayGlobalConfig_php
27,552 bytes
load::src/ProfilingData_php
18,816 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
main() 1 176,816 µs 42,817 µs -13,744 bytes 7,288 bytes 393,677 µs 76,918 µs 354,344 bytes 352,000 bytes
App\Models\Tenant\Finance\Payment\PaymentGateway::getGlobalGatewa… 3 76,850 µs 10,132 µs -26,440 bytes 552 bytes 77,275 µs 10,565 µs 9,312 bytes 26,488 bytes
App\Services\PaymentGateways\GlobalGateway::config 6 53,515 µs 3,743 µs 13,928 bytes 1,576 bytes 53,715 µs 3,947 µs 41,480 bytes 28,168 bytes
App\Models\Tenant\Location::getEnabledGlobalGateways 1 28,101 µs 6,676 µs -6,016 bytes bytes 165,819 µs 20,883 µs 101,992 bytes 107,544 bytes
App\Services\PaymentGateways\PaymentGatewaysProvider::getEnabledF… 1 16,427 µs 1,493 µs 1,904 bytes bytes 70,317 µs 5,594 µs 45,336 bytes 28,168 bytes
App\Models\Tenant\Location::__construct 3 13,186 µs 1,410 µs 5,096 bytes bytes 19,317 µs 2,120 µs 20,184 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::generate… 1 7,230 µs 1,784 µs -27,328 bytes 128 bytes 7,463 µs 2,018 µs 5,152 bytes 34,504 bytes
App\Models\Tenant\Location::__construct@1 1 5,816 µs 398 µs 1,832 bytes bytes 5,816 µs 398 µs 1,832 bytes bytes
App\Services\PaymentGateways\PaymentGatewaysProvider::loadCustomG… 1 2,966 µs 1,129 µs 5,320 bytes 1,216 bytes 66,951 µs 8,156 µs 16,056 bytes 27,704 bytes
App\Services\RedirectFlow\Payments\StatementCreator::createPaymen… 1 2,601 µs 861 µs 3,624 bytes bytes 2,818 µs 1,084 µs 17,616 bytes 6,208 bytes
App\Models\Tenant\Finance\Payment\PaymentGateway::loadTitle 2 1,943 µs 578 µs 2,512 bytes bytes 63,953 µs 6,995 µs 9,992 bytes 26,488 bytes
App\Services\RedirectFlow\Payments\OrderProcessor::getPaymentGate… 1 1,684 µs 615 µs 2,392 bytes bytes 1,742 µs 676 µs 5,728 bytes bytes
App\Services\RedirectFlow\TrialSessions\TrialSessionsMaker::isTri… 1 1,606 µs 313 µs 1,056 bytes bytes 1,606 µs 313 µs 1,056 bytes bytes
load::settings/splynx_integration_php 11 706 µs 721 µs 65,424 bytes 35,456 bytes 706 µs 721 µs 65,424 bytes 35,456 bytes
load::settings/localization_php 3 550 µs 554 µs 94,640 bytes 98,832 bytes 550 µs 554 µs 94,640 bytes 98,832 bytes
load::Tenant/Location_php 1 431 µs 432 µs 47,576 bytes 72,344 bytes 431 µs 432 µs 47,576 bytes 72,344 bytes
load::Payments/OrderProcessor_php 1 293 µs 331 µs 16,832 bytes 5,232 bytes 293 µs 331 µs 16,832 bytes 5,232 bytes
load::src/ProfilingData_php 1 267 µs 268 µs 18,816 bytes bytes 267 µs 268 µs 18,816 bytes bytes
load::Payment/PaymentGatewayGlobalConfig_php 1 200 µs 204 µs 27,552 bytes 26,592 bytes 200 µs 204 µs 27,552 bytes 26,592 bytes
load::Payments/GatewayLinkGenerator_php 1 189 µs 191 µs 15,912 bytes 24,736 bytes 189 µs 191 µs 15,912 bytes 24,736 bytes
load::Payment/LocationPaymentGateway_php 1 185 µs 187 µs 32,640 bytes 46,760 bytes 185 µs 187 µs 32,640 bytes 46,760 bytes
App\Models\Tenant\Location::boot 1 180 µs 175 µs 680 bytes bytes 6,093 µs 672 µs 13,824 bytes bytes
App\Services\PaymentGateways\PaymentGatewaysProvider::App\Service… 8 179 µs 160 µs 2,648 bytes bytes 53,894 µs 4,107 µs 44,128 bytes 28,168 bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::getPayLi… 1 149 µs 144 µs -1,216 bytes bytes 7,670 µs 2,224 µs 6,208 bytes 34,504 bytes
App\Services\RedirectFlow\Payments\OrderProcessor::getRedirectLin… 1 133 µs 122 µs -8,504 bytes bytes 28,042 µs 8,676 µs 53,128 bytes 71,968 bytes
App\Models\Tenant\Location::App\Models\Tenant\{closure} 2 127 µs 129 µs 1,464 bytes bytes 127 µs 129 µs 1,464 bytes bytes
load::Payments/StatementCreator_php 1 120 µs 122 µs 6,616 bytes 6,520 bytes 120 µs 122 µs 6,616 bytes 6,520 bytes
load::settings/captive_portal_php 1 107 µs 108 µs 7,416 bytes bytes 107 µs 108 µs 7,416 bytes bytes
load::settings/finance_php 1 101 µs 78 µs 7,008 bytes 4,080 bytes 101 µs 78 µs 7,008 bytes 4,080 bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::__constr… 1 99 µs 100 µs 6,456 bytes bytes 15,368 µs 4,254 µs 8,920 bytes bytes
load::Payments/PaymentStatementMetadataCast_php 1 91 µs 92 µs 5,440 bytes 6,208 bytes 91 µs 92 µs 5,440 bytes 6,208 bytes
load::settings/customers_php 1 79 µs 80 µs 4,992 bytes bytes 79 µs 80 µs 4,992 bytes bytes
App\Models\Tenant\Finance\Payment\PaymentGateway::getSaveKey 1 53 µs 54 µs 696 bytes bytes 53 µs 54 µs 696 bytes bytes
url 1 53 µs 55 µs 1,608 bytes bytes 53 µs 55 µs 1,608 bytes bytes
App\Casts\Payments\PaymentStatementMetadataCast::set 8 52 µs 50 µs 1,328 bytes bytes 100 µs 101 µs 3,416 bytes bytes
App\Services\PaymentGateways\GlobalGateway::needAskAdditionalInfo… 1 42 µs 44 µs 680 bytes bytes 42 µs 44 µs 680 bytes bytes
App\Models\Tenant\Location::Spatie\Activitylog\Traits\{closure} 4 40 µs 41 µs 7,448 bytes bytes 42 µs 44 µs 8,984 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::Illuminate\Database\Q… 1 38 µs 39 µs 712 bytes bytes 38 µs 39 µs 712 bytes bytes
load::settings/portal_php 1 36 µs 37 µs 3,160 bytes 4,856 bytes 36 µs 37 µs 3,160 bytes 4,856 bytes
App\Dto\BaseData::toJson 8 35 µs 33 µs -1,848 bytes bytes 48 µs 51 µs 2,088 bytes bytes
Xhgui\Profiler\Profiler::disable 1 34 µs 28 µs -4,224 bytes bytes 308 µs 307 µs 15,760 bytes bytes
App\Models\Tenant\Finance\Payment\PaymentGateway::getDisplayName 2 32 µs 32 µs 744 bytes bytes 32 µs 32 µs 744 bytes bytes
App\Services\PaymentGateways\PaymentGatewaysProvider::gatewayIsAv… 1 30 µs 28 µs -13,696 bytes bytes 165,853 µs 20,917 µs 88,992 bytes 107,544 bytes
load::settings/finance_notifications_php 1 29 µs 30 µs 4,448 bytes 2,024 bytes 29 µs 30 µs 4,448 bytes 2,024 bytes
load::settings/status_page_notifications_php 1 29 µs 30 µs 5,816 bytes 4,464 bytes 29 µs 30 µs 5,816 bytes 4,464 bytes
App\Models\Tenant\Location::eventsToBeRecorded 1 27 µs 28 µs 912 bytes bytes 27 µs 28 µs 912 bytes bytes
App\Models\Tenant\Location::initializeSoftDeletes 3 26 µs 19 µs 664 bytes bytes 38 µs 38 µs 1,264 bytes bytes
load::settings/voucher_limit_notifications_php 1 23 µs 23 µs 6,000 bytes 3,136 bytes 23 µs 23 µs 6,000 bytes 3,136 bytes
App\Models\Tenant\Location::bootLogsActivity 1 22 µs 20 µs 400 bytes bytes 91 µs 92 µs 10,296 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::loadStatementI… 1 22 µs 23 µs 664 bytes bytes 22 µs 23 µs 664 bytes bytes
App\Models\Tenant\Location::getDeletedAtColumn 7 14 µs 21 µs 1,232 bytes bytes 14 µs 21 µs 1,232 bytes bytes
Illuminate\Database\Eloquent\Model::setClassCastableAttribute 1 14 µs 14 µs 832 bytes bytes 34 µs 35 µs 4,176 bytes bytes
App\Dto\BaseData::toArray 8 13 µs 18 µs 3,936 bytes bytes 13 µs 18 µs 3,936 bytes bytes
Illuminate\Database\Eloquent\Model::normalizeCastClassResponse 8 12 µs 16 µs 4,304 bytes bytes 12 µs 16 µs 4,304 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileOrders 1 µs µs 488 bytes bytes 52 µs 53 µs 2,112 bytes bytes
Illuminate\Routing\UrlGenerator::Stancl\Tenancy\Bootstrappers\{cl… 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
App\Models\Tenant\Location::bootSoftDeletes 1 µs µs 1,016 bytes bytes µs µs 1,016 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::__construct 1 µs µs 632 bytes bytes 28 µs 27 µs 1,296 bytes bytes
Illuminate\Database\Query\Builder::orderBy 1 µs µs 1,224 bytes bytes µs µs 1,224 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileOrdersToArray 1 µs µs 912 bytes bytes 44 µs 45 µs 1,624 bytes bytes
Xhgui\Profiler\Profiler::registerShutdownHandler 1 µs µs 1,200 bytes bytes µs µs 1,200 bytes bytes
App\Models\Tenant\Location::getQualifiedDeletedAtColumn 1 µs µs 680 bytes bytes µs µs 1,312 bytes bytes
App\Services\PaymentGateways\GlobalGateway::getHiddenGateways 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::getGatew… 1 µs µs 664 bytes bytes µs µs 664 bytes bytes
App\Services\PaymentGateways\GlobalGateway::getTitle 2 µs µs 632 bytes bytes µs µs 632 bytes bytes
Xhgui\Profiler\ProfilingData::__construct 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
Xhgui\Profiler\Profilers\XHProf::disable 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
App\Models\Tenant\Location::restored 1 µs µs 1,536 bytes bytes µs µs 1,536 bytes bytes
App\Services\RedirectFlow\Payments\StatementCreator::__construct 1 µs µs 632 bytes bytes µs µs 632 bytes bytes