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

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,499,041 µs
App\Services\Vouchers\ExpirationSyncer::getWorkerIndex
1,132,239 µs
App\Services\Vouchers\ExpirationSyncer::syncVoucher
1,060,494 µs
main()
25,749 µs
App\Services\RedirectFlow\VoucherCreator::createVoucher
9,931 µs
App\Listeners\Voucher\SendStatusPageSmsNotification::handle
4,600 µs

Memory Hogs

load::settings/localization_php
94,608 bytes
load::Voucher/ActivatedVoucherStatisticUpdate_php
89,680 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,768 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,499,041 µs 3,460 µs 44,768 bytes bytes 1,503,249 µs 6,917 µs 77,016 bytes bytes
App\Services\Vouchers\ExpirationSyncer::getWorkerIndex 1 1,132,239 µs 12,621 µs -132,696 bytes bytes 1,135,753 µs 14,132 µs -87,784 bytes bytes
App\Services\Vouchers\ExpirationSyncer::syncVoucher 1 1,060,494 µs 14,159 µs -800 bytes bytes 2,196,456 µs 28,583 µs -80,504 bytes bytes
main() 1 25,749 µs 10,948 µs -38,416 bytes bytes 3,759,371 µs 67,319 µs 607,976 bytes bytes
App\Services\RedirectFlow\VoucherCreator::createVoucher 1 9,931 µs 5,619 µs 3,696 bytes bytes 3,729,816 µs 53,696 µs 401,000 bytes bytes
App\Listeners\Voucher\SendStatusPageSmsNotification::handle 1 4,600 µs 3,642 µs -2,416 bytes bytes 5,253 µs 4,344 µs 104,160 bytes bytes
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan 1 2,633 µs 693 µs 22,752 bytes bytes 3,091 µs 1,156 µs 87,048 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 6 2,069 µs 2,137 µs 12,176 bytes bytes 4,225 µs 3,476 µs 40,624 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 2,051 µs 721 µs 2,464 bytes bytes 2,073 µs 745 µs 3,512 bytes bytes
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure} 1 1,813 µs 1,869 µs 7,240 bytes bytes 3,123 µs 2,565 µs 25,728 bytes bytes
Illuminate\Database\Eloquent\Builder::firstOrNew 1 1,622 µs 540 µs 6,128 bytes bytes 1,622 µs 540 µs 6,128 bytes bytes
App\Services\Vouchers\ExpirationSyncer::App\Services\Vouchers\{cl… 1 1,588 µs 659 µs -3,512 bytes bytes 3,465 µs 1,458 µs 44,360 bytes bytes
App\Services\Vouchers\CodeGenerator::checkIfCodeExists 1 1,569 µs 309 µs 1,136 bytes bytes 1,569 µs 309 µs 1,136 bytes bytes
App\Models\Tenant\VoucherSerie::attributeValuesToBeLogged 1 1,313 µs 463 µs -232 bytes bytes 1,602 µs 777 µs 10,304 bytes bytes
App\Models\Tenant\Voucher::attributeValuesToBeLogged 1 988 µs 370 µs 2,080 bytes bytes 1,268 µs 652 µs 14,488 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handleVouc… 1 978 µs 364 µs -584 bytes bytes 3,100 µs 1,159 µs 6,688 bytes bytes
App\Services\Vouchers\CodeGenerator::getCodeLength 1 810 µs 266 µs -5,352 bytes bytes 847 µs 304 µs 7,336 bytes bytes
App\Services\Vouchers\CodeGenerator::getChars 1 797 µs 246 µs -5,256 bytes bytes 836 µs 286 µs 1,800 bytes bytes
Illuminate\Database\Eloquent\Relations\HasMany::getResults 1 796 µs 622 µs 1,288 bytes bytes 796 µs 622 µs 1,288 bytes bytes
Stancl\Tenancy\CacheManager::__call 2 620 µs 214 µs 3,080 bytes bytes 2,414 µs 1,290 µs 75,952 bytes bytes
load::settings/localization_php 3 487 µs 489 µs 94,608 bytes bytes 487 µs 489 µs 94,608 bytes bytes
App\Models\Tenant\VoucherSerie::logChanges 2 461 µs 463 µs 11,648 bytes bytes 490 µs 493 µs 14,088 bytes bytes
Illuminate\Redis\Connections\PhpRedisConnection::zadd 1 447 µs 65 µs 848 bytes bytes 447 µs 65 µs 848 bytes bytes
Illuminate\Cache\RedisTaggedCache::put 1 412 µs 75 µs 536 bytes bytes 1,179 µs 462 µs 8,720 bytes bytes
load::Tenant/VoucherSerie_php 1 327 µs 330 µs 48,416 bytes bytes 327 µs 330 µs 48,416 bytes bytes
load::RedirectFlow/VoucherCreator_php 1 307 µs 309 µs 34,768 bytes bytes 307 µs 309 µs 34,768 bytes bytes
load::Voucher/SendStatusPageSmsNotification_php 1 285 µs 408 µs 31,224 bytes bytes 285 µs 408 µs 31,224 bytes bytes
App\Models\Tenant\Voucher::logChanges 1 261 µs 261 µs 9,672 bytes bytes 270 µs 271 µs 10,480 bytes bytes
load::src/ProfilingData_php 1 222 µs 224 µs 18,784 bytes bytes 222 µs 224 µs 18,784 bytes bytes
Illuminate\Cache\RedisTagSet::addEntry 1 201 µs 195 µs -952 bytes bytes 714 µs 331 µs 6,824 bytes bytes
load::Models/VoucherExpireSchedule_php 1 189 µs 192 µs 38,512 bytes bytes 189 µs 192 µs 38,512 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 173 µs 322 µs 792 bytes bytes 173 µs 322 µs 792 bytes bytes
load::Templates/GoRenderer_php 1 158 µs 160 µs 18,840 bytes bytes 158 µs 160 µs 18,840 bytes bytes
load::Cache/RedisTagSet_php 1 142 µs 143 µs 19,104 bytes bytes 142 µs 143 µs 19,104 bytes bytes
load::settings/finance_php 4 133 µs 137 µs 33,824 bytes bytes 133 µs 137 µs 33,824 bytes bytes
load::Cache/RedisTaggedCache_php 1 132 µs 133 µs 16,136 bytes bytes 132 µs 133 µs 16,136 bytes bytes
load::settings/captive_portal_php 2 126 µs 128 µs 14,880 bytes bytes 126 µs 128 µs 14,880 bytes bytes
App\Models\Tenant\Voucher::triggerSyncEvent 1 126 µs 126 µs -2,600 bytes bytes 984 µs 810 µs 3,648 bytes bytes
load::Voucher/ActivatedVoucherStatisticUpdate_php 1 121 µs 122 µs 89,680 bytes bytes 121 µs 122 µs 89,680 bytes bytes
load::Plans/BuyMutex_php 1 120 µs 104 µs 6,592 bytes bytes 120 µs 104 µs 6,592 bytes bytes
load::Cache/TagSet_php 1 113 µs 114 µs 12,576 bytes bytes 113 µs 114 µs 12,576 bytes bytes
load::Voucher/VoucherActivated_php 1 113 µs 115 µs 3,368 bytes bytes 113 µs 115 µs 3,368 bytes bytes
load::settings/customers_php 2 111 µs 113 µs 10,048 bytes bytes 111 µs 113 µs 10,048 bytes bytes
load::Vouchers/ExpirationSyncer_php 1 111 µs 111 µs 14,000 bytes bytes 111 µs 111 µs 14,000 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogEvent 1 99 µs 99 µs 696 bytes bytes 192 µs 194 µs 1,960 bytes bytes
load::settings/status_page_notifications_php 3 90 µs 135 µs 16,976 bytes bytes 90 µs 135 µs 16,976 bytes bytes
load::Vouchers/CodeGenerator_php 1 90 µs 90 µs 7,296 bytes bytes 90 µs 90 µs 7,296 bytes bytes
App\Models\Tenant\VoucherSerie::isRestoring 1 90 µs 90 µs 664 bytes bytes 93 µs 95 µs 1,264 bytes bytes
App\Models\Tenant\Voucher::getExpireTime 1 88 µs 86 µs 272 bytes bytes 121 µs 121 µs 3,496 bytes bytes
load::Vouchers/NextReactivateTimeCalculator_php 1 84 µs 85 µs 7,392 bytes bytes 84 µs 85 µs 7,392 bytes bytes
App\Models\Tenant\Voucher::App\Models\Tenant\{closure} 2 82 µs 80 µs 1,160 bytes bytes 2,197,880 µs 29,836 µs -58,744 bytes bytes
App\Models\Tenant\VoucherSerie::eventsToBeRecorded 3 80 µs 82 µs 2,168 bytes bytes 80 µs 82 µs 2,168 bytes bytes
load::Cache/TaggedCache_php 1 78 µs 79 µs 13,224 bytes bytes 78 µs 79 µs 13,224 bytes bytes
load::Voucher/VoucherTimeExpirationSync_php 1 77 µs 79 µs 3,304 bytes bytes 77 µs 79 µs 3,304 bytes bytes
App\Models\Tenant\Voucher::triggerExpirationSync 1 74 µs 69 µs -1,552 bytes bytes 2,196,798 µs 28,930 µs -64,848 bytes bytes
Illuminate\Cache\RedisStore::tags 2 71 µs 66 µs -5,088 bytes bytes 540 µs 541 µs 57,120 bytes bytes
App\Models\Tenant\Voucher::customer 1 71 µs 72 µs 8,808 bytes bytes 71 µs 72 µs 8,808 bytes bytes
App\Models\Tenant\Voucher::macs 1 62 µs 62 µs 4,960 bytes bytes 62 µs 62 µs 4,960 bytes bytes
App\Models\VoucherExpireSchedule::getMinWorkerIndex 1 60 µs 61 µs 2,008 bytes bytes 60 µs 61 µs 2,008 bytes bytes
load::Expiration/ExpirationSyncerPackage_php 1 54 µs 55 µs 2,696 bytes bytes 54 µs 55 µs 2,696 bytes bytes
Illuminate\Routing\UrlGenerator::Stancl\Tenancy\Bootstrappers\{cl… 3 53 µs 57 µs 1,136 bytes bytes 53 µs 57 µs 1,136 bytes bytes
load::AggregatedData/ActivatedVouchersAggregatedStatistics_php 1 49 µs 50 µs 3,760 bytes bytes 49 µs 50 µs 3,760 bytes bytes
Illuminate\Cache\TaggedCache::event 4 47 µs 42 µs 1,296 bytes bytes 55 µs 55 µs 2,448 bytes bytes
Carbon\Carbon::rawAddUnit 2 47 µs 47 µs 680 bytes bytes 57 µs 59 µs 1,800 bytes bytes
load::Voucher/VoucherExpirationTrack_php 1 46 µs 47 µs 3,016 bytes bytes 46 µs 47 µs 3,016 bytes bytes
App\Services\RedirectFlow\VoucherCreator::getSeriePrefixByPlan 1 43 µs 43 µs 2,368 bytes bytes 43 µs 43 µs 2,368 bytes bytes
load::settings/splynx_integration_php 2 41 µs 42 µs 12,752 bytes bytes 41 µs 42 µs 12,752 bytes bytes
load::settings/finance_notifications_php 2 40 µs 40 µs 8,944 bytes bytes 40 µs 40 µs 8,944 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 40 µs 26 µs 768 bytes bytes 3,292 µs 925 µs 11,040 bytes bytes
App\Models\Tenant\VoucherSerie::initializeSoftDeletes 6 38 µs 31 µs 1,960 bytes bytes 59 µs 61 µs 2,592 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
load::settings/portal_php 2 36 µs 37 µs 6,368 bytes bytes 36 µs 37 µs 6,368 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::buildIdentityKey 1 33 µs 35 µs 688 bytes bytes 33 µs 35 µs 688 bytes bytes
App\Events\Voucher\VoucherExpirationTrack::handle 1 32 µs 38 µs -3,744 bytes bytes 2,196,599 µs 28,732 µs -70,248 bytes bytes
Xhgui\Profiler\Profiler::disable 1 29 µs 26 µs -4,224 bytes bytes 260 µs 260 µs 15,728 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\Models\Tenant\VoucherSerie::getDeletedAtColumn 14 26 µs 37 µs 1,864 bytes bytes 26 µs 37 µs 1,864 bytes bytes
App\Models\Tenant\VoucherSerie::attributesToBeLogged 3 25 µs 20 µs 1,136 bytes bytes 38 µs 40 µs 3,072 bytes bytes
Carbon\Carbon::addUnit 2 23 µs 22 µs 4,176 bytes bytes 80 µs 81 µs 5,976 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::tryLock 1 22 µs 17 µs 536 bytes bytes 2,469 µs 1,342 µs 77,176 bytes bytes
Junges\Kafka\Factory::publish 1 22 µs 105 µs 1,008 bytes bytes 22 µs 105 µs 1,008 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 22 µs 24 µs 1,048 bytes bytes 22 µs 24 µs 1,048 bytes bytes
Illuminate\Cache\Repository::tags 2 20 µs 15 µs 760 bytes bytes 566 µs 565 µs 59,048 bytes bytes
App\Services\Templates\GoRenderer::__construct 1 20 µs 21 µs 632 bytes bytes 20 µs 21 µs 632 bytes bytes
App\Providers\GoRendererServiceProvider::App\Providers\{closure} 1 17 µs 14 µs -4,232 bytes bytes 195 µs 195 µs 15,240 bytes bytes
Illuminate\Cache\TagSet::tagIds 4 15 µs 14 µs 2,080 bytes bytes 20 µs 22 µs 2,840 bytes bytes
App\Models\Tenant\Voucher::shouldLogEvent 1 15 µs 15 µs 696 bytes bytes 25 µs 26 µs 1,280 bytes bytes
App\Models\Tenant\VoucherSerie::bootLogsActivity 1 14 µs 13 µs 448 bytes bytes 44 µs 45 µs 9,736 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::__construct 1 14 µs 15 µs 1,344 bytes bytes 14 µs 15 µs 1,344 bytes bytes
App\Models\Tenant\Voucher::getFullCode 1 14 µs 13 µs 632 bytes bytes 16 µs 16 µs 1,296 bytes bytes
App\Models\Tenant\Voucher::attributesToBeLogged 2 13 µs 12 µs 1,088 bytes bytes 19 µs 21 µs 2,736 bytes bytes
App\Models\Tenant\VoucherSerie::getActivitylogOptions 4 13 µs 18 µs 2,160 bytes bytes 13 µs 18 µs 2,160 bytes bytes
Illuminate\Cache\TaggedCache::taggedItemKey 3 12 µs 12 µs 792 bytes bytes 38 µs 38 µs 2,784 bytes bytes
App\Services\Vouchers\ExpirationSyncer::createKafkaMessage 1 12 µs 11 µs 880 bytes bytes 1,135,765 µs 14,143 µs -86,904 bytes bytes
App\Models\Tenant\VoucherSerie::getLogNameToUse 1 12 µs 12 µs 632 bytes bytes 12 µs 12 µs 632 bytes bytes
Illuminate\Cache\TagSet::getNamespace 3 11 µs 10 µs bytes bytes 26 µs 26 µs 1,992 bytes bytes
App\Models\Tenant\VoucherSerie::getQualifiedDeletedAtColumn 1 11 µs 11 µs 752 bytes bytes 13 µs 13 µs 1,384 bytes bytes
App\Models\Tenant\Voucher::isRestoring 1 10 µs 11 µs 584 bytes bytes 10 µs 11 µs 584 bytes bytes
App\Models\Tenant\Voucher::getLogNameToUse 1 10 µs 10 µs 632 bytes bytes 10 µs 10 µs 632 bytes bytes
Illuminate\Cache\TaggedCache::itemKey 3 µs 12 µs 1,232 bytes bytes 47 µs 50 µs 4,016 bytes bytes
Carbon\Carbon::isModifiableUnit 2 µs 12 µs 1,576 bytes bytes µs 12 µs 1,576 bytes bytes
App\Models\Tenant\Voucher::generateFullCode 2 µs µs 1,344 bytes bytes µs µs 1,344 bytes bytes
App\Models\Tenant\Voucher::getActivitylogOptions 3 µs 10 µs 1,904 bytes bytes µs 10 µs 1,904 bytes bytes
Carbon\Carbon::rawAdd 2 µs µs 552 bytes bytes µs µs 552 bytes bytes
App\Models\VoucherExpireSchedule::getEmptyWorkerValues 1 µs µs 1,224 bytes bytes µs µs 1,224 bytes bytes
Illuminate\Cache\RedisTagSet::tagId 4 µs µs 760 bytes bytes µs µs 760 bytes bytes
Illuminate\Support\Collection::only 1 µs 16 µs 5,168 bytes bytes µs 16 µs 5,168 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handle 1 µs µs 696 bytes bytes 3,105 µs 1,164 µs 7,384 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
Illuminate\Cache\Repository::supportsTags 2 µs µs 584 bytes bytes µs µs 584 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
Carbon\CarbonInterval::invert 2 µs µs 568 bytes bytes µs µs 568 bytes bytes
App\Models\Tenant\VoucherSerie::bootSoftDeletes 1 µs µs 1,064 bytes bytes µs µs 1,064 bytes bytes
Xhgui\Profiler\Profilers\XHProf::disable 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
Carbon\Carbon::getMagicParameter 2 µs µs 1,168 bytes bytes µs µs 1,168 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\Models\Tenant\VoucherSerie::shouldLogUnguarded 3 µ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\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\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\VoucherSerie::restored 1 µs µs 928 bytes bytes µs µs 928 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\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\Events\Voucher\VoucherActivated::__construct 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