Profile data for GET http://gigielectrical.powerlynx.app/portal/api/redirect-flow/order-plan/20?hash=386423423b3a3c5e18113388bc71a51b&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
46,413 µs
main()
15,753 µs
App\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlanIsAvailable
1,453 µs
Illuminate\Database\MySqlConnection::Illuminate\Database\{closure}
908 µs
load::settings/splynx_integration_php
536 µs
load::settings/localization_php
402 µs

Memory Hogs

load::settings/localization_php
94,608 bytes
load::settings/splynx_integration_php
63,544 bytes
load::settings/captive_portal_php
7,416 bytes
load::settings/finance_php
7,008 bytes
load::settings/voucher_limit_notifications_php
6,000 bytes
load::settings/status_page_notifications_php
5,816 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 46,413 µs 23,797 µs -54,240 bytes bytes 50,026 µs 25,658 µs 82,848 bytes bytes
main() 1 15,753 µs 7,865 µs -9,008 bytes bytes 66,349 µs 34,109 µs 154,624 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlan… 1 1,453 µs 474 µs 2,064 bytes bytes 1,453 µs 474 µs 2,064 bytes bytes
Illuminate\Database\MySqlConnection::Illuminate\Database\{closure… 1 908 µs 88 µs 2,488 bytes bytes 908 µs 88 µs 2,488 bytes bytes
load::settings/splynx_integration_php 11 536 µs 549 µs 63,544 bytes bytes 536 µs 549 µs 63,544 bytes bytes
load::settings/localization_php 3 402 µs 405 µs 94,608 bytes bytes 402 µs 405 µs 94,608 bytes bytes
Illuminate\Database\MySqlConnection::insert 1 229 µs 101 µs -1,000 bytes bytes 1,137 µs 189 µs 1,488 bytes bytes
load::settings/captive_portal_php 1 80 µs 81 µs 7,416 bytes bytes 80 µs 81 µs 7,416 bytes bytes
load::settings/portal_php 1 56 µs 57 µs 3,160 bytes bytes 56 µs 57 µs 3,160 bytes bytes
load::settings/status_page_notifications_php 1 52 µs 55 µs 5,816 bytes bytes 52 µs 55 µs 5,816 bytes bytes
load::settings/customers_php 1 48 µs 49 µs 4,992 bytes bytes 48 µs 49 µs 4,992 bytes bytes
load::settings/finance_notifications_php 1 44 µs 46 µs 4,448 bytes bytes 44 µs 46 µs 4,448 bytes bytes
load::settings/finance_php 1 40 µs 41 µs 7,008 bytes bytes 40 µs 41 µs 7,008 bytes bytes
Illuminate\Database\Eloquent\Model::performInsert 1 39 µs 35 µs 176 bytes bytes 1,378 µs 591 µs 14,408 bytes bytes
App\Dto\BaseData::fromArray 1 36 µs 37 µs 680 bytes bytes 36 µs 37 µs 680 bytes bytes
Illuminate\Database\Eloquent\Model::freshTimestamp 1 31 µs 33 µs 1,984 bytes bytes 31 µs 33 µs 1,984 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileInsert 1 30 µs 30 µs 2,072 bytes bytes 33 µs 34 µs 2,792 bytes bytes
load::settings/voucher_limit_notifications_php 1 29 µs 30 µs 6,000 bytes bytes 29 µs 30 µs 6,000 bytes bytes
Illuminate\Database\Eloquent\Model::setUpdatedAt 1 28 µs 28 µs 856 bytes bytes 28 µs 28 µs 856 bytes bytes
Illuminate\Database\Eloquent\Model::updateTimestamps 1 28 µs 188 µs 824 bytes bytes 101 µs 264 µs 4,520 bytes bytes
Illuminate\Database\Eloquent\Model::insertAndSetId 1 25 µs 25 µs 1,360 bytes bytes 1,233 µs 284 µs 8,160 bytes bytes
Illuminate\Database\Query\Builder::insertGetId 1 16 µs 16 µs 944 bytes bytes 1,208 µs 259 µs 6,800 bytes bytes
Illuminate\Database\Eloquent\Model::setCreatedAt 1 14 µs 15 µs 856 bytes bytes 14 µs 15 µs 856 bytes bytes
Illuminate\Database\Query\Processors\MySqlProcessor::processInser… 1 12 µs 10 µs 760 bytes bytes 1,150 µs 201 µs 2,880 bytes bytes
Xhgui\Profiler\Profiler::disable 1 12 µs 11 µs 776 bytes bytes 20 µs 20 µs 1,944 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 38 µs 38 µs 2,280 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
Illuminate\Database\Eloquent\Model::getAttributesForInsert 1 µs µs 952 bytes bytes µs µs 952 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileInsertGetId 1 µs µs 696 bytes bytes 42 µs 42 µ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
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