Profile data for GET http://nexxgigi.powerlynx.app/portal/api/redirect-flow/order-plan/7?hash=54a866eb6588543a658ae8ea366e7544&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()
195,134 µs
App\Services\PaymentGateways\PaymentGatewaysProvider::gatewayIsAvailableForLocation
131,613 µs
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderPlan
104,458 µs
App\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlanIsAvailable
21,165 µs
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::__construct
20,670 µs
load::TrialSessions/TrialSessionsMaker_php
12,306 µs

Memory Hogs

load::settings/localization_php
95,240 bytes
load::settings/splynx_integration_php
65,448 bytes
load::src/ProfilingData_php
18,784 bytes
load::Payments/OrderProcessor_php
16,872 bytes
load::TrialSessions/TrialSessionsMaker_php
16,584 bytes
load::Payments/GatewayLinkGenerator_php
15,912 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 195,134 µs 37,579 µs -24,656 bytes bytes 517,935 µs 110,667 µs 204,920 bytes bytes
App\Services\PaymentGateways\PaymentGatewaysProvider::gatewayIsAv… 1 131,613 µs 20,467 µs -21,952 bytes bytes 132,160 µs 21,044 µs 13,216 bytes bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderP… 1 104,458 µs 20,270 µs -7,256 bytes bytes 309,236 µs 59,530 µs 118,424 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlan… 1 21,165 µs 1,255 µs 2,064 bytes bytes 21,165 µs 1,255 µs 2,064 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::__constr… 1 20,670 µs 4,382 µs -8,656 bytes bytes 20,876 µs 4,568 µs 3,256 bytes bytes
load::TrialSessions/TrialSessionsMaker_php 1 12,306 µs 12,286 µs 16,584 bytes bytes 12,306 µs 12,286 µs 16,584 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::generate… 1 8,447 µs 1,514 µs -27,360 bytes bytes 9,183 µs 1,859 µs 5,120 bytes bytes
App\Services\RedirectFlow\TrialSessions\TrialSessionsMaker::isTri… 1 7,648 µs 1,894 µs 1,120 bytes bytes 7,648 µs 1,894 µs 1,120 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::getPaymentGate… 1 5,354 µs 2,528 µs 2,912 bytes bytes 5,354 µs 2,528 µs 2,912 bytes bytes
App\Services\RedirectFlow\Payments\StatementCreator::createPaymen… 1 4,317 µs 1,764 µs 7,536 bytes bytes 4,566 µs 2,013 µs 15,760 bytes bytes
load::settings/localization_php 3 2,799 µs 2,409 µs 95,240 bytes bytes 2,799 µs 2,409 µs 95,240 bytes bytes
load::settings/splynx_integration_php 11 938 µs 935 µs 65,448 bytes bytes 938 µs 935 µs 65,448 bytes bytes
load::src/ProfilingData_php 1 570 µs 575 µs 18,784 bytes bytes 570 µs 575 µs 18,784 bytes bytes
load::Payments/OrderProcessor_php 1 315 µs 675 µs 16,872 bytes bytes 315 µs 675 µs 16,872 bytes bytes
load::Payments/GatewayLinkGenerator_php 1 276 µs 279 µs 15,912 bytes bytes 276 µs 279 µs 15,912 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::getRedirectLin… 1 267 µs 218 µs -8,424 bytes bytes 41,072 µs 11,962 µs 42,840 bytes bytes
load::Payments/StatementCreator_php 1 216 µs 220 µs 6,616 bytes bytes 216 µs 220 µs 6,616 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::getPayLi… 1 201 µs 160 µs -1,216 bytes bytes 9,514 µs 2,132 µs 6,176 bytes bytes
load::settings/captive_portal_php 1 199 µs 202 µs 7,416 bytes bytes 199 µs 202 µs 7,416 bytes bytes
url 1 124 µs 105 µs 1,608 bytes bytes 124 µs 105 µs 1,608 bytes bytes
load::Payments/PaymentStatementMetadataCast_php 1 121 µs 122 µs 5,440 bytes bytes 121 µs 122 µs 5,440 bytes bytes
load::OrderProcess/UserInfo_php 1 112 µs 114 µs 2,496 bytes bytes 112 µs 114 µs 2,496 bytes bytes
load::settings/customers_php 1 89 µs 90 µs 4,992 bytes bytes 89 µs 90 µs 4,992 bytes bytes
App\Models\Tenant\Finance\Payment\PaymentGateway::getSaveKey 1 87 µs 88 µs 696 bytes bytes 87 µs 88 µs 696 bytes bytes
App\Dto\BaseData::toJson 8 62 µs 47 µs -1,848 bytes bytes 81 µs 87 µs 2,088 bytes bytes
Xhgui\Profiler\Profiler::disable 1 57 µs 48 µs -4,224 bytes bytes 638 µs 636 µs 15,728 bytes bytes
App\Services\PaymentGateways\GlobalGateway::needAskAdditionalInfo… 1 52 µs 54 µs 728 bytes bytes 52 µs 54 µs 728 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::loadStatementI… 1 51 µs 53 µs 664 bytes bytes 51 µs 53 µs 664 bytes bytes
App\Casts\Payments\PaymentStatementMetadataCast::set 8 47 µs 40 µs 696 bytes bytes 128 µs 127 µs 2,784 bytes bytes
load::settings/finance_php 1 41 µs 42 µs 7,008 bytes bytes 41 µs 42 µs 7,008 bytes bytes
load::settings/voucher_limit_notifications_php 1 35 µs 36 µs 6,000 bytes bytes 35 µs 36 µs 6,000 bytes bytes
load::settings/status_page_notifications_php 1 34 µs 36 µs 5,816 bytes bytes 34 µs 36 µs 5,816 bytes bytes
load::settings/finance_notifications_php 1 25 µs 26 µs 4,448 bytes bytes 25 µs 26 µs 4,448 bytes bytes
load::settings/portal_php 1 23 µs 25 µs 3,160 bytes bytes 23 µs 25 µs 3,160 bytes bytes
App\Dto\BaseData::toArray 8 19 µs 40 µs 3,936 bytes bytes 19 µs 40 µs 3,936 bytes bytes
App\Services\PaymentGateways\PaymentGatewaysProvider::App\Service… 2 13 µs 31 µs 696 bytes bytes 13 µs 31 µs 696 bytes bytes
Illuminate\Routing\UrlGenerator::Stancl\Tenancy\Bootstrappers\{cl… 1 12 µs 12 µs 584 bytes bytes 12 µs 12 µs 584 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::__construct 1 µs µs 696 bytes bytes 59 µs 60 µs 1,360 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::getGatew… 1 µs µs 664 bytes bytes µs µs 664 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,200 bytes bytes µs µs 1,200 bytes bytes
App\Dto\BaseData::fromArray 1 µs µs 680 bytes bytes µs µs 680 bytes bytes
Xhgui\Profiler\Profilers\XHProf::disable 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
App\Services\RedirectFlow\Payments\StatementCreator::__construct 1 µs µs 632 bytes bytes µs µs 632 bytes bytes