Profile data for GET http://gigielectrical.powerlynx.app/portal/api/redirect-flow/order-plan/20?hash=ac615e2aae98812a900e981c79ae800f&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

App\Services\PaymentGateways\PaymentGatewaysProvider::gatewayIsAvailableForLocation
17,306 µs
main()
16,440 µs
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderPlan
13,256 µs
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::__construct
3,883 µs
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::generateDataForEncryption
1,668 µs
App\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlanIsAvailable
1,178 µs

Memory Hogs

load::TrialSessions/TrialSessionsMaker_php
98,304 bytes
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,912 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
App\Services\PaymentGateways\PaymentGatewaysProvider::gatewayIsAv… 1 17,306 µs 7,000 µs -21,952 bytes bytes 17,626 µs 7,330 µs 13,216 bytes bytes
main() 1 16,440 µs 6,640 µs -23,008 bytes bytes 60,141 µs 31,173 µs 311,552 bytes bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderP… 1 13,256 µs 7,088 µs -7,312 bytes bytes 42,906 µs 23,731 µs 141,688 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::__constr… 1 3,883 µs 3,338 µs -8,656 bytes bytes 3,959 µs 3,416 µs 3,256 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::generate… 1 1,668 µs 825 µs -21,696 bytes bytes 1,801 µs 992 µs 10,784 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlan… 1 1,178 µs 613 µs 2,312 bytes bytes 1,178 µs 613 µs 2,312 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::getPaymentGate… 1 955 µs 905 µs 2,912 bytes bytes 955 µs 905 µs 2,912 bytes bytes
Illuminate\Database\MySqlConnection::Illuminate\Database\{closure… 1 831 µs 86 µs 2,488 bytes bytes 831 µs 86 µs 2,488 bytes bytes
App\Services\RedirectFlow\TrialSessions\TrialSessionsMaker::isTri… 1 776 µs 683 µs 1,120 bytes bytes 776 µs 683 µs 1,120 bytes bytes
load::settings/splynx_integration_php 11 520 µs 534 µs 65,448 bytes bytes 520 µs 534 µs 65,448 bytes bytes
load::Payments/GatewayLinkGenerator_php 1 365 µs 367 µs 15,912 bytes bytes 365 µs 367 µs 15,912 bytes bytes
Illuminate\Database\MySqlConnection::insert 1 342 µs 125 µs -1,000 bytes bytes 1,173 µs 211 µs 1,488 bytes bytes
load::settings/localization_php 3 328 µs 364 µs 95,240 bytes bytes 328 µs 364 µs 95,240 bytes bytes
App\Services\RedirectFlow\Payments\StatementCreator::createPaymen… 1 320 µs 313 µs 1,968 bytes bytes 1,988 µs 1,025 µs 33,064 bytes bytes
load::Payments/OrderProcessor_php 1 193 µs 212 µs 16,912 bytes bytes 193 µs 212 µs 16,912 bytes bytes
load::TrialSessions/TrialSessionsMaker_php 1 185 µs 186 µs 98,304 bytes bytes 185 µs 186 µs 98,304 bytes bytes
load::src/ProfilingData_php 1 171 µs 173 µs 18,784 bytes bytes 171 µs 173 µs 18,784 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::getRedirectLin… 1 153 µs 142 µs -8,424 bytes bytes 9,501 µs 7,128 µs 65,808 bytes bytes
load::OrderProcess/UserInfo_php 1 118 µs 119 µs 2,496 bytes bytes 118 µs 119 µs 2,496 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::getPayLi… 1 106 µs 103 µs -1,216 bytes bytes 1,976 µs 1,166 µs 11,840 bytes bytes
load::Payments/PaymentStatementMetadataCast_php 1 105 µs 107 µs 5,440 bytes bytes 105 µs 107 µs 5,440 bytes bytes
load::Payments/StatementCreator_php 1 103 µs 105 µs 6,616 bytes bytes 103 µs 105 µs 6,616 bytes bytes
url 1 61 µs 62 µs 1,608 bytes bytes 61 µs 62 µs 1,608 bytes bytes
load::settings/captive_portal_php 1 50 µs 50 µs 7,416 bytes bytes 50 µs 50 µs 7,416 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileInsert 1 49 µs 49 µs 2,072 bytes bytes 55 µs 56 µs 2,792 bytes bytes
load::settings/customers_php 1 48 µs 48 µs 4,992 bytes bytes 48 µs 48 µs 4,992 bytes bytes
App\Casts\Payments\PaymentStatementMetadataCast::set 8 42 µs 45 µs 2,592 bytes bytes 84 µs 90 µs 4,680 bytes bytes
load::settings/finance_php 1 38 µs 38 µs 7,008 bytes bytes 38 µs 38 µs 7,008 bytes bytes
App\Services\PaymentGateways\GlobalGateway::needAskAdditionalInfo… 1 38 µs 240 µs 792 bytes bytes 38 µs 240 µs 792 bytes bytes
Illuminate\Database\Eloquent\Model::insertAndSetId 1 32 µs 32 µs 1,680 bytes bytes 1,314 µs 351 µs 8,480 bytes bytes
Illuminate\Database\Eloquent\Model::updateTimestamps 1 31 µs 30 µs 72 bytes bytes 117 µs 118 µs 5,352 bytes bytes
App\Models\Tenant\Finance\Payment\PaymentGateway::getSaveKey 1 31 µs 31 µs 696 bytes bytes 31 µs 31 µs 696 bytes bytes
Xhgui\Profiler\Profiler::disable 1 31 µs 28 µs -4,224 bytes bytes 212 µs 212 µs 15,728 bytes bytes
App\Dto\BaseData::toJson 8 30 µs 29 µs -1,848 bytes bytes 42 µs 45 µs 2,088 bytes bytes
Illuminate\Database\Eloquent\Model::setUpdatedAt 1 29 µs 30 µs 896 bytes bytes 29 µs 30 µs 896 bytes bytes
Illuminate\Database\Eloquent\Model::performInsert 1 29 µs 24 µs 368 bytes bytes 1,477 µs 513 µs 17,144 bytes bytes
load::settings/status_page_notifications_php 1 26 µs 26 µs 5,816 bytes bytes 26 µs 26 µs 5,816 bytes bytes
load::settings/finance_notifications_php 1 25 µs 25 µs 4,448 bytes bytes 25 µs 25 µs 4,448 bytes bytes
load::settings/voucher_limit_notifications_php 1 25 µs 26 µs 6,000 bytes bytes 25 µs 26 µs 6,000 bytes bytes
Illuminate\Database\Eloquent\Model::freshTimestamp 1 24 µs 24 µs 1,344 bytes bytes 24 µs 24 µs 1,344 bytes bytes
Illuminate\Database\Query\Builder::insertGetId 1 24 µs 24 µs 944 bytes bytes 1,282 µs 319 µs 6,800 bytes bytes
load::settings/portal_php 1 19 µs 21 µs 3,160 bytes bytes 19 µs 21 µs 3,160 bytes bytes
Illuminate\Database\Eloquent\Model::setClassCastableAttribute 1 16 µs 15 µs 832 bytes bytes 52 µs 52 µs 5,456 bytes bytes
Illuminate\Database\Eloquent\Model::setCreatedAt 1 16 µs 15 µs 896 bytes bytes 16 µs 15 µs 896 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::loadStatementI… 1 15 µs 110 µs 664 bytes bytes 15 µs 110 µs 664 bytes bytes
Illuminate\Database\Query\Processors\MySqlProcessor::processInser… 1 15 µs 14 µs 760 bytes bytes 1,190 µs 227 µs 2,880 bytes bytes
App\Dto\BaseData::toArray 8 12 µs 16 µs 3,936 bytes bytes 12 µs 16 µs 3,936 bytes bytes
Illuminate\Database\Eloquent\Model::normalizeCastClassResponse 8 11 µs 14 µs 6,848 bytes bytes 11 µs 14 µs 6,848 bytes bytes
Illuminate\Database\Eloquent\Model::getAttributesForInsert 1 µs 10 µs 640 bytes bytes 16 µs 18 µs 2,344 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::getGatew… 1 µs µs 664 bytes bytes µs µs 664 bytes bytes
App\Services\PaymentGateways\PaymentGatewaysProvider::App\Service… 2 µs µs 696 bytes bytes µs µs 696 bytes bytes
Illuminate\Database\Query\Grammars\MySqlGrammar::compileInsert 1 µs µs -512 bytes bytes 62 µs 63 µs 2,280 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::Illuminate\Database\Q… 1 µs µs 720 bytes bytes µs µs 720 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileInsertGetId 1 µs µs 696 bytes bytes 68 µs 68 µs 2,976 bytes bytes
Xhgui\Profiler\ProfilingData::__construct 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
Illuminate\Routing\UrlGenerator::Stancl\Tenancy\Bootstrappers\{cl… 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
App\Dto\BaseData::fromArray 1 µs µs 680 bytes bytes µs µs 680 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::__construct 1 µs µs 696 bytes bytes 19 µs 114 µs 1,360 bytes bytes
Xhgui\Profiler\Profilers\XHProf::disable 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\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\Database\Eloquent\Model::usesUniqueIds 1 µs µs 600 bytes bytes µs µs 600 bytes bytes