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

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,055,977 µs
App\Models\Tenant\VoucherSerie::recalculateQuantity
218,279 µs
main()
17,352 µs
App\Services\RedirectFlow\VoucherCreator::createVoucher
14,539 µs
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderPlan
6,884 µs
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure}
3,701 µ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,055,977 µs 15,216 µs -117,056 bytes bytes 1,059,700 µs 18,260 µs -101,496 bytes bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity 1 218,279 µs 2,675 µs 44,040 bytes bytes 222,298 µs 6,113 µs 76,696 bytes bytes
main() 1 17,352 µs 7,520 µs -61,808 bytes bytes 1,330,672 µs 50,362 µs 139,048 bytes bytes
App\Services\RedirectFlow\VoucherCreator::createVoucher 1 14,539 µs 10,323 µs 9,968 bytes bytes 1,301,924 µs 37,359 µs 88,840 bytes bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderP… 1 6,884 µs 3,603 µs -22,640 bytes bytes 1,312,867 µs 42,376 µs 120,072 bytes bytes
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure} 1 3,701 µs 3,021 µs 14,344 bytes bytes 3,713 µs 3,033 µs 14,976 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 2 1,998 µs 2,109 µs 6,032 bytes bytes 4,019 µs 3,438 µs 32,656 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlan… 1 1,803 µs 562 µs 2,064 bytes bytes 1,803 µs 562 µs 2,064 bytes bytes
App\Services\Vouchers\CodeGenerator::checkIfCodeExists 1 1,430 µs 311 µs 1,136 bytes bytes 1,430 µs 311 µs 1,136 bytes bytes
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan 1 1,315 µs 597 µs 5,776 bytes bytes 1,384 µs 669 µs 9,160 bytes bytes
App\Models\Tenant\VoucherSerie::attributeValuesToBeLogged 1 1,230 µs 517 µs 176 bytes bytes 1,495 µs 795 µs 5,544 bytes bytes
App\Services\Vouchers\CodeGenerator::getCodeLength 1 812 µs 274 µs -5,352 bytes bytes 851 µs 313 µs 1,704 bytes bytes
App\Services\Vouchers\CodeGenerator::getChars 1 762 µs 270 µs -5,256 bytes bytes 839 µs 347 µs 1,800 bytes bytes
Stancl\Tenancy\CacheManager::__call 2 622 µs 200 µs 1,816 bytes bytes 2,046 µs 639 µs 17,536 bytes bytes
Illuminate\Cache\RedisTaggedCache::put 1 614 µs 94 µs 536 bytes bytes 1,327 µs 341 µs 5,768 bytes bytes
Illuminate\Redis\Connections\PhpRedisConnection::zadd 1 538 µs 70 µs 848 bytes bytes 538 µs 70 µs 848 bytes bytes
App\Models\Tenant\VoucherSerie::logChanges 2 486 µs 488 µs 9,880 bytes bytes 511 µs 514 µs 12,320 bytes bytes
load::settings/localization_php 3 444 µs 555 µs 95,208 bytes bytes 444 µs 555 µs 95,208 bytes bytes
load::settings/captive_portal_php 2 201 µs 203 µs 14,880 bytes bytes 201 µs 203 µs 14,880 bytes bytes
load::settings/finance_php 4 184 µs 185 µs 28,176 bytes bytes 184 µs 185 µs 28,176 bytes bytes
Illuminate\Database\Eloquent\Builder::create 1 164 µs 160 µs 3,392 bytes bytes 1,059,864 µs 18,420 µs -98,104 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 103 µs 136 µs 776 bytes bytes 103 µs 136 µs 776 bytes bytes
load::settings/status_page_notifications_php 3 99 µs 102 µs 16,944 bytes bytes 99 µs 102 µs 16,944 bytes bytes
load::settings/customers_php 2 85 µs 88 µs 10,032 bytes bytes 85 µs 88 µs 10,032 bytes bytes
Illuminate\Cache\RedisTagSet::addEntry 1 83 µs 82 µs 312 bytes bytes 628 µs 160 µs 3,872 bytes bytes
App\Models\Tenant\VoucherSerie::isRestoring 1 80 µs 79 µs 664 bytes bytes 114 µs 115 µs 1,264 bytes bytes
App\Models\Tenant\VoucherSerie::getDeletedAtColumn 14 57 µs 77 µs 1,864 bytes bytes 57 µs 77 µs 1,864 bytes bytes
load::settings/portal_php 2 55 µs 57 µs 6,368 bytes bytes 55 µs 57 µs 6,368 bytes bytes
load::settings/voucher_limit_notifications_php 2 53 µs 55 µs 12,080 bytes bytes 53 µs 55 µs 12,080 bytes bytes
Illuminate\Cache\TaggedCache::event 4 48 µs 44 µs 1,296 bytes bytes 85 µs 86 µs 2,448 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogEvent 1 48 µs 47 µs 696 bytes bytes 162 µs 162 µs 1,960 bytes bytes
load::settings/splynx_integration_php 2 47 µs 49 µs 12,752 bytes bytes 47 µs 49 µs 12,752 bytes bytes
load::settings/finance_notifications_php 2 46 µs 47 µs 8,944 bytes bytes 46 µs 47 µs 8,944 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::buildIdentityKey 1 43 µs 44 µs 688 bytes bytes 43 µs 44 µs 688 bytes bytes
App\Models\Tenant\VoucherSerie::initializeSoftDeletes 6 42 µs 31 µs 1,960 bytes bytes 63 µs 69 µs 2,592 bytes bytes
App\Format\FormatManager::toSystemTimezone 1 36 µs 37 µs 1,840 bytes bytes 36 µs 37 µs 1,840 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 33 µs 29 µs 768 bytes bytes 3,153 µs 1,000 µs 5,408 bytes bytes
Illuminate\Cache\TagSet::getNames 4 32 µs 35 µs 568 bytes bytes 32 µs 35 µs 568 bytes bytes
App\Models\Tenant\VoucherSerie::eventsToBeRecorded 2 32 µs 32 µs 1,256 bytes bytes 32 µs 32 µs 1,256 bytes bytes
App\Services\RedirectFlow\VoucherCreator::getSeriePrefixByPlan 1 27 µs 27 µs 672 bytes bytes 27 µs 27 µs 672 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 26 27 µs 37 µs 632 bytes bytes 27 µs 37 µs 632 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::tryLock 1 25 µs 22 µs 568 bytes bytes 2,114 µs 705 µs 18,792 bytes bytes
App\Models\Tenant\VoucherSerie::attributesToBeLogged 3 23 µs 19 µs 1,136 bytes bytes 34 µs 35 µs 3,072 bytes bytes
Illuminate\Cache\Repository::tags 2 20 µs 17 µs 760 bytes bytes 46 µs 47 µs 4,848 bytes bytes
Illuminate\Cache\TagSet::tagIds 4 20 µs 21 µs 2,080 bytes bytes 25 µs 27 µs 2,840 bytes bytes
Illuminate\Routing\UrlGenerator::Stancl\Tenancy\Bootstrappers\{cl… 3 16 µs 17 µs 1,168 bytes bytes 16 µs 17 µs 1,168 bytes bytes
Illuminate\Cache\RedisStore::tags 2 15 µs 13 µs 1,112 bytes bytes 21 µs 22 µs 2,920 bytes bytes
Xhgui\Profiler\Profiler::disable 1 14 µs 13 µs 776 bytes bytes 22 µs 22 µs 1,944 bytes bytes
Illuminate\Cache\TaggedCache::itemKey 3 12 µs µs 1,232 bytes bytes 51 µs 52 µs 4,016 bytes bytes
Illuminate\Database\Eloquent\Model::getKey 1 12 µs 12 µs 632 bytes bytes 12 µs 12 µs 632 bytes bytes
Illuminate\Cache\TaggedCache::taggedItemKey 3 11 µs 16 µs 792 bytes bytes 39 µs 44 µs 2,784 bytes bytes
App\Models\Tenant\VoucherSerie::getQualifiedDeletedAtColumn 1 11 µs 11 µs 752 bytes bytes 13 µs 14 µs 1,384 bytes bytes
App\Models\Tenant\VoucherSerie::getLogNameToUse 1 11 µs 11 µs 632 bytes bytes 11 µs 11 µs 632 bytes bytes
App\Models\Tenant\VoucherSerie::getActivitylogOptions 4 10 µs 16 µs 7,792 bytes bytes 10 µs 16 µs 7,792 bytes bytes
Illuminate\Cache\TagSet::getNamespace 3 µs µs bytes bytes 28 µs 28 µs 1,992 bytes bytes
Xhgui\Profiler\Profiler::registerShutdownHandler 1 µs 10 µs 1,200 bytes bytes µs 10 µs 1,200 bytes bytes
Xhgui\Profiler\ProfilingData::__construct 1 µs µs 584 bytes bytes µs µs 584 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
App\Services\RedirectFlow\Plans\BuyMutex::__construct 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Cache\TaggedCache::__construct 2 µs µs 584 bytes bytes µs µs 584 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\Repository::setDefaultCacheTime 2 µs µs 584 bytes bytes µs µs 584 bytes bytes
App\Services\RedirectFlow\VoucherCreator::__construct 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Database\Eloquent\Relations\Pivot::getUpdatedAtColumn 2 µ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
Xhgui\Profiler\Profilers\XHProf::disable 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
Illuminate\Cache\RedisStore::getPrefix 1 µs µs 1,864 bytes bytes µs µs 1,864 bytes bytes
App\Models\Tenant\VoucherSerie::isLogEmpty 1 µs µs 632 bytes bytes µs µs 632 bytes bytes