Profile data for GET http://icsp.powerlynx.app/portal/api/redirect-flow/order-plan/12?hash=cfbb0c114a62eed2a6cbf2fd1ef8bca0&gateway=netcash

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()
18,075 µs
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderPlan
15,736 µs
App\Services\PaymentGateways\GlobalGateway::config
7,024 µs
App\Models\Tenant\Finance\Payment\PaymentGateway::getGlobalGateway
6,957 µs
App\Models\Tenant\Location::getEnabledGlobalGateways
3,525 µs
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::generateDataForEncryption
1,925 µs

Memory Hogs

load::settings/localization_php
95,240 bytes
load::settings/splynx_integration_php
53,496 bytes
load::Concerns/AsPivot_php
41,984 bytes
App\Models\Tenant\Location::getEnabledGlobalGateways
33,816 bytes
load::Payment/PaymentGatewayGlobalConfig_php
27,552 bytes
load::RedirectFlow/PlansRepository_php
21,416 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 18,075 µs 9,658 µs -24,960 bytes bytes 65,738 µs 37,136 µs 393,616 bytes bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderP… 1 15,736 µs 8,142 µs -19,008 bytes bytes 46,570 µs 26,371 µs 307,424 bytes bytes
App\Services\PaymentGateways\GlobalGateway::config 9 7,024 µs 2,873 µs 15,560 bytes bytes 7,144 µs 2,995 µs 43,112 bytes bytes
App\Models\Tenant\Finance\Payment\PaymentGateway::getGlobalGatewa… 2 6,957 µs 3,488 µs -16,960 bytes bytes 7,121 µs 3,655 µs 6,232 bytes bytes
App\Models\Tenant\Location::getEnabledGlobalGateways 1 3,525 µs 1,503 µs 33,816 bytes bytes 18,100 µs 8,086 µs 158,264 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::generate… 1 1,925 µs 1,827 µs -27,384 bytes bytes 2,262 µs 2,281 µs 5,096 bytes bytes
App\Services\PaymentGateways\PaymentGatewaysProvider::getEnabledF… 1 1,192 µs 465 µs 1,904 bytes bytes 8,467 µs 3,577 µs 47,872 bytes bytes
App\Services\PaymentGateways\PaymentGatewaysProvider::loadCustomG… 1 1,125 µs 432 µs 1,928 bytes bytes 5,421 µs 2,312 µs 11,184 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::getTemporar… 1 1,092 µs 474 µs 1,744 bytes bytes 1,173 µs 555 µs 8,080 bytes bytes
App\Models\Tenant\Finance\Payment\PaymentGateway::loadTitle 1 1,086 µs 505 µs 4,160 bytes bytes 4,284 µs 1,867 µs 8,560 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::getPaymentGate… 1 996 µs 791 µs 2,848 bytes bytes 996 µs 791 µs 2,848 bytes bytes
Illuminate\Database\MySqlConnection::Illuminate\Database\{closure… 1 817 µs 621 µs 2,552 bytes bytes 819 µs 624 µs 3,184 bytes bytes
load::settings/localization_php 3 702 µs 823 µs 95,240 bytes bytes 702 µs 823 µs 95,240 bytes bytes
App\Services\RedirectFlow\TrialSessions\TrialSessionsMaker::isTri… 1 687 µs 358 µs 1,120 bytes bytes 687 µs 358 µs 1,120 bytes bytes
load::settings/splynx_integration_php 9 390 µs 397 µs 53,496 bytes bytes 390 µs 397 µs 53,496 bytes bytes
load::Payments/GatewayLinkGenerator_php 1 330 µs 333 µs 15,912 bytes bytes 330 µs 333 µs 15,912 bytes bytes
load::TrialSessions/TrialSessionsMaker_php 1 320 µs 323 µs 16,584 bytes bytes 320 µs 323 µs 16,584 bytes bytes
load::Concerns/AsPivot_php 1 281 µs 282 µs 41,984 bytes bytes 281 µs 282 µs 41,984 bytes bytes
Illuminate\Database\MySqlConnection::insert 1 267 µs 143 µs -1,000 bytes bytes 1,086 µs 767 µs 2,184 bytes bytes
load::Payments/OrderProcessor_php 1 261 µs 539 µs 16,912 bytes bytes 261 µs 539 µs 16,912 bytes bytes
load::src/ProfilingData_php 1 228 µs 230 µs 18,784 bytes bytes 228 µs 230 µs 18,784 bytes bytes
load::RedirectFlow/PlansRepository_php 1 196 µs 198 µs 21,416 bytes bytes 196 µs 198 µs 21,416 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::getRedirectLin… 1 187 µs 178 µs -8,424 bytes bytes 9,817 µs 7,884 µs 75,072 bytes bytes
App\Services\RedirectFlow\Payments\StatementCreator::createPaymen… 1 164 µs 160 µs -1,432 bytes bytes 1,855 µs 1,747 µs 47,384 bytes bytes
App\Services\PaymentGateways\PaymentGatewaysProvider::App\Service… 10 133 µs 119 µs 3,552 bytes bytes 7,277 µs 3,114 µs 46,664 bytes bytes
load::Payments/StatementCreator_php 1 126 µs 128 µs 6,616 bytes bytes 126 µs 128 µs 6,616 bytes bytes
load::Dto/BaseData_php 1 125 µs 127 µs 9,808 bytes bytes 125 µs 127 µs 9,808 bytes bytes
load::Payment/PaymentGatewayGlobalConfig_php 1 120 µs 122 µs 27,552 bytes bytes 120 µs 122 µs 27,552 bytes bytes
Illuminate\Database\Eloquent\Model::save 1 117 µs 113 µs 632 bytes bytes 1,542 µs 1,433 µs 25,696 bytes bytes
App\Models\Tenant\Location::App\Models\Tenant\{closure} 2 102 µs 101 µs 696 bytes bytes 185 µs 185 µs 2,824 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::getPayLi… 1 77 µs 72 µs -552 bytes bytes 2,379 µs 2,396 µs 6,816 bytes bytes
load::settings/customers_php 1 69 µs 69 µs 4,992 bytes bytes 69 µs 69 µs 4,992 bytes bytes
load::Payments/PaymentStatementMetadataCast_php 1 65 µs 66 µs 5,520 bytes bytes 65 µs 66 µs 5,520 bytes bytes
load::Payment/LocationPaymentGateway_php 1 62 µs 64 µs 4,304 bytes bytes 62 µs 64 µs 4,304 bytes bytes
load::OrderProcess/UserInfo_php 1 55 µs 56 µs 2,440 bytes bytes 55 µs 56 µs 2,440 bytes bytes
load::Relations/Pivot_php 1 53 µs 54 µs 3,136 bytes bytes 53 µs 54 µs 3,136 bytes bytes
load::settings/captive_portal_php 1 51 µs 52 µs 7,416 bytes bytes 51 µs 52 µs 7,416 bytes bytes
load::settings/finance_php 1 46 µs 48 µs 7,008 bytes bytes 46 µs 48 µs 7,008 bytes bytes
load::Eloquent/CastsAttributes_php 1 45 µs 45 µs 4,688 bytes bytes 45 µs 45 µs 4,688 bytes bytes
Illuminate\Database\Eloquent\Collection::contains 2 42 µs 41 µs 696 bytes bytes 83 µs 84 µs 2,128 bytes bytes
Illuminate\Database\Eloquent\Collection::contains@1 2 41 µs 43 µs 1,432 bytes bytes 41 µs 43 µs 1,432 bytes bytes
load::settings/voucher_limit_notifications_php 1 40 µs 41 µs 6,000 bytes bytes 40 µs 41 µs 6,000 bytes bytes
Illuminate\Database\Eloquent\Model::insertAndSetId 1 37 µs 38 µs 1,680 bytes bytes 1,200 µs 881 µs 9,176 bytes bytes
App\Models\Tenant\Finance\Payment\PaymentGateway::getSaveKey 1 37 µs 37 µs 696 bytes bytes 37 µs 37 µs 696 bytes bytes
Illuminate\Database\Eloquent\Collection::pluck 1 35 µs 35 µs 2,168 bytes bytes 35 µs 35 µs 2,168 bytes bytes
App\Services\PaymentGateways\GlobalGateway::needAskAdditionalInfo… 1 34 µs 36 µs 1,112 bytes bytes 34 µs 36 µs 1,112 bytes bytes
Illuminate\Database\Eloquent\Model::updateTimestamps 1 33 µs 27 µs 56 bytes bytes 128 µs 339 µs 7,408 bytes bytes
Illuminate\Database\Eloquent\Model::setUpdatedAt 1 32 µs 244 µs 936 bytes bytes 32 µs 244 µs 936 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileInsert 1 31 µs 31 µs 2,072 bytes bytes 34 µs 35 µs 2,792 bytes bytes
load::settings/finance_notifications_php 1 30 µs 30 µs 4,448 bytes bytes 30 µs 30 µs 4,448 bytes bytes
Illuminate\Database\Eloquent\Model::resolveCasterClass 8 29 µs 35 µs 3,448 bytes bytes 29 µs 35 µs 3,448 bytes bytes
App\Dto\BaseData::toJson 8 28 µs 28 µs -1,848 bytes bytes 41 µs 44 µs 2,088 bytes bytes
load::settings/status_page_notifications_php 1 27 µs 28 µs 5,816 bytes bytes 27 µs 28 µs 5,816 bytes bytes
url 1 27 µs 28 µs 1,608 bytes bytes 27 µs 28 µs 1,608 bytes bytes
now 1 25 µs 26 µs 1,984 bytes bytes 25 µs 26 µs 1,984 bytes bytes
App\Casts\Payments\PaymentStatementMetadataCast::set 8 25 µs 25 µs 3,192 bytes bytes 66 µs 69 µs 5,280 bytes bytes
Illuminate\Database\Eloquent\Model::performInsert 1 25 µs 22 µs 400 bytes bytes 1,374 µs 1,265 µs 21,208 bytes bytes
Xhgui\Profiler\Profiler::disable 1 25 µs 24 µs -4,224 bytes bytes 261 µs 262 µs 15,728 bytes bytes
load::settings/portal_php 1 24 µs 25 µs 3,160 bytes bytes 24 µs 25 µs 3,160 bytes bytes
Illuminate\Database\Eloquent\Model::freshTimestamp 1 23 µs 24 µs 1,344 bytes bytes 23 µs 24 µs 1,344 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::App\Reposit… 1 21 µs 20 µs 2,184 bytes bytes 46 µs 46 µs 4,168 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::loadStatementI… 1 20 µs 21 µs 664 bytes bytes 20 µs 21 µs 664 bytes bytes
App\Services\PaymentGateways\PaymentGatewaysProvider::gatewayIsAv… 1 19 µs 19 µs -15,712 bytes bytes 18,121 µs 8,107 µs 143,248 bytes bytes
Illuminate\Database\Eloquent\Model::setCreatedAt 1 19 µs 19 µs 2,216 bytes bytes 19 µs 19 µs 2,216 bytes bytes
Illuminate\Database\Query\Builder::insertGetId 1 17 µs 16 µs 944 bytes bytes 1,163 µs 843 µs 7,496 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::__constr… 1 17 µs 14 µs 824 bytes bytes 3,942 µs 2,309 µs 3,288 bytes bytes
Illuminate\Database\Query\Processors\MySqlProcessor::processInser… 1 15 µs 14 µs 760 bytes bytes 1,103 µs 784 µs 3,576 bytes bytes
App\Dto\BaseData::toArray 8 13 µs 16 µs 3,936 bytes bytes 13 µs 16 µs 3,936 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::getGatew… 1 13 µs 15 µs 664 bytes bytes 13 µs 15 µs 664 bytes bytes
App\Models\Tenant\Finance\Payment\PaymentGateway::getDisplayName 1 12 µs 13 µs 696 bytes bytes 12 µs 13 µs 696 bytes bytes
Illuminate\Database\Eloquent\Model::normalizeCastClassResponse 8 10 µs 14 µs 6,200 bytes bytes 10 µs 14 µs 6,200 bytes bytes
Illuminate\Database\Eloquent\Model::setClassCastableAttribute 1 10 µs µs 6,488 bytes bytes 30 µs 31 µs 10,504 bytes bytes
Illuminate\Database\Eloquent\Relations\Pivot::getTable 4 µs 10 µs 632 bytes bytes µs 10 µs 632 bytes bytes
Illuminate\Events\Dispatcher::until 2 µs µs 1,168 bytes bytes µs µs 1,168 bytes bytes
Illuminate\Database\Eloquent\Model::getAttributesForInsert 1 µs µs 664 bytes bytes 17 µs 18 µs 3,040 bytes bytes
Symfony\Component\HttpFoundation\Request::get 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::__construct 1 µs µs 696 bytes bytes 26 µs 27 µs 1,360 bytes bytes
Illuminate\Http\Request::get 1 µs µs 664 bytes bytes 11 µs 12 µs 1,248 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlan… 1 µs µs -976 bytes bytes 1,178 µs 560 µs 7,104 bytes bytes
Illuminate\Database\Query\Grammars\MySqlGrammar::compileInsert 1 µs µs -512 bytes bytes 39 µs 40 µs 2,280 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
Illuminate\Routing\UrlGenerator::Stancl\Tenancy\Bootstrappers\{cl… 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
App\Dto\BaseData::__construct 1 µs µs 632 bytes bytes µs µs 1,184 bytes bytes
App\Dto\BaseData::fromArray 1 µs µs 744 bytes bytes µs µs 1,928 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileInsertGetId 1 µs µs 696 bytes bytes 43 µs 43 µ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\Profilers\XHProf::disable 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
App\Services\PaymentGateways\GlobalGateway::getTitle 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Services\RedirectFlow\Payments\StatementCreator::__construct 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Database\Connection::recordsHaveBeenModified 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
App\Dto\BaseData::fill 1 µs µs 552 bytes bytes µs µs 552 bytes bytes
App\Services\PaymentGateways\GlobalGateway::getHiddenGateways 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