Profile data for GET http://gigielectrical.powerlynx.app/portal/api/redirect-flow/order-plan/6?hash=d4215ecc04d0790a83dbef1edd620509&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
18,084 µs
main()
14,362 µs
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderPlan
14,159 µs
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::__construct
4,473 µs
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::generateDataForEncryption
1,735 µs
App\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlanIsAvailable
1,312 µs

Memory Hogs

load::settings/localization_php
95,240 bytes
load::settings/splynx_integration_php
65,448 bytes
load::Payments/OrderProcessor_php
16,832 bytes
load::Payments/GatewayLinkGenerator_php
15,912 bytes
load::settings/captive_portal_php
7,416 bytes
load::settings/finance_php
7,008 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 18,084 µs 7,491 µs -21,952 bytes bytes 18,383 µs 7,796 µs 13,856 bytes bytes
main() 1 14,362 µs 7,013 µs -6,808 bytes bytes 59,908 µs 32,867 µs 211,616 bytes bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderP… 1 14,159 µs 7,551 µs -6,144 bytes bytes 45,060 µs 25,358 µs 132,008 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::__constr… 1 4,473 µs 2,587 µs -8,656 bytes bytes 4,589 µs 2,704 µs 3,256 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::generate… 1 1,735 µs 2,199 µs -27,360 bytes bytes 2,058 µs 2,524 µs 5,120 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlan… 1 1,312 µs 665 µs 2,064 bytes bytes 1,312 µs 665 µs 2,064 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::getPaymentGate… 1 982 µs 594 µs 2,912 bytes bytes 982 µs 594 µs 2,912 bytes bytes
App\Services\RedirectFlow\TrialSessions\TrialSessionsMaker::isTri… 1 760 µs 398 µs 1,120 bytes bytes 760 µs 398 µs 1,120 bytes bytes
Illuminate\Database\MySqlConnection::Illuminate\Database\{closure… 1 622 µs 231 µs 2,488 bytes bytes 622 µs 231 µs 2,488 bytes bytes
load::settings/splynx_integration_php 11 568 µs 578 µs 65,448 bytes bytes 568 µs 578 µs 65,448 bytes bytes
load::settings/localization_php 3 516 µs 518 µs 95,240 bytes bytes 516 µs 518 µs 95,240 bytes bytes
load::Payments/GatewayLinkGenerator_php 1 319 µs 551 µs 15,912 bytes bytes 319 µs 551 µs 15,912 bytes bytes
App\Services\RedirectFlow\Payments\StatementCreator::createPaymen… 1 271 µs 403 µs 3,472 bytes bytes 1,567 µs 1,359 µs 28,856 bytes bytes
load::Payments/OrderProcessor_php 1 227 µs 517 µs 16,832 bytes bytes 227 µs 517 µs 16,832 bytes bytes
Illuminate\Database\MySqlConnection::insert 1 227 µs 100 µs -1,000 bytes bytes 849 µs 331 µs 1,488 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::getRedirectLin… 1 138 µs 128 µs -7,144 bytes bytes 9,886 µs 8,093 µs 57,216 bytes bytes
load::settings/captive_portal_php 1 106 µs 107 µs 7,416 bytes bytes 106 µs 107 µs 7,416 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::getPayLi… 1 104 µs 101 µs -1,216 bytes bytes 2,196 µs 2,661 µs 6,176 bytes bytes
load::Payments/StatementCreator_php 1 93 µs 94 µs 6,616 bytes bytes 93 µs 94 µs 6,616 bytes bytes
load::settings/finance_php 1 85 µs 86 µs 7,008 bytes bytes 85 µs 86 µs 7,008 bytes bytes
Illuminate\Database\Eloquent\Model::performInsert 1 82 µs 23 µs 368 bytes bytes 1,179 µs 836 µs 17,352 bytes bytes
load::Payments/PaymentStatementMetadataCast_php 1 70 µs 71 µs 5,440 bytes bytes 70 µs 71 µs 5,440 bytes bytes
load::settings/customers_php 1 59 µs 60 µs 4,992 bytes bytes 59 µs 60 µs 4,992 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileInsert 1 38 µs 38 µs 2,072 bytes bytes 42 µs 43 µs 2,792 bytes bytes
App\Models\Tenant\Finance\Payment\PaymentGateway::getSaveKey 1 38 µs 39 µs 696 bytes bytes 38 µs 39 µs 696 bytes bytes
App\Dto\BaseData::toJson 8 33 µs 33 µs -1,848 bytes bytes 45 µs 50 µs 2,088 bytes bytes
App\Services\PaymentGateways\GlobalGateway::needAskAdditionalInfo… 1 31 µs 31 µs 728 bytes bytes 31 µs 31 µs 728 bytes bytes
Illuminate\Database\Eloquent\Model::setUpdatedAt 1 31 µs 33 µs 1,216 bytes bytes 31 µs 33 µs 1,216 bytes bytes
Illuminate\Database\Eloquent\Model::updateTimestamps 1 31 µs 202 µs 760 bytes bytes 124 µs 301 µs 6,256 bytes bytes
url 1 30 µs 32 µs 1,608 bytes bytes 30 µs 32 µs 1,608 bytes bytes
Illuminate\Database\Eloquent\Model::freshTimestamp 1 29 µs 32 µs 2,624 bytes bytes 29 µs 32 µs 2,624 bytes bytes
Illuminate\Database\Eloquent\Model::insertAndSetId 1 26 µs 85 µs 1,680 bytes bytes 957 µs 495 µs 8,480 bytes bytes
App\Casts\Payments\PaymentStatementMetadataCast::set 8 25 µs 24 µs 1,960 bytes bytes 70 µs 74 µs 4,048 bytes bytes
load::settings/finance_notifications_php 1 20 µs 21 µs 4,448 bytes bytes 20 µs 21 µs 4,448 bytes bytes
load::settings/status_page_notifications_php 1 19 µs 20 µs 5,816 bytes bytes 19 µs 20 µs 5,816 bytes bytes
load::settings/voucher_limit_notifications_php 1 19 µs 19 µs 6,000 bytes bytes 19 µs 19 µs 6,000 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::loadStatementI… 1 18 µs 18 µs 664 bytes bytes 18 µs 18 µs 664 bytes bytes
Illuminate\Database\Eloquent\Model::setCreatedAt 1 17 µs 18 µs 896 bytes bytes 17 µs 18 µs 896 bytes bytes
Illuminate\Database\Query\Builder::insertGetId 1 17 µs 15 µs 944 bytes bytes 931 µs 410 µs 6,800 bytes bytes
App\Services\RedirectFlow\Adverts\Adverts::checkCompletion 1 16 µs 17 µs 632 bytes bytes 16 µs 17 µs 632 bytes bytes
load::settings/portal_php 1 13 µs 14 µs 3,160 bytes bytes 13 µs 14 µs 3,160 bytes bytes
App\Dto\BaseData::toArray 8 12 µs 17 µs 3,936 bytes bytes 12 µs 17 µs 3,936 bytes bytes
Illuminate\Database\Query\Processors\MySqlProcessor::processInser… 1 12 µs 10 µs 760 bytes bytes 863 µs 343 µs 2,880 bytes bytes
Xhgui\Profiler\Profiler::disable 1 12 µs 11 µs 6,408 bytes bytes 18 µs 19 µs 7,576 bytes bytes
App\Services\PaymentGateways\PaymentGatewaysProvider::App\Service… 2 µs µs 696 bytes bytes µs µs 696 bytes bytes
Illuminate\Database\Eloquent\Model::getAttributesForInsert 1 µs µs 952 bytes bytes 15 µs 15 µs 1,648 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
Xhgui\Profiler\Profiler::registerShutdownHandler 1 µs µs 1,200 bytes bytes µs µs 1,200 bytes bytes
Illuminate\Database\Query\Grammars\MySqlGrammar::compileInsert 1 µs µs -512 bytes bytes 47 µs 47 µs 2,280 bytes bytes
Xhgui\Profiler\ProfilingData::__construct 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::__construct 1 µs µs 696 bytes bytes 22 µs 22 µs 1,360 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 51 µs 52 µs 2,976 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::getGatew… 1 µs µs 664 bytes bytes µs µs 664 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
Xhgui\Profiler\Profilers\XHProf::disable 1 µs µs 584 bytes bytes µs µs 584 bytes bytes