Profile data for GET http://nexxgigi.powerlynx.app/portal/api/redirect-flow/order-plan/8?hash=bc6988de249808f3999bbfe2f4f0efef&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\Http\Controllers\Tenant\CaptivePortal\PlansController::orderPlan
16,684 µs
main()
15,123 µs
App\Services\PaymentGateways\PaymentGatewaysProvider::gatewayIsAvailableForLocation
12,927 µs
App\Models\Tenant\Finance\Payment\PaymentGateway::getGlobalGateway
12,711 µs
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::generateDataForEncryption
2,041 µs
App\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlanIsAvailable
1,451 µs

Memory Hogs

load::settings/localization_php
95,240 bytes
load::settings/splynx_integration_php
65,448 bytes
load::Payments/GatewayLinkGenerator_php
21,544 bytes
load::src/ProfilingData_php
18,784 bytes
load::Payments/OrderProcessor_php
16,912 bytes
load::TrialSessions/TrialSessionsMaker_php
16,584 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\Http\Controllers\Tenant\CaptivePortal\PlansController::orderP… 1 16,684 µs 7,812 µs -6,744 bytes bytes 54,476 µs 23,834 µs 148,808 bytes bytes
main() 1 15,123 µs 6,299 µs -26,440 bytes bytes 70,452 µs 30,993 µs 233,520 bytes bytes
App\Services\PaymentGateways\PaymentGatewaysProvider::gatewayIsAv… 1 12,927 µs 4,473 µs -5,640 bytes bytes 22,732 µs 8,091 µs 16,800 bytes bytes
App\Models\Tenant\Finance\Payment\PaymentGateway::getGlobalGatewa… 3 12,711 µs 4,297 µs -26,440 bytes bytes 12,997 µs 4,590 µs 8,032 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::generate… 1 2,041 µs 724 µs -27,328 bytes bytes 2,228 µs 914 µs 5,152 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlan… 1 1,451 µs 570 µs 2,064 bytes bytes 1,451 µs 570 µs 2,064 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::loadStatementI… 1 1,403 µs 917 µs 3,880 bytes bytes 1,403 µs 917 µs 3,880 bytes bytes
App\Models\Tenant\Finance\Payment\PaymentGateway::loadTitle 2 1,127 µs 522 µs 2,888 bytes bytes 9,670 µs 3,477 µs 9,088 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::getPaymentGate… 1 1,107 µs 512 µs 2,912 bytes bytes 1,107 µs 512 µs 2,912 bytes bytes
Illuminate\Database\MySqlConnection::Illuminate\Database\{closure… 1 945 µs 84 µs 2,488 bytes bytes 945 µs 84 µs 2,488 bytes bytes
App\Services\RedirectFlow\TrialSessions\TrialSessionsMaker::isTri… 1 939 µs 601 µs 1,120 bytes bytes 939 µs 601 µs 1,120 bytes bytes
load::settings/splynx_integration_php 11 497 µs 511 µs 65,448 bytes bytes 497 µs 511 µs 65,448 bytes bytes
load::settings/localization_php 3 355 µs 358 µs 95,240 bytes bytes 355 µs 358 µs 95,240 bytes bytes
App\Services\RedirectFlow\Payments\StatementCreator::createPaymen… 1 344 µs 338 µs 1,176 bytes bytes 2,092 µs 1,080 µs 30,992 bytes bytes
Illuminate\Database\MySqlConnection::insert 1 297 µs 147 µs -1,000 bytes bytes 1,242 µs 231 µs 1,488 bytes bytes
load::src/ProfilingData_php 1 281 µs 283 µs 18,784 bytes bytes 281 µs 283 µs 18,784 bytes bytes
load::Payments/OrderProcessor_php 1 263 µs 582 µs 16,912 bytes bytes 263 µs 582 µs 16,912 bytes bytes
load::Payments/GatewayLinkGenerator_php 1 216 µs 218 µs 21,544 bytes bytes 216 µs 218 µs 21,544 bytes bytes
load::TrialSessions/TrialSessionsMaker_php 1 191 µs 191 µs 16,584 bytes bytes 191 µs 191 µs 16,584 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::getRedirectLin… 1 163 µs 150 µs -8,360 bytes bytes 10,672 µs 4,926 µs 65,808 bytes bytes
load::Payments/StatementCreator_php 1 148 µs 151 µs 7,896 bytes bytes 148 µs 151 µs 7,896 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::getPayLi… 1 146 µs 141 µs -1,216 bytes bytes 2,406 µs 1,089 µs 6,208 bytes bytes
load::Payments/PaymentStatementMetadataCast_php 1 92 µs 93 µs 5,440 bytes bytes 92 µs 93 µs 5,440 bytes bytes
load::OrderProcess/UserInfo_php 1 87 µs 88 µs 2,496 bytes bytes 87 µs 88 µs 2,496 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::exitStatementI… 1 64 µs 66 µs 696 bytes bytes 64 µs 66 µs 696 bytes bytes
load::settings/captive_portal_php 1 51 µs 51 µs 7,416 bytes bytes 51 µs 51 µs 7,416 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileInsert 1 51 µs 51 µs 2,072 bytes bytes 56 µs 58 µs 2,792 bytes bytes
App\Models\Tenant\Finance\Payment\PaymentGateway::getSaveKey 1 50 µs 51 µs 696 bytes bytes 50 µs 51 µs 696 bytes bytes
App\Services\PaymentGateways\GlobalGateway::needAskAdditionalInfo… 1 44 µs 45 µs 792 bytes bytes 44 µs 45 µs 792 bytes bytes
Illuminate\Database\Eloquent\Model::freshTimestamp 1 38 µs 39 µs 1,344 bytes bytes 38 µs 39 µs 1,344 bytes bytes
Illuminate\Database\Eloquent\Model::updateTimestamps 1 38 µs 33 µs 72 bytes bytes 147 µs 147 µs 5,352 bytes bytes
load::settings/customers_php 1 37 µs 37 µs 4,992 bytes bytes 37 µs 37 µs 4,992 bytes bytes
load::settings/finance_php 1 37 µs 39 µs 7,008 bytes bytes 37 µs 39 µs 7,008 bytes bytes
Illuminate\Database\Eloquent\Model::setUpdatedAt 1 35 µs 36 µs 896 bytes bytes 35 µs 36 µs 896 bytes bytes
App\Dto\BaseData::toJson 8 34 µs 35 µs -1,848 bytes bytes 48 µs 53 µs 2,088 bytes bytes
App\Casts\Payments\PaymentStatementMetadataCast::set 8 31 µs 28 µs 2,592 bytes bytes 79 µs 81 µs 4,680 bytes bytes
Illuminate\Database\Eloquent\Model::performInsert 1 30 µs 26 µs 368 bytes bytes 1,573 µs 561 µs 17,144 bytes bytes
Xhgui\Profiler\Profiler::disable 1 29 µs 24 µs -4,224 bytes bytes 317 µs 316 µs 15,728 bytes bytes
Illuminate\Database\Eloquent\Model::insertAndSetId 1 28 µs 28 µs 1,680 bytes bytes 1,379 µs 367 µs 8,480 bytes bytes
url 1 28 µs 28 µs 1,608 bytes bytes 28 µs 28 µs 1,608 bytes bytes
App\Models\Tenant\Finance\Payment\PaymentGateway::getDisplayName 2 24 µs 25 µs 744 bytes bytes 24 µs 25 µs 744 bytes bytes
Illuminate\Database\Query\Builder::insertGetId 1 24 µs 23 µs 944 bytes bytes 1,351 µs 339 µs 6,800 bytes bytes
load::settings/finance_notifications_php 1 22 µs 23 µs 4,448 bytes bytes 22 µs 23 µs 4,448 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
Illuminate\Database\Eloquent\Model::setClassCastableAttribute 1 19 µs 19 µs 832 bytes bytes 43 µs 44 µs 4,176 bytes bytes
load::settings/status_page_notifications_php 1 18 µs 19 µs 5,816 bytes bytes 18 µs 19 µs 5,816 bytes bytes
load::settings/portal_php 1 17 µs 18 µs 3,160 bytes bytes 17 µs 18 µs 3,160 bytes bytes
Illuminate\Database\Eloquent\Model::setCreatedAt 1 17 µs 18 µs 896 bytes bytes 17 µs 18 µs 896 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::__constr… 1 17 µs 17 µs 824 bytes bytes 4,474 µs 1,657 µs 3,288 bytes bytes
Illuminate\Database\Query\Processors\MySqlProcessor::processInser… 1 16 µs 13 µs 760 bytes bytes 1,259 µs 247 µs 2,880 bytes bytes
App\Dto\BaseData::toArray 8 14 µs 18 µs 3,936 bytes bytes 14 µs 18 µs 3,936 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::__construct 1 11 µs µs 696 bytes bytes 1,414 µs 925 µs 4,576 bytes bytes
Illuminate\Database\Eloquent\Model::normalizeCastClassResponse 8 11 µs 19 µs 5,568 bytes bytes 11 µs 19 µs 5,568 bytes bytes
Illuminate\Database\Eloquent\Model::getAttributesForInsert 1 µs µs 640 bytes bytes 16 µs 18 µs 2,344 bytes bytes
Illuminate\Database\Query\Grammars\MySqlGrammar::compileInsert 1 µs µs -512 bytes bytes 62 µs 64 µs 2,280 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileInsertGetId 1 µs µs 696 bytes bytes 68 µs 69 µs 2,976 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::Illuminate\Database\Q… 1 µs µs 720 bytes bytes µs µs 720 bytes bytes
Xhgui\Profiler\Profiler::registerShutdownHandler 1 µs µs 1,200 bytes bytes µs µs 1,200 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\PaymentGateways\PaymentGatewaysProvider::App\Service… 2 µs µs 696 bytes bytes µs µs 696 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
App\Services\PaymentGateways\GlobalGateway::getTitle 2 µs µs 632 bytes bytes µs µs 632 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
Illuminate\Database\Eloquent\Model::usesUniqueIds 1 µs µs 600 bytes bytes µs µs 600 bytes bytes
Illuminate\Database\MySqlConnection::getLastInsertId 1 µs µs 632 bytes bytes µs µs 632 bytes bytes