Profile data for GET http://isizwe.powerlynx.app/portal/api/redirect-flow/order-plan/1?hash=5d2343e32bd53c532e545a393d7e744b

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\Models\Tenant\VoucherSerie::recalculateQuantity
1,152,221 µs
App\Events\Voucher\VoucherExpirationTrack::handle
1,057,288 µs
main()
21,090 µs
App\Services\RedirectFlow\VoucherCreator::createVoucher
11,904 µs
App\Listeners\Voucher\SendStatusPageSmsNotification::handle
3,237 µs
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedData\BaseAggregatedStatistics::incrementValueForCurrentPeriod
2,440 µs

Memory Hogs

App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan
107,232 bytes
load::settings/localization_php
94,608 bytes
load::Tenant/VoucherSerie_php
48,416 bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity
44,768 bytes
load::Models/VoucherExpireSchedule_php
38,512 bytes
load::RedirectFlow/VoucherCreator_php
34,888 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\Models\Tenant\VoucherSerie::recalculateQuantity 1 1,152,221 µs 2,947 µs 44,768 bytes bytes 1,156,435 µs 6,593 µs 72,952 bytes bytes
App\Events\Voucher\VoucherExpirationTrack::handle 1 1,057,288 µs 10,971 µs -2,016 bytes bytes 1,060,930 µs 13,421 µs -83,368 bytes bytes
main() 1 21,090 µs 10,435 µs -27,344 bytes bytes 2,271,981 µs 52,676 µs 605,104 bytes bytes
App\Services\RedirectFlow\VoucherCreator::createVoucher 1 11,904 µs 8,748 µs 3,552 bytes bytes 2,247,016 µs 39,756 µs 387,472 bytes bytes
App\Listeners\Voucher\SendStatusPageSmsNotification::handle 1 3,237 µs 2,096 µs -2,416 bytes bytes 3,808 µs 2,729 µs 108,256 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 2,440 µs 743 µs 2,464 bytes bytes 2,461 µs 765 µs 3,512 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 6 2,411 µs 2,357 µs 12,176 bytes bytes 4,236 µs 3,686 µs 36,560 bytes bytes
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan 1 2,082 µs 706 µs 107,232 bytes bytes 2,555 µs 1,185 µs 171,528 bytes bytes
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure} 1 1,962 µs 2,098 µs 7,240 bytes bytes 3,237 µs 2,842 µs 25,768 bytes bytes
App\Services\Vouchers\CodeGenerator::checkIfCodeExists 1 1,263 µs 291 µs 1,136 bytes bytes 1,263 µs 291 µs 1,136 bytes bytes
App\Services\Vouchers\ExpirationSyncer::getWorkerIndex 1 1,180 µs 1,140 µs -124,328 bytes bytes 3,319 µs 2,143 µs -79,416 bytes bytes
App\Services\Vouchers\ExpirationSyncer::App\Services\Vouchers\{cl… 1 1,152 µs 528 µs -3,512 bytes bytes 2,132 µs 995 µs 44,360 bytes bytes
App\Models\Tenant\VoucherSerie::attributeValuesToBeLogged 1 1,014 µs 497 µs -232 bytes bytes 1,372 µs 870 µs 6,208 bytes bytes
App\Models\Tenant\Voucher::attributeValuesToBeLogged 1 912 µs 375 µs 2,080 bytes bytes 1,232 µs 698 µs 14,528 bytes bytes
Illuminate\Database\Eloquent\Builder::firstOrNew 1 785 µs 267 µs 6,128 bytes bytes 785 µs 267 µs 6,128 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handleVouc… 1 761 µs 294 µs -584 bytes bytes 3,277 µs 1,115 µs 6,688 bytes bytes
App\Services\Vouchers\CodeGenerator::getChars 1 729 µs 268 µs -5,256 bytes bytes 777 µs 318 µs 1,800 bytes bytes
Illuminate\Database\Eloquent\Relations\HasMany::getResults 1 716 µs 548 µs 1,288 bytes bytes 716 µs 548 µs 1,288 bytes bytes
App\Services\Vouchers\CodeGenerator::getCodeLength 1 670 µs 239 µs -5,352 bytes bytes 731 µs 301 µs 1,704 bytes bytes
load::src/ProfilingData_php 1 634 µs 344 µs 18,784 bytes bytes 634 µs 344 µs 18,784 bytes bytes
Stancl\Tenancy\CacheManager::__call 2 603 µs 202 µs 1,800 bytes bytes 2,267 µs 1,153 µs 72,352 bytes bytes
App\Models\Tenant\VoucherSerie::logChanges 2 566 µs 569 µs 11,680 bytes bytes 595 µs 598 µs 14,120 bytes bytes
Illuminate\Redis\Connections\PhpRedisConnection::zadd 1 471 µs 72 µs 848 bytes bytes 471 µs 72 µs 848 bytes bytes
Illuminate\Cache\RedisTaggedCache::put 1 417 µs 102 µs 536 bytes bytes 1,019 µs 305 µs 4,488 bytes bytes
load::Voucher/ActivatedVoucherStatisticUpdate_php 1 334 µs 246 µs 7,760 bytes bytes 334 µs 246 µs 7,760 bytes bytes
load::settings/localization_php 3 320 µs 322 µs 94,608 bytes bytes 320 µs 322 µs 94,608 bytes bytes
load::Tenant/VoucherSerie_php 1 319 µs 321 µs 48,416 bytes bytes 319 µs 321 µs 48,416 bytes bytes
App\Models\Tenant\Voucher::logChanges 1 301 µs 303 µs 9,712 bytes bytes 310 µs 312 µs 10,520 bytes bytes
load::RedirectFlow/VoucherCreator_php 1 261 µs 263 µs 34,888 bytes bytes 261 µs 263 µs 34,888 bytes bytes
load::Voucher/SendStatusPageSmsNotification_php 1 252 µs 255 µs 31,504 bytes bytes 252 µs 255 µs 31,504 bytes bytes
load::settings/finance_php 4 173 µs 177 µs 28,192 bytes bytes 173 µs 177 µs 28,192 bytes bytes
load::Cache/RedisTaggedCache_php 1 168 µs 169 µs 16,136 bytes bytes 168 µs 169 µs 16,136 bytes bytes
App\Models\Tenant\Voucher::triggerSyncEvent 1 164 µs 286 µs -2,600 bytes bytes 928 µs 1,040 µs 3,648 bytes bytes
load::Cache/RedisTagSet_php 1 151 µs 153 µs 19,104 bytes bytes 151 µs 153 µs 19,104 bytes bytes
load::Templates/GoRenderer_php 1 146 µs 148 µs 18,840 bytes bytes 146 µs 148 µs 18,840 bytes bytes
App\Services\Vouchers\ExpirationSyncer::syncVoucher 1 136 µs 135 µs -7,080 bytes bytes 3,642 µs 2,450 µs -81,352 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 104 µs 191 µs 792 bytes bytes 104 µs 191 µs 792 bytes bytes
load::Vouchers/CodeGenerator_php 1 103 µs 105 µs 7,296 bytes bytes 103 µs 105 µs 7,296 bytes bytes
App\Models\Tenant\Voucher::getExpireTime 1 102 µs 103 µs 1,568 bytes bytes 102 µs 103 µs 1,568 bytes bytes
load::Models/VoucherExpireSchedule_php 1 102 µs 104 µs 38,512 bytes bytes 102 µs 104 µs 38,512 bytes bytes
load::settings/captive_portal_php 2 97 µs 151 µs 14,880 bytes bytes 97 µs 151 µs 14,880 bytes bytes
App\Models\Tenant\Voucher::customer 1 83 µs 85 µs 8,808 bytes bytes 83 µs 85 µs 8,808 bytes bytes
load::Vouchers/NextReactivateTimeCalculator_php 1 82 µs 83 µs 7,392 bytes bytes 82 µs 83 µs 7,392 bytes bytes
load::Plans/BuyMutex_php 1 81 µs 83 µs 6,592 bytes bytes 81 µs 83 µs 6,592 bytes bytes
load::Cache/TaggedCache_php 1 81 µs 82 µs 12,584 bytes bytes 81 µs 82 µs 12,584 bytes bytes
load::settings/customers_php 2 76 µs 76 µs 10,048 bytes bytes 76 µs 76 µs 10,048 bytes bytes
load::Expiration/ExpirationSyncerPackage_php 1 76 µs 61 µs 2,696 bytes bytes 76 µs 61 µs 2,696 bytes bytes
load::Cache/TagSet_php 1 75 µs 76 µs 12,576 bytes bytes 75 µs 76 µs 12,576 bytes bytes
Illuminate\Cache\RedisStore::tags 2 73 µs 66 µs -5,088 bytes bytes 554 µs 554 µs 56,480 bytes bytes
App\Models\Tenant\Voucher::triggerExpirationSync 1 72 µs 65 µs -1,552 bytes bytes 1,061,104 µs 13,590 µs -78,008 bytes bytes
load::settings/status_page_notifications_php 3 71 µs 75 µs 16,976 bytes bytes 71 µs 75 µs 16,976 bytes bytes
Illuminate\Cache\RedisTagSet::addEntry 1 68 µs 66 µs 312 bytes bytes 545 µs 144 µs 2,592 bytes bytes
load::OrderProcess/UserInfo_php 1 65 µs 66 µs 2,448 bytes bytes 65 µs 66 µs 2,448 bytes bytes
load::Voucher/VoucherActivated_php 1 65 µs 66 µs 3,368 bytes bytes 65 µs 66 µs 3,368 bytes bytes
App\Models\VoucherExpireSchedule::getEmptyWorkerValues 1 61 µs 62 µs 1,224 bytes bytes 61 µs 62 µs 1,224 bytes bytes
load::Voucher/VoucherTimeExpirationSync_php 1 55 µs 56 µs 3,304 bytes bytes 55 µs 56 µs 3,304 bytes bytes
load::AggregatedData/ActivatedVouchersAggregatedStatistics_php 1 55 µs 56 µs 3,760 bytes bytes 55 µs 56 µs 3,760 bytes bytes
Illuminate\Cache\TaggedCache::event 4 50 µs 47 µs 1,296 bytes bytes 58 µs 60 µs 2,448 bytes bytes
App\Models\Tenant\Voucher::macs 1 48 µs 206 µs 4,960 bytes bytes 48 µs 206 µs 4,960 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogEvent 1 47 µs 48 µs 696 bytes bytes 96 µs 97 µs 1,960 bytes bytes
App\Models\Tenant\VoucherSerie::isRestoring 1 46 µs 45 µs 664 bytes bytes 49 µs 49 µs 1,264 bytes bytes
load::Voucher/VoucherExpirationTrack_php 1 45 µs 46 µs 2,976 bytes bytes 45 µs 46 µs 2,976 bytes bytes
App\Models\Tenant\VoucherSerie::initializeSoftDeletes 6 43 µs 33 µs 1,960 bytes bytes 65 µs 67 µs 2,592 bytes bytes
load::settings/portal_php 2 40 µs 40 µs 6,368 bytes bytes 40 µs 40 µs 6,368 bytes bytes
load::settings/splynx_integration_php 2 40 µs 42 µs 12,752 bytes bytes 40 µs 42 µs 12,752 bytes bytes
App\Models\Tenant\VoucherSerie::eventsToBeRecorded 3 40 µs 42 µs 2,168 bytes bytes 40 µs 42 µs 2,168 bytes bytes
load::settings/finance_notifications_php 2 38 µs 40 µs 8,944 bytes bytes 38 µs 40 µs 8,944 bytes bytes
load::settings/voucher_limit_notifications_php 2 36 µs 37 µs 12,080 bytes bytes 36 µs 37 µs 12,080 bytes bytes
Xhgui\Profiler\Profiler::disable 1 36 µs 33 µs -4,224 bytes bytes 680 µs 387 µs 15,728 bytes bytes
App\Models\Tenant\VoucherSerie::bootLogsActivity 1 35 µs 17 µs 448 bytes bytes 68 µs 69 µs 9,736 bytes bytes
App\Services\RedirectFlow\VoucherCreator::getSeriePrefixByPlan 1 35 µs 36 µs 2,368 bytes bytes 35 µs 36 µs 2,368 bytes bytes
Illuminate\Cache\Repository::tags 2 33 µs 31 µs 760 bytes bytes 594 µs 593 µs 59,048 bytes bytes
App\Models\VoucherExpireSchedule::getMinWorkerIndex 1 32 µs 34 µs 2,008 bytes bytes 32 µs 34 µs 2,008 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 29 µs 28 µs 6,400 bytes bytes 2,800 µs 938 µs 11,040 bytes bytes
App\Models\Tenant\VoucherSerie::getDeletedAtColumn 14 27 µs 40 µs 1,864 bytes bytes 27 µs 40 µs 1,864 bytes bytes
App\Models\Tenant\VoucherSerie::attributesToBeLogged 3 27 µs 22 µs 1,136 bytes bytes 38 µs 40 µs 3,072 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::buildIdentityKey 1 26 µs 27 µs 688 bytes bytes 26 µs 27 µs 688 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 26 26 µs 36 µs 632 bytes bytes 26 µs 36 µs 632 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 21 µs 22 µs 1,048 bytes bytes 21 µs 22 µs 1,048 bytes bytes
App\Providers\GoRendererServiceProvider::App\Providers\{closure} 1 20 µs 17 µs -136 bytes bytes 167 µs 168 µs 19,336 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::tryLock 1 19 µs 19 µs 536 bytes bytes 2,312 µs 1,199 µs 73,576 bytes bytes
Illuminate\Cache\TagSet::tagIds 4 17 µs 16 µs 2,080 bytes bytes 22 µs 23 µs 2,840 bytes bytes
App\Models\Tenant\Voucher::shouldLogEvent 1 16 µs 17 µs 696 bytes bytes 25 µs 27 µs 1,280 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::__construct 1 15 µs 17 µs 1,344 bytes bytes 15 µs 17 µs 1,344 bytes bytes
App\Models\Tenant\Voucher::attributesToBeLogged 2 13 µs 12 µs 1,088 bytes bytes 19 µs 20 µs 2,736 bytes bytes
Illuminate\Routing\UrlGenerator::Stancl\Tenancy\Bootstrappers\{cl… 3 12 µs 13 µs 1,136 bytes bytes 12 µs 13 µs 1,136 bytes bytes
Illuminate\Cache\TaggedCache::taggedItemKey 3 12 µs 12 µs 2,072 bytes bytes 38 µs 39 µs 4,064 bytes bytes
App\Models\Tenant\VoucherSerie::getQualifiedDeletedAtColumn 1 12 µs 12 µs 752 bytes bytes 14 µs 14 µs 1,384 bytes bytes
App\Models\Tenant\Voucher::getLogNameToUse 1 10 µs 10 µs 632 bytes bytes 10 µs 10 µs 632 bytes bytes
App\Models\Tenant\VoucherSerie::getActivitylogOptions 4 10 µs 15 µs 2,160 bytes bytes 10 µs 15 µs 2,160 bytes bytes
App\Models\Tenant\VoucherSerie::getLogNameToUse 1 10 µs 11 µs 632 bytes bytes 10 µs 11 µs 632 bytes bytes
Illuminate\Cache\TagSet::getNamespace 3 µs µs bytes bytes 26 µs 27 µs 1,992 bytes bytes
App\Models\Tenant\Voucher::isRestoring 1 µs 10 µs 584 bytes bytes µs 10 µs 584 bytes bytes
App\Services\Vouchers\ExpirationSyncer::createKafkaMessage 1 µs µs 880 bytes bytes 3,328 µs 2,151 µs -78,536 bytes bytes
Illuminate\Cache\TaggedCache::itemKey 3 µs µs 1,232 bytes bytes 45 µs 47 µs 5,296 bytes bytes
App\Models\Tenant\Voucher::getActivitylogOptions 3 µs 10 µs 1,904 bytes bytes µs 10 µs 1,904 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handle 1 µs µs 696 bytes bytes 3,283 µs 1,120 µs 7,384 bytes bytes
Xhgui\Profiler\ProfilingData::__construct 1 µ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
Illuminate\Cache\Repository::set 1 µs µs 632 bytes bytes 1,024 µs 310 µs 5,120 bytes bytes
Xhgui\Profiler\Profiler::registerShutdownHandler 1 µs µs 1,200 bytes bytes µs µs 1,200 bytes bytes
Illuminate\Cache\Repository::supportsTags 2 µs µs 1,224 bytes bytes µs µs 1,224 bytes bytes
Illuminate\Cache\TagSet::getNames 4 µs µs 568 bytes bytes µs µs 568 bytes bytes
Illuminate\Cache\Events\CacheEvent::setTags 4 µs µs 584 bytes bytes µs µs 584 bytes bytes
App\Models\Tenant\VoucherSerie::bootSoftDeletes 1 µs µs 1,064 bytes bytes µs µs 1,064 bytes bytes
App\Models\Tenant\VoucherSerie::restored 1 µs µs 928 bytes bytes µs µs 928 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogUnguarded 3 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Support\Collection::only 1 µs µs 1,072 bytes bytes µs µs 1,072 bytes bytes
Xhgui\Profiler\Profilers\XHProf::disable 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
App\Dto\BaseData::fromArray 1 µs µs 616 bytes bytes µs µs 616 bytes bytes
Illuminate\Cache\TagSet::__construct 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
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
App\Models\Tenant\Voucher::shouldLogUnguarded 2 µs µs 600 bytes bytes µs µs 600 bytes bytes
App\Services\RedirectFlow\VoucherCreator::__construct 1 µs µs 568 bytes bytes µs µs 568 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::calc 1 µs µs 632 bytes bytes µs µs 632 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\Events\Voucher\VoucherActivated::__construct 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::__construct 1 µs µs 568 bytes bytes µs µs 568 bytes bytes
Illuminate\Cache\RedisStore::getPrefix 1 µs µs 584 bytes bytes µs µs 584 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