Profile data for GET http://qh.powerlynx.app/portal/api/redirect-flow/order-plan/1?hash=0cca164e1d4c464f6468061ecc4e1f40

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\Events\Voucher\VoucherExpirationTrack::handle
1,050,066 µs
main()
19,610 µs
App\Models\Tenant\VoucherSerie::recalculateQuantity
10,050 µs
App\Services\RedirectFlow\VoucherCreator::createVoucher
8,804 µs
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan
4,758 µs
App\Listeners\Voucher\SendStatusPageSmsNotification::handle
3,182 µs

Memory Hogs

load::settings/localization_php
94,608 bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity
44,040 bytes
load::settings/finance_php
28,192 bytes
load::settings/status_page_notifications_php
16,976 bytes
App\Services\RedirectFlow\VoucherCreator::createVoucher
15,888 bytes
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure}
15,456 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\Events\Voucher\VoucherExpirationTrack::handle 1 1,050,066 µs 10,431 µs -2,016 bytes bytes 1,053,070 µs 12,714 µs -105,128 bytes bytes
main() 1 19,610 µs 9,388 µs -78,168 bytes bytes 1,114,942 µs 43,462 µs 165,856 bytes bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity 1 10,050 µs 2,323 µs 44,040 bytes bytes 13,410 µs 5,232 µs 71,728 bytes bytes
App\Services\RedirectFlow\VoucherCreator::createVoucher 1 8,804 µs 4,808 µs 15,888 bytes bytes 1,094,044 µs 32,962 µs 112,224 bytes bytes
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan 1 4,758 µs 577 µs 5,816 bytes bytes 4,819 µs 641 µs 9,840 bytes bytes
App\Listeners\Voucher\SendStatusPageSmsNotification::handle 1 3,182 µs 2,255 µs -20,152 bytes bytes 3,719 µs 3,595 µs 72,568 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 2,844 µs 1,210 µs 2,464 bytes bytes 2,870 µs 1,237 µs 3,512 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 2 1,830 µs 1,888 µs 6,032 bytes bytes 3,360 µs 2,909 µs 27,688 bytes bytes
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure} 1 1,732 µs 1,835 µs 15,456 bytes bytes 2,863 µs 2,501 µs 27,896 bytes bytes
App\Services\Vouchers\CodeGenerator::checkIfCodeExists 1 1,127 µs 320 µs 1,136 bytes bytes 1,127 µs 320 µs 1,136 bytes bytes
App\Services\Vouchers\ExpirationSyncer::App\Services\Vouchers\{cl… 1 1,024 µs 675 µs -2,048 bytes bytes 1,982 µs 1,198 µs 6,384 bytes bytes
App\Models\Tenant\VoucherSerie::attributeValuesToBeLogged 1 908 µs 384 µs -232 bytes bytes 1,156 µs 641 µs 6,208 bytes bytes
Illuminate\Database\Eloquent\Builder::firstOrNew 1 896 µs 460 µs 6,048 bytes bytes 896 µs 460 µs 6,048 bytes bytes
App\Models\Tenant\Voucher::attributeValuesToBeLogged 1 856 µs 386 µs 2,080 bytes bytes 1,096 µs 625 µs 8,440 bytes bytes
Illuminate\Database\Eloquent\Relations\HasMany::getResults 1 829 µs 421 µs 1,288 bytes bytes 829 µs 421 µs 1,288 bytes bytes
App\Services\Vouchers\ExpirationSyncer::getWorkerIndex 1 816 µs 879 µs -106,656 bytes bytes 2,806 µs 2,085 µs -99,704 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handleVouc… 1 696 µs 221 µs 1,184 bytes bytes 3,566 µs 1,458 µs 4,696 bytes bytes
App\Services\Vouchers\CodeGenerator::getChars 1 678 µs 255 µs -5,256 bytes bytes 748 µs 326 µs 1,800 bytes bytes
App\Services\Vouchers\CodeGenerator::getCodeLength 1 676 µs 301 µs -5,352 bytes bytes 717 µs 343 µs 1,704 bytes bytes
load::settings/localization_php 3 399 µs 402 µs 94,608 bytes bytes 399 µs 402 µs 94,608 bytes bytes
App\Models\Tenant\VoucherSerie::logChanges 2 380 µs 379 µs 9,880 bytes bytes 400 µs 401 µs 12,320 bytes bytes
Stancl\Tenancy\CacheManager::__call 2 227 µs 165 µs 1,816 bytes bytes 698 µs 512 µs 17,536 bytes bytes
App\Models\Tenant\Voucher::logChanges 1 220 µs 219 µs 3,624 bytes bytes 230 µs 229 µs 4,432 bytes bytes
load::settings/finance_php 4 182 µs 185 µs 28,192 bytes bytes 182 µs 185 µs 28,192 bytes bytes
load::settings/captive_portal_php 2 155 µs 157 µs 14,880 bytes bytes 155 µs 157 µs 14,880 bytes bytes
Illuminate\Cache\RedisTaggedCache::put 1 138 µs 79 µs 536 bytes bytes 386 µs 261 µs 5,768 bytes bytes
Illuminate\Redis\Connections\PhpRedisConnection::zadd 1 125 µs 59 µs 848 bytes bytes 125 µs 59 µs 848 bytes bytes
App\Models\Tenant\Voucher::triggerSyncEvent 1 119 µs 115 µs -2,648 bytes bytes 1,006 µs 835 µs 3,224 bytes bytes
load::settings/status_page_notifications_php 3 106 µs 112 µs 16,976 bytes bytes 106 µs 112 µs 16,976 bytes bytes
App\Services\Vouchers\ExpirationSyncer::syncVoucher 1 100 µs 100 µs -5,856 bytes bytes 3,004 µs 2,283 µs -103,112 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 95 µs 97 µs 776 bytes bytes 95 µs 97 µs 776 bytes bytes
App\Models\Tenant\Voucher::getExpireTime 1 90 µs 91 µs 1,568 bytes bytes 90 µs 91 µs 1,568 bytes bytes
load::settings/customers_php 2 86 µs 88 µs 10,048 bytes bytes 86 µs 88 µs 10,048 bytes bytes
Illuminate\Cache\RedisTagSet::addEntry 1 67 µs 64 µs 1,592 bytes bytes 197 µs 129 µs 3,872 bytes bytes
App\Models\Tenant\Voucher::customer 1 60 µs 61 µs 8,808 bytes bytes 60 µs 61 µs 8,808 bytes bytes
App\Models\Tenant\Voucher::macs 1 58 µs 299 µs 4,584 bytes bytes 58 µs 299 µs 4,584 bytes bytes
App\Models\VoucherExpireSchedule::getMinWorkerIndex 1 57 µs 58 µs 1,160 bytes bytes 57 µs 58 µs 1,160 bytes bytes
App\Models\Tenant\VoucherSerie::isRestoring 1 56 µs 56 µs 664 bytes bytes 58 µs 59 µs 1,264 bytes bytes
load::settings/portal_php 2 50 µs 838 µs 6,368 bytes bytes 50 µs 838 µs 6,368 bytes bytes
load::settings/finance_notifications_php 2 43 µs 46 µs 8,944 bytes bytes 43 µs 46 µs 8,944 bytes bytes
Illuminate\Cache\TaggedCache::event 4 42 µs 41 µs 1,296 bytes bytes 52 µs 53 µs 2,448 bytes bytes
load::settings/splynx_integration_php 2 38 µs 41 µs 12,752 bytes bytes 38 µs 41 µs 12,752 bytes bytes
load::settings/voucher_limit_notifications_php 2 37 µs 38 µs 12,080 bytes bytes 37 µs 38 µs 12,080 bytes bytes
App\Models\Tenant\VoucherSerie::initializeSoftDeletes 6 36 µs 29 µs 1,960 bytes bytes 56 µs 59 µs 2,592 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 35 µs 31 µs 768 bytes bytes 2,627 µs 1,020 µs 5,408 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogEvent 1 35 µs 35 µs 696 bytes bytes 93 µs 94 µs 1,960 bytes bytes
App\Models\Tenant\Voucher::triggerExpirationSync 1 34 µs 28 µs 760 bytes bytes 1,053,105 µs 12,744 µs -103,736 bytes bytes
App\Models\Tenant\VoucherSerie::eventsToBeRecorded 2 31 µs 32 µs 1,256 bytes bytes 31 µs 32 µs 1,256 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::buildIdentityKey 1 27 µs 27 µs 688 bytes bytes 27 µs 27 µs 688 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 26 µs 27 µs 1,048 bytes bytes 26 µs 27 µs 1,048 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 26 25 µs 33 µs 632 bytes bytes 25 µs 33 µs 632 bytes bytes
App\Models\Tenant\VoucherSerie::getDeletedAtColumn 14 23 µs 35 µs 1,864 bytes bytes 23 µs 35 µs 1,864 bytes bytes
App\Services\RedirectFlow\VoucherCreator::getSeriePrefixByPlan 1 23 µs 23 µs 1,312 bytes bytes 23 µs 23 µs 1,312 bytes bytes
Illuminate\Support\Collection::only 1 22 µs 22 µs 1,072 bytes bytes 22 µs 22 µs 1,072 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::tryLock 1 20 µs 18 µs 504 bytes bytes 745 µs 557 µs 18,728 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::__construct 1 18 µs 19 µs 1,344 bytes bytes 18 µs 19 µs 1,344 bytes bytes
App\Models\Tenant\VoucherSerie::attributesToBeLogged 3 18 µs 18 µs 1,136 bytes bytes 28 µs 30 µs 3,072 bytes bytes
Illuminate\Cache\Repository::tags 2 16 µs 13 µs 760 bytes bytes 40 µs 40 µs 4,848 bytes bytes
Illuminate\Cache\TagSet::tagIds 4 15 µs 15 µs 2,080 bytes bytes 20 µs 21 µs 2,840 bytes bytes
Illuminate\Routing\UrlGenerator::Stancl\Tenancy\Bootstrappers\{cl… 3 14 µs 14 µs 1,152 bytes bytes 14 µs 14 µs 1,152 bytes bytes
Illuminate\Cache\RedisStore::tags 2 14 µs 12 µs 1,752 bytes bytes 19 µs 20 µs 2,920 bytes bytes
App\Models\Tenant\Voucher::attributesToBeLogged 2 14 µs 11 µs 1,088 bytes bytes 20 µs 20 µs 2,736 bytes bytes
App\Models\Tenant\Voucher::shouldLogEvent 1 12 µs 13 µs 696 bytes bytes 21 µs 22 µs 1,280 bytes bytes
Illuminate\Cache\TaggedCache::taggedItemKey 3 11 µs 13 µs 792 bytes bytes 37 µs 38 µs 2,784 bytes bytes
App\Models\Tenant\VoucherSerie::getQualifiedDeletedAtColumn 1 11 µs 11 µs 752 bytes bytes 12 µs 13 µs 1,384 bytes bytes
Illuminate\Cache\TagSet::getNamespace 3 10 µs µs bytes bytes 26 µs 25 µs 1,992 bytes bytes
App\Models\Tenant\VoucherSerie::getLogNameToUse 1 10 µs 10 µs 632 bytes bytes 10 µs 10 µs 632 bytes bytes
App\Models\Tenant\Voucher::isRestoring 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
App\Models\Tenant\Voucher::getLogNameToUse 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
Xhgui\Profiler\Profiler::disable 1 µs µs 776 bytes bytes 15 µs 16 µs 1,944 bytes bytes
App\Services\Vouchers\ExpirationSyncer::createKafkaMessage 1 µs µs 880 bytes bytes 2,814 µs 2,092 µs -98,824 bytes bytes
App\Models\Tenant\VoucherSerie::getActivitylogOptions 4 µs 11 µs 2,160 bytes bytes µs 11 µs 2,160 bytes bytes
Illuminate\Cache\TaggedCache::itemKey 3 µs µs 1,232 bytes bytes 44 µs 46 µs 4,016 bytes bytes
App\Models\Tenant\Voucher::getActivitylogOptions 3 µs 11 µs 1,904 bytes bytes µs 11 µs 1,904 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\Models\VoucherExpireSchedule::getEmptyWorkerValues 1 µs µs 1,224 bytes bytes µs µs 1,224 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handle 1 µs µs 696 bytes bytes 3,571 µs 1,463 µs 5,392 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 568 bytes bytes µs µs 568 bytes bytes
Illuminate\Cache\TagSet::getNames 4 µs µs 568 bytes bytes µs µs 568 bytes bytes
App\Providers\GoRendererServiceProvider::App\Providers\{closure} 1 µs µs 752 bytes bytes µs µs 1,384 bytes bytes
Xhgui\Profiler\ProfilingData::__construct 1 µ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
Illuminate\Cache\TaggedCache::__construct 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
App\Events\Voucher\VoucherActivated::__construct 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Cache\TagSet::__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
App\Services\Vouchers\NextReactivateTimeCalculator::calc 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\Voucher::shouldLogUnguarded 2 µs µs 600 bytes bytes µs µs 600 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 584 bytes bytes µs µs 584 bytes bytes
App\Services\RedirectFlow\VoucherCreator::__construct 1 µs µs 568 bytes bytes µs µs 568 bytes bytes
App\Models\Tenant\Voucher::getDescriptionForEvent 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Models\Tenant\Voucher::isLogEmpty 1 µs µs 600 bytes bytes µs µs 600 bytes bytes
App\Listeners\Voucher\VoucherTimeExpirationSync::__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 µs 632 bytes bytes µs µs 632 bytes bytes
App\Services\Templates\GoRenderer::__construct 1 µs µs 632 bytes bytes µs µs 632 bytes bytes