Profile data for GET http://nexxgigi.powerlynx.app/portal/api/redirect-flow/order-plan/8?hash=03afd53f28982fd57f1fd2f383799b53&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
20,728 µs
main()
13,342 µs
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderPlan
12,526 µs
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::__construct
4,465 µs
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::generateDataForEncryption
3,088 µs
App\Services\RedirectFlow\Adverts\CampaignDetector::detect
2,699 µs

Memory Hogs

load::settings/localization_php
95,240 bytes
load::settings/splynx_integration_php
64,488 bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderPlan
25,120 bytes
load::settings/captive_portal_php
7,416 bytes
load::settings/finance_php
7,008 bytes
Illuminate\Database\Eloquent\Model::normalizeCastClassResponse
6,200 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 20,728 µs 8,092 µs -22,736 bytes 0 bytes 21,043 µs 8,405 µs 12,432 bytes 0 bytes
main() 1 13,342 µs 6,196 µs -9,488 bytes 0 bytes 67,035 µs 34,282 µs 192,288 bytes 0 bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderP… 1 12,526 µs 6,783 µs 25,120 bytes 0 bytes 51,545 µs 27,002 µs 124,072 bytes 0 bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::__constr… 1 4,465 µs 3,467 µs -8,656 bytes 0 bytes 4,557 µs 3,561 µs 3,256 bytes 0 bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::generate… 1 3,088 µs 2,098 µs -27,360 bytes 0 bytes 3,541 µs 2,556 µs 5,120 bytes 0 bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detect 1 2,699 µs 821 µs -26,120 bytes 0 bytes 4,208 µs 1,571 µs 12,592 bytes 0 bytes
Illuminate\Redis\Connections\PhpRedisConnection::eval 2 1,325 µs 252 µs 1,032 bytes 0 bytes 1,325 µs 252 µs 1,032 bytes 0 bytes
App\Services\TargetGroups\TargetGroupsMatcher::match 1 1,243 µs 477 µs 1,880 bytes 0 bytes 1,282 µs 518 µs 4,624 bytes 0 bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlan… 1 1,228 µs 554 µs 3,344 bytes 0 bytes 1,228 µs 554 µs 3,344 bytes 0 bytes
App\Services\RedirectFlow\Payments\OrderProcessor::getPaymentGate… 1 1,172 µs 1,132 µs 2,912 bytes 0 bytes 1,172 µs 1,132 µs 2,912 bytes 0 bytes
App\Services\RedirectFlow\TrialSessions\TrialSessionsMaker::isTri… 1 978 µs 720 µs 1,120 bytes 0 bytes 978 µs 720 µs 1,120 bytes 0 bytes
Illuminate\Database\MySqlConnection::Illuminate\Database\{closure… 1 843 µs 78 µs 2,552 bytes 0 bytes 845 µs 80 µs 3,184 bytes 0 bytes
load::settings/localization_php 3 720 µs 726 µs 95,240 bytes 0 bytes 720 µs 726 µs 95,240 bytes 0 bytes
load::settings/splynx_integration_php 11 528 µs 531 µs 64,488 bytes 0 bytes 528 µs 531 µs 64,488 bytes 0 bytes
Illuminate\Database\MySqlConnection::insert 1 235 µs 105 µs -1,000 bytes 0 bytes 1,080 µs 185 µs 2,184 bytes 0 bytes
App\Services\RedirectFlow\Payments\StatementCreator::createPaymen… 1 175 µs 173 µs 3,352 bytes 0 bytes 1,775 µs 878 µs 39,816 bytes 0 bytes
App\Http\Middleware\RedirectFlowRouteMutex::handle 1 143 µs 141 µs -10,960 bytes 0 bytes 53,194 µs 27,573 µs 120,408 bytes 0 bytes
App\Services\RedirectFlow\Payments\OrderProcessor::getRedirectLin… 1 142 µs 184 µs -968 bytes 0 bytes 11,311 µs 8,435 µs 51,784 bytes 0 bytes
App\Http\Middleware\RedirectFlowRouteMutex::getKey 2 119 µs 123 µs 1,328 bytes 0 bytes 119 µs 123 µs 1,328 bytes 0 bytes
Illuminate\Database\Eloquent\Model::save 1 108 µs 101 µs 440 bytes 0 bytes 1,553 µs 656 µs 29,184 bytes 0 bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::getPayLi… 1 87 µs 84 µs -1,256 bytes 0 bytes 3,662 µs 2,675 µs 6,136 bytes 0 bytes
load::settings/captive_portal_php 1 78 µs 79 µs 7,416 bytes 0 bytes 78 µs 79 µs 7,416 bytes 0 bytes
load::settings/customers_php 1 77 µs 78 µs 4,992 bytes 0 bytes 77 µs 78 µs 4,992 bytes 0 bytes
App\Models\Tenant\Finance\Payment\PaymentGateway::getSaveKey 1 72 µs 74 µs 696 bytes 0 bytes 72 µs 74 µs 696 bytes 0 bytes
load::settings/finance_php 1 55 µs 56 µs 7,008 bytes 0 bytes 55 µs 56 µs 7,008 bytes 0 bytes
App\Services\RedirectFlow\Adverts\Adverts::isWeNeedToShowAd 1 46 µs 45 µs -128 bytes 0 bytes 4,254 µs 1,616 µs 12,464 bytes 0 bytes
Illuminate\Database\Query\Grammars\Grammar::compileInsert 1 46 µs 46 µs 2,072 bytes 0 bytes 51 µs 53 µs 2,792 bytes 0 bytes
App\Services\PaymentGateways\GlobalGateway::needAskAdditionalInfo… 1 43 µs 45 µs 728 bytes 0 bytes 43 µs 45 µs 728 bytes 0 bytes
Illuminate\Database\Eloquent\Model::updateTimestamps 1 36 µs 27 µs 5,688 bytes 0 bytes 129 µs 131 µs 11,600 bytes 0 bytes
App\Dto\BaseData::toJson 8 29 µs 29 µs -1,848 bytes 0 bytes 40 µs 44 µs 2,088 bytes 0 bytes
Illuminate\Database\Eloquent\Model::freshTimestamp 1 29 µs 31 µs 1,344 bytes 0 bytes 29 µs 31 µs 1,344 bytes 0 bytes
Illuminate\Database\Eloquent\Model::performInsert 1 29 µs 25 µs 208 bytes 0 bytes 1,386 µs 490 µs 24,888 bytes 0 bytes
Illuminate\Events\Dispatcher::until 2 28 µs 29 µs 1,168 bytes 0 bytes 28 µs 29 µs 1,168 bytes 0 bytes
Illuminate\Database\Eloquent\Model::setUpdatedAt 1 28 µs 30 µs 856 bytes 0 bytes 28 µs 30 µs 856 bytes 0 bytes
Illuminate\Database\Eloquent\Model::insertAndSetId 1 27 µs 27 µs 1,360 bytes 0 bytes 1,205 µs 308 µs 8,856 bytes 0 bytes
url 1 27 µs 27 µs 1,608 bytes 0 bytes 27 µs 27 µs 1,608 bytes 0 bytes
App\Format\FormatManager::toUserTimezone 1 25 µs 27 µs 744 bytes 0 bytes 29 µs 31 µs 1,792 bytes 0 bytes
load::settings/finance_notifications_php 1 24 µs 26 µs 4,448 bytes 0 bytes 24 µs 26 µs 4,448 bytes 0 bytes
load::settings/voucher_limit_notifications_php 1 23 µs 24 µs 6,000 bytes 0 bytes 23 µs 24 µs 6,000 bytes 0 bytes
App\Casts\Payments\PaymentStatementMetadataCast::set 8 23 µs 27 µs 3,192 bytes 0 bytes 63 µs 71 µs 5,280 bytes 0 bytes
load::settings/status_page_notifications_php 1 22 µs 24 µs 5,816 bytes 0 bytes 22 µs 24 µs 5,816 bytes 0 bytes
App\Http\Middleware\RedirectFlowRouteMutex::tryToAcquireLock 1 21 µs 18 µs 1,464 bytes 0 bytes 744 µs 252 µs 4,040 bytes 0 bytes
Illuminate\Database\Eloquent\Model::resolveCasterClass 8 21 µs 27 µs 3,448 bytes 0 bytes 21 µs 27 µs 3,448 bytes 0 bytes
Illuminate\Database\Query\Builder::insertGetId 1 21 µs 20 µs 944 bytes 0 bytes 1,178 µs 281 µs 7,496 bytes 0 bytes
Illuminate\Redis\RedisManager::__call 2 20 µs 16 µs 832 bytes 0 bytes 1,345 µs 268 µs 1,864 bytes 0 bytes
App\Services\RedirectFlow\Payments\OrderProcessor::loadStatementI… 1 20 µs 296 µs 664 bytes 0 bytes 20 µs 296 µs 664 bytes 0 bytes
load::settings/portal_php 1 18 µs 19 µs 3,480 bytes 0 bytes 18 µs 19 µs 3,480 bytes 0 bytes
App\Models\Tenant\TargetGroups\TargetGroup::initializeSoftDeletes… 2 17 µs 14 µs 696 bytes 0 bytes 24 µs 25 µs 1,328 bytes 0 bytes
App\Http\Middleware\RedirectFlowRouteMutex::unlock 1 17 µs 14 µs 744 bytes 0 bytes 760 µs 175 µs 2,624 bytes 0 bytes
Illuminate\Database\Eloquent\Model::setClassCastableAttribute 1 15 µs 14 µs 856 bytes 0 bytes 38 µs 39 µs 4,872 bytes 0 bytes
Illuminate\Database\Eloquent\Model::setCreatedAt 1 15 µs 17 µs 856 bytes 0 bytes 15 µs 17 µs 856 bytes 0 bytes
App\Models\Tenant\TargetGroups\TargetGroup::getQualifiedDeletedAt… 1 13 µs 13 µs 752 bytes 0 bytes 15 µs 16 µs 1,416 bytes 0 bytes
Illuminate\Database\Query\Processors\MySqlProcessor::processInser… 1 13 µs 10 µs 760 bytes 0 bytes 1,095 µs 198 µs 3,576 bytes 0 bytes
Xhgui\Profiler\Profiler::disable 1 12 µs 12 µs 776 bytes 0 bytes 18 µs 19 µs 1,944 bytes 0 bytes
App\Dto\BaseData::toArray 8 11 µs 15 µs 3,936 bytes 0 bytes 11 µs 15 µs 3,936 bytes 0 bytes
Illuminate\Database\Eloquent\Model::normalizeCastClassResponse 8 11 µs 15 µs 6,200 bytes 0 bytes 11 µs 15 µs 6,200 bytes 0 bytes
Illuminate\Database\Eloquent\Model::getAttributesForInsert 1 11 µs 8 µs 664 bytes 0 bytes 19 µs 20 µs 3,040 bytes 0 bytes
App\Models\Tenant\TargetGroups\TargetGroup::getDeletedAtColumn 5 9 µs 14 µs 1,296 bytes 0 bytes 9 µs 14 µs 1,296 bytes 0 bytes
App\Services\RedirectFlow\Payments\OrderProcessor::__construct 1 9 µs 9 µs 696 bytes 0 bytes 29 µs 305 µs 1,360 bytes 0 bytes
Illuminate\Routing\RouteParameterBinder::Illuminate\Routing\{clos… 2 7 µs 7 µs 584 bytes 0 bytes 7 µs 7 µs 584 bytes 0 bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detectTargetG… 1 7 µs 8 µs 544 bytes 0 bytes 1,289 µs 526 µs 5,168 bytes 0 bytes
App\Dto\BaseData::fromArray 1 7 µs 6 µs 744 bytes 0 bytes 15 µs 15 µs 1,928 bytes 0 bytes
App\Services\PaymentGateways\PaymentGatewaysProvider::App\Service… 2 7 µs 8 µs 696 bytes 0 bytes 7 µs 8 µs 696 bytes 0 bytes
Illuminate\Database\Query\Grammars\MySqlGrammar::compileInsert 1 7 µs 5 µs -512 bytes 0 bytes 58 µs 58 µs 2,280 bytes 0 bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::getGatew… 1 7 µs 8 µs 664 bytes 0 bytes 7 µs 8 µs 664 bytes 0 bytes
Symfony\Component\HttpFoundation\Request::get 1 6 µs 7 µs 584 bytes 0 bytes 6 µs 7 µs 584 bytes 0 bytes
App\Dto\BaseData::__construct 1 5 µs 6 µs 632 bytes 0 bytes 8 µs 9 µs 1,184 bytes 0 bytes
Illuminate\Database\Query\Grammars\Grammar::Illuminate\Database\Q… 1 5 µs 7 µs 720 bytes 0 bytes 5 µs 7 µs 720 bytes 0 bytes
Illuminate\Routing\UrlGenerator::Stancl\Tenancy\Bootstrappers\{cl… 1 4 µs 4 µs 584 bytes 0 bytes 4 µs 4 µs 584 bytes 0 bytes
Illuminate\Http\Request::get 1 4 µs 4 µs 664 bytes 0 bytes 10 µs 11 µs 1,248 bytes 0 bytes
App\Format\FormatManager::getDateTimeFormatSettings 1 4 µs 4 µs 1,048 bytes 0 bytes 4 µs 4 µs 1,048 bytes 0 bytes
Illuminate\Database\Query\Grammars\Grammar::compileInsertGetId 1 4 µs 5 µs 696 bytes 0 bytes 62 µs 63 µs 2,976 bytes 0 bytes
Xhgui\Profiler\ProfilingData::__construct 1 4 µs 5 µs 584 bytes 0 bytes 4 µs 5 µs 584 bytes 0 bytes
Xhgui\Profiler\Profiler::registerShutdownHandler 1 3 µs 6 µs 1,200 bytes 0 bytes 3 µs 6 µs 1,200 bytes 0 bytes
App\Dto\BaseData::fill 1 3 µs 3 µs 552 bytes 0 bytes 3 µs 3 µs 552 bytes 0 bytes
App\Services\RedirectFlow\Payments\StatementCreator::__construct 1 3 µs 5 µs 632 bytes 0 bytes 3 µs 5 µs 632 bytes 0 bytes
Illuminate\Support\Facades\Redis::getFacadeAccessor 2 2 µs 4 µs 1,264 bytes 0 bytes 2 µs 4 µs 1,264 bytes 0 bytes
Illuminate\Routing\Route::Illuminate\Routing\{closure} 1 2 µs 3 µs 632 bytes 0 bytes 2 µs 3 µs 632 bytes 0 bytes
Illuminate\Routing\Route::parameter 1 2 µs 3 µs 632 bytes 0 bytes 2 µs 3 µs 632 bytes 0 bytes
Illuminate\Database\Connection::recordsHaveBeenModified 1 2 µs 2 µs 632 bytes 0 bytes 2 µs 2 µs 632 bytes 0 bytes
Illuminate\Database\MySqlConnection::getLastInsertId 1 2 µs 3 µs 632 bytes 0 bytes 2 µs 3 µs 632 bytes 0 bytes
Xhgui\Profiler\Profilers\XHProf::disable 1 2 µs 2 µs 584 bytes 0 bytes 2 µs 2 µs 584 bytes 0 bytes
Illuminate\Database\Eloquent\Model::usesUniqueIds 1 1 µs 2 µs 600 bytes 0 bytes 1 µs 2 µs 600 bytes 0 bytes