Profile data for GET http://meshtelecom.powerlynx.app/portal/api/redirect-flow/order-plan/11?hash=7de9fe63e80e580ee2a3fdf3f06d576d

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

Illuminate\Database\Eloquent\Builder::Illuminate\Database\Eloquent\{closure}
1,056,878 µs
App\Models\Tenant\VoucherSerie::recalculateQuantity
264,157 µs
main()
20,241 µs
App\Services\RedirectFlow\VoucherCreator::createVoucher
17,706 µs
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderPlan
7,239 µs
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure}
4,232 µs

Memory Hogs

load::settings/localization_php
95,208 bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity
44,040 bytes
load::settings/finance_php
28,176 bytes
load::settings/status_page_notifications_php
16,944 bytes
load::settings/captive_portal_php
14,880 bytes
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure}
14,344 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
Illuminate\Database\Eloquent\Builder::Illuminate\Database\Eloquen… 1 1,056,878 µs 16,166 µs -116,408 bytes bytes 1,061,127 µs 19,879 µs -100,848 bytes bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity 1 264,157 µs 3,131 µs 44,040 bytes bytes 269,150 µs 7,516 µs 76,696 bytes bytes
main() 1 20,241 µs 7,465 µs -15,088 bytes bytes 1,386,261 µs 55,625 µs 186,448 bytes bytes
App\Services\RedirectFlow\VoucherCreator::createVoucher 1 17,706 µs 12,173 µs 9,984 bytes bytes 1,354,643 µs 42,552 µs 89,504 bytes bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderP… 1 7,239 µs 3,610 µs -22,624 bytes bytes 1,365,435 µs 47,563 µs 120,752 bytes bytes
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure} 1 4,232 µs 3,694 µs 14,344 bytes bytes 4,241 µs 3,704 µs 14,976 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 2 2,538 µs 2,580 µs 6,032 bytes bytes 4,993 µs 4,385 µs 32,656 bytes bytes
App\Services\Vouchers\CodeGenerator::checkIfCodeExists 1 1,587 µs 345 µs 1,136 bytes bytes 1,587 µs 345 µs 1,136 bytes bytes
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan 1 1,553 µs 541 µs 5,776 bytes bytes 1,617 µs 606 µs 9,160 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlan… 1 1,426 µs 468 µs 2,064 bytes bytes 1,426 µs 468 µs 2,064 bytes bytes
App\Models\Tenant\VoucherSerie::attributeValuesToBeLogged 1 1,412 µs 727 µs 176 bytes bytes 1,869 µs 1,201 µs 5,544 bytes bytes
App\Services\Vouchers\CodeGenerator::getCodeLength 1 1,234 µs 386 µs -5,352 bytes bytes 1,281 µs 434 µs 1,704 bytes bytes
App\Services\Vouchers\CodeGenerator::getChars 1 1,013 µs 277 µs -5,256 bytes bytes 1,069 µs 334 µs 1,800 bytes bytes
App\Models\Tenant\VoucherSerie::logChanges 2 655 µs 658 µs 9,880 bytes bytes 684 µs 689 µs 12,320 bytes bytes
Illuminate\Redis\Connections\PhpRedisConnection::zadd 1 576 µs 104 µs 848 bytes bytes 576 µs 104 µs 848 bytes bytes
load::settings/localization_php 3 561 µs 659 µs 95,208 bytes bytes 561 µs 659 µs 95,208 bytes bytes
Stancl\Tenancy\CacheManager::__call 2 520 µs 181 µs 1,816 bytes bytes 1,916 µs 719 µs 17,536 bytes bytes
Illuminate\Cache\RedisTaggedCache::put 1 505 µs 115 µs 536 bytes bytes 1,270 µs 410 µs 5,768 bytes bytes
load::settings/captive_portal_php 2 215 µs 188 µs 14,880 bytes bytes 215 µs 188 µs 14,880 bytes bytes
Illuminate\Database\Eloquent\Builder::create 1 191 µs 187 µs 3,392 bytes bytes 1,061,318 µs 20,066 µs -97,456 bytes bytes
load::settings/finance_php 4 188 µs 192 µs 28,176 bytes bytes 188 µs 192 µs 28,176 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 150 µs 237 µs 776 bytes bytes 150 µs 237 µs 776 bytes bytes
load::settings/portal_php 2 114 µs 116 µs 6,368 bytes bytes 114 µs 116 µs 6,368 bytes bytes
load::settings/customers_php 2 109 µs 112 µs 10,032 bytes bytes 109 µs 112 µs 10,032 bytes bytes
load::settings/status_page_notifications_php 3 107 µs 111 µs 16,944 bytes bytes 107 µs 111 µs 16,944 bytes bytes
App\Models\Tenant\VoucherSerie::isRestoring 1 104 µs 105 µs 664 bytes bytes 108 µs 110 µs 1,264 bytes bytes
load::settings/splynx_integration_php 2 86 µs 89 µs 12,752 bytes bytes 86 µs 89 µs 12,752 bytes bytes
Illuminate\Cache\RedisTagSet::addEntry 1 76 µs 75 µs 312 bytes bytes 659 µs 186 µs 3,872 bytes bytes
App\Models\Tenant\VoucherSerie::getDeletedAtColumn 14 76 µs 90 µs 1,864 bytes bytes 76 µs 90 µs 1,864 bytes bytes
load::settings/finance_notifications_php 2 69 µs 71 µs 8,944 bytes bytes 69 µs 71 µs 8,944 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogEvent 1 58 µs 58 µs 696 bytes bytes 166 µs 168 µs 1,960 bytes bytes
load::settings/voucher_limit_notifications_php 2 53 µs 54 µs 12,080 bytes bytes 53 µs 54 µs 12,080 bytes bytes
Illuminate\Cache\TaggedCache::event 4 51 µs 52 µs 1,296 bytes bytes 108 µs 111 µs 2,448 bytes bytes
Illuminate\Cache\TagSet::getNames 4 50 µs 52 µs 568 bytes bytes 50 µs 52 µs 568 bytes bytes
Illuminate\Cache\RedisStore::tags 2 48 µs 48 µs 1,112 bytes bytes 54 µs 55 µs 2,920 bytes bytes
App\Models\Tenant\VoucherSerie::initializeSoftDeletes 6 47 µs 36 µs 1,960 bytes bytes 117 µs 118 µs 2,592 bytes bytes
App\Models\Tenant\VoucherSerie::eventsToBeRecorded 2 43 µs 44 µs 1,256 bytes bytes 43 µs 44 µs 1,256 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 39 µs 36 µs 768 bytes bytes 3,976 µs 1,149 µs 5,408 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::buildIdentityKey 1 32 µs 33 µs 688 bytes bytes 32 µs 33 µs 688 bytes bytes
App\Format\FormatManager::toSystemTimezone 1 30 µs 31 µs 1,840 bytes bytes 30 µs 31 µs 1,840 bytes bytes
App\Models\Tenant\VoucherSerie::attributesToBeLogged 3 28 µs 24 µs 1,136 bytes bytes 40 µs 43 µs 3,072 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 26 26 µs 38 µs 632 bytes bytes 26 µs 38 µs 632 bytes bytes
App\Services\RedirectFlow\VoucherCreator::getSeriePrefixByPlan 1 24 µs 25 µs 672 bytes bytes 24 µs 25 µs 672 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::tryLock 1 23 µs 22 µs 568 bytes bytes 1,971 µs 774 µs 18,792 bytes bytes
Illuminate\Cache\TagSet::tagIds 4 17 µs 17 µs 2,080 bytes bytes 23 µs 24 µs 2,840 bytes bytes
App\Models\Tenant\VoucherSerie::getLogNameToUse 1 17 µs 17 µs 632 bytes bytes 17 µs 17 µs 632 bytes bytes
Illuminate\Cache\Repository::tags 2 15 µs 14 µs 760 bytes bytes 76 µs 77 µs 4,848 bytes bytes
Illuminate\Cache\TaggedCache::taggedItemKey 3 14 µs 12 µs 792 bytes bytes 40 µs 41 µs 2,784 bytes bytes
Xhgui\Profiler\Profiler::disable 1 14 µs 10 µs 776 bytes bytes 20 µs 20 µs 1,944 bytes bytes
Illuminate\Routing\UrlGenerator::Stancl\Tenancy\Bootstrappers\{cl… 3 13 µs 15 µs 1,168 bytes bytes 13 µs 15 µs 1,168 bytes bytes
App\Models\Tenant\VoucherSerie::getActivitylogOptions 4 12 µs 18 µs 7,792 bytes bytes 12 µs 18 µs 7,792 bytes bytes
App\Models\Tenant\VoucherSerie::getQualifiedDeletedAtColumn 1 11 µs 10 µs 752 bytes bytes 13 µs 13 µs 1,384 bytes bytes
Illuminate\Database\Eloquent\Model::getKey 1 µs 10 µs 632 bytes bytes µs 10 µs 632 bytes bytes
Illuminate\Cache\TagSet::getNamespace 3 µs 10 µs bytes bytes 26 µs 29 µs 1,992 bytes bytes
Illuminate\Cache\TaggedCache::itemKey 3 µs µs 1,232 bytes bytes 48 µs 49 µs 4,016 bytes bytes
Illuminate\Cache\Events\CacheEvent::setTags 4 µs µs 584 bytes bytes µs µs 584 bytes bytes
Illuminate\Cache\RedisTagSet::tagId 4 µs µs 760 bytes bytes µs µs 760 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
App\Services\RedirectFlow\Plans\BuyMutex::__construct 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Cache\Repository::supportsTags 2 µs µs 584 bytes bytes µs µs 584 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogUnguarded 3 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Cache\TagSet::__construct 2 µs µs 1,224 bytes bytes µs µs 1,224 bytes bytes
Illuminate\Cache\TaggedCache::__construct 2 µs µs 584 bytes bytes µs µs 584 bytes bytes
Illuminate\Cache\Repository::setDefaultCacheTime 2 µs µs 584 bytes bytes µs µs 584 bytes bytes
Illuminate\Database\Eloquent\Relations\Pivot::getUpdatedAtColumn 2 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Cache\RedisStore::getPrefix 1 µs µs 1,864 bytes bytes µs µs 1,864 bytes bytes
App\Services\RedirectFlow\VoucherCreator::__construct 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Models\Tenant\VoucherSerie::getDescriptionForEvent 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Models\Tenant\VoucherSerie::isLogEmpty 1 µs 12 µs 632 bytes bytes µs 12 µs 632 bytes bytes
Xhgui\Profiler\Profilers\XHProf::disable 1 µs µs 584 bytes bytes µs µs 584 bytes bytes