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

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,467,140 µs
App\Events\Voucher\VoucherExpirationTrack::handle
1,045,624 µs
main()
28,845 µs
App\Services\RedirectFlow\VoucherCreator::createVoucher
9,831 µs
App\Listeners\Voucher\SendStatusPageSmsNotification::handle
3,756 µs
App\Services\Vouchers\ExpirationSyncer::App\Services\Vouchers\{closure}
2,392 µs

Memory Hogs

load::settings/localization_php
94,608 bytes
App\Services\RedirectFlow\VoucherCreator::createVoucher
85,648 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,848 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,467,140 µs 2,816 µs 44,768 bytes bytes 1,471,419 µs 6,549 µs 72,952 bytes bytes
App\Events\Voucher\VoucherExpirationTrack::handle 1 1,045,624 µs 12,507 µs -2,016 bytes bytes 1,052,202 µs 17,808 µs -80,160 bytes bytes
main() 1 28,845 µs 12,351 µs -22,152 bytes bytes 2,586,628 µs 59,778 µs 592,784 bytes bytes
App\Services\RedirectFlow\VoucherCreator::createVoucher 1 9,831 µs 7,301 µs 85,648 bytes bytes 2,553,988 µs 44,915 µs 387,480 bytes bytes
App\Listeners\Voucher\SendStatusPageSmsNotification::handle 1 3,756 µs 2,405 µs -2,576 bytes bytes 4,357 µs 3,357 µs 108,096 bytes bytes
App\Services\Vouchers\ExpirationSyncer::App\Services\Vouchers\{cl… 1 2,392 µs 1,029 µs -680 bytes bytes 4,158 µs 1,783 µs 47,192 bytes bytes
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan 1 2,387 µs 729 µs 22,752 bytes bytes 2,875 µs 1,221 µs 86,408 bytes bytes
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure} 1 2,302 µs 2,628 µs 7,240 bytes bytes 3,990 µs 3,619 µs 25,768 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 2,268 µs 626 µs 2,464 bytes bytes 2,290 µs 649 µs 3,512 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 6 2,116 µs 2,257 µs 12,176 bytes bytes 4,299 µs 3,754 µs 36,560 bytes bytes
App\Services\Vouchers\ExpirationSyncer::getWorkerIndex 1 1,820 µs 2,760 µs -123,952 bytes bytes 5,988 µs 4,554 µs -76,208 bytes bytes
Illuminate\Database\Eloquent\Builder::firstOrNew 1 1,502 µs 486 µs 6,128 bytes bytes 1,502 µs 486 µs 6,128 bytes bytes
App\Services\Vouchers\CodeGenerator::checkIfCodeExists 1 1,491 µs 347 µs 1,136 bytes bytes 1,491 µs 347 µs 1,136 bytes bytes
App\Models\Tenant\VoucherSerie::attributeValuesToBeLogged 1 1,253 µs 550 µs -232 bytes bytes 1,522 µs 829 µs 6,208 bytes bytes
App\Models\Tenant\Voucher::attributeValuesToBeLogged 1 1,231 µs 527 µs 2,080 bytes bytes 1,631 µs 928 µs 14,528 bytes bytes
Illuminate\Database\Eloquent\Relations\HasMany::getResults 1 1,118 µs 772 µs 1,288 bytes bytes 1,118 µs 772 µs 1,288 bytes bytes
App\Services\Vouchers\CodeGenerator::getChars 1 959 µs 282 µs -5,256 bytes bytes 1,001 µs 324 µs 1,800 bytes bytes
App\Services\Vouchers\CodeGenerator::getCodeLength 1 894 µs 312 µs -5,352 bytes bytes 931 µs 350 µs 1,704 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handleVouc… 1 892 µs 282 µs -584 bytes bytes 3,277 µs 1,028 µs 6,688 bytes bytes
Stancl\Tenancy\CacheManager::__call 2 777 µs 202 µs 3,080 bytes bytes 2,497 µs 1,200 µs 71,720 bytes bytes
App\Models\Tenant\VoucherSerie::logChanges 2 565 µs 567 µs 11,680 bytes bytes 593 µs 596 µs 14,120 bytes bytes
load::settings/localization_php 3 457 µs 461 µs 94,608 bytes bytes 457 µs 461 µs 94,608 bytes bytes
Illuminate\Redis\Connections\PhpRedisConnection::zadd 1 443 µs 71 µs 848 bytes bytes 443 µs 71 µs 848 bytes bytes
Illuminate\Cache\RedisTaggedCache::put 1 442 µs 90 µs 536 bytes bytes 1,029 µs 304 µs 4,488 bytes bytes
App\Models\Tenant\Voucher::logChanges 1 372 µs 371 µs 9,712 bytes bytes 390 µs 390 µs 10,520 bytes bytes
load::Tenant/VoucherSerie_php 1 363 µs 364 µs 48,416 bytes bytes 363 µs 364 µs 48,416 bytes bytes
load::RedirectFlow/VoucherCreator_php 1 321 µs 322 µs 34,848 bytes bytes 321 µs 322 µs 34,848 bytes bytes
load::Voucher/SendStatusPageSmsNotification_php 1 260 µs 261 µs 31,504 bytes bytes 260 µs 261 µs 31,504 bytes bytes
App\Services\Vouchers\ExpirationSyncer::syncVoucher 1 246 µs 403 µs -7,080 bytes bytes 6,578 µs 5,301 µs -78,144 bytes bytes
App\Models\Tenant\Voucher::getExpireTime 1 238 µs 240 µs 1,568 bytes bytes 238 µs 240 µs 1,568 bytes bytes
App\Models\Tenant\Voucher::triggerSyncEvent 1 229 µs 415 µs -2,600 bytes bytes 1,426 µs 1,383 µs 3,648 bytes bytes
load::Models/VoucherExpireSchedule_php 1 212 µs 213 µs 38,512 bytes bytes 212 µs 213 µs 38,512 bytes bytes
load::Cache/RedisTaggedCache_php 1 191 µs 193 µs 16,136 bytes bytes 191 µs 193 µs 16,136 bytes bytes
load::Templates/GoRenderer_php 1 170 µs 172 µs 18,840 bytes bytes 170 µs 172 µs 18,840 bytes bytes
load::Plans/BuyMutex_php 1 165 µs 167 µs 6,592 bytes bytes 165 µs 167 µs 6,592 bytes bytes
load::Cache/RedisTagSet_php 1 153 µs 154 µs 19,104 bytes bytes 153 µs 154 µs 19,104 bytes bytes
load::settings/finance_php 4 148 µs 150 µs 28,192 bytes bytes 148 µs 150 µs 28,192 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 143 µs 150 µs 776 bytes bytes 143 µs 150 µs 776 bytes bytes
App\Models\Tenant\Voucher::triggerExpirationSync 1 132 µs 124 µs -1,552 bytes bytes 1,052,528 µs 18,144 µs -74,800 bytes bytes
load::settings/customers_php 2 120 µs 212 µs 14,144 bytes bytes 120 µs 212 µs 14,144 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogEvent 1 120 µs 121 µs 696 bytes bytes 198 µs 201 µs 1,960 bytes bytes
load::settings/captive_portal_php 2 113 µs 114 µs 14,880 bytes bytes 113 µs 114 µs 14,880 bytes bytes
load::Voucher/VoucherActivated_php 1 112 µs 530 µs 3,368 bytes bytes 112 µs 530 µs 3,368 bytes bytes
load::Voucher/ActivatedVoucherStatisticUpdate_php 1 110 µs 112 µs 7,760 bytes bytes 110 µs 112 µs 7,760 bytes bytes
load::Voucher/VoucherTimeExpirationSync_php 1 99 µs 115 µs 3,304 bytes bytes 99 µs 115 µs 3,304 bytes bytes
load::Cache/TaggedCache_php 1 96 µs 98 µs 13,224 bytes bytes 96 µs 98 µs 13,224 bytes bytes
load::AggregatedData/ActivatedVouchersAggregatedStatistics_php 1 95 µs 97 µs 3,760 bytes bytes 95 µs 97 µs 3,760 bytes bytes
load::Voucher/VoucherExpirationTrack_php 1 92 µs 94 µs 2,976 bytes bytes 92 µs 94 µs 2,976 bytes bytes
load::Cache/TagSet_php 1 89 µs 90 µs 12,576 bytes bytes 89 µs 90 µs 12,576 bytes bytes
load::Vouchers/CodeGenerator_php 1 87 µs 87 µs 7,296 bytes bytes 87 µs 87 µs 7,296 bytes bytes
load::Expiration/ExpirationSyncerPackage_php 1 87 µs 89 µs 2,696 bytes bytes 87 µs 89 µs 2,696 bytes bytes
load::settings/status_page_notifications_php 3 85 µs 88 µs 16,976 bytes bytes 85 µs 88 µs 16,976 bytes bytes
load::Vouchers/NextReactivateTimeCalculator_php 1 85 µs 86 µs 7,392 bytes bytes 85 µs 86 µs 7,392 bytes bytes
Illuminate\Cache\RedisStore::tags 2 82 µs 73 µs -5,088 bytes bytes 617 µs 617 µs 57,120 bytes bytes
Illuminate\Cache\RedisTagSet::addEntry 1 82 µs 78 µs 312 bytes bytes 531 µs 156 µs 2,592 bytes bytes
App\Models\Tenant\Voucher::macs 1 79 µs 196 µs 4,960 bytes bytes 79 µs 196 µs 4,960 bytes bytes
App\Models\Tenant\VoucherSerie::isRestoring 1 76 µs 76 µs 664 bytes bytes 78 µs 80 µs 1,264 bytes bytes
App\Models\Tenant\Voucher::customer 1 73 µs 181 µs 8,808 bytes bytes 73 µs 181 µs 8,808 bytes bytes
load::settings/splynx_integration_php 2 72 µs 75 µs 12,752 bytes bytes 72 µs 75 µs 12,752 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::buildIdentityKey 1 55 µs 55 µs 688 bytes bytes 55 µs 55 µs 688 bytes bytes
App\Models\VoucherExpireSchedule::getMinWorkerIndex 1 48 µs 50 µs 2,008 bytes bytes 48 µs 50 µs 2,008 bytes bytes
Illuminate\Cache\TaggedCache::event 4 47 µs 45 µs 1,296 bytes bytes 55 µs 56 µs 2,448 bytes bytes
App\Models\Tenant\VoucherSerie::eventsToBeRecorded 3 46 µs 47 µs 2,168 bytes bytes 46 µs 47 µs 2,168 bytes bytes
load::settings/voucher_limit_notifications_php 2 44 µs 47 µs 12,080 bytes bytes 44 µs 47 µs 12,080 bytes bytes
load::settings/finance_notifications_php 2 43 µs 45 µs 8,944 bytes bytes 43 µs 45 µs 8,944 bytes bytes
App\Models\Tenant\VoucherSerie::initializeSoftDeletes 6 39 µs 30 µs 1,960 bytes bytes 60 µs 62 µs 2,592 bytes bytes
load::settings/portal_php 2 37 µs 39 µs 6,368 bytes bytes 37 µs 39 µs 6,368 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 26 36 µs 45 µs 632 bytes bytes 36 µs 45 µs 632 bytes bytes
App\Services\RedirectFlow\VoucherCreator::getSeriePrefixByPlan 1 30 µs 31 µs 1,728 bytes bytes 30 µs 31 µs 1,728 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 30 µs 28 µs 768 bytes bytes 3,453 µs 1,049 µs 5,408 bytes bytes
App\Models\Tenant\VoucherSerie::attributesToBeLogged 3 25 µs 21 µs 1,136 bytes bytes 37 µs 38 µs 3,072 bytes bytes
App\Models\Tenant\VoucherSerie::getDeletedAtColumn 14 24 µs 38 µs 1,864 bytes bytes 24 µs 38 µs 1,864 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::__construct 1 23 µs 23 µs 1,344 bytes bytes 23 µs 23 µs 1,344 bytes bytes
App\Models\Tenant\Voucher::getLogNameToUse 1 23 µs 24 µs 632 bytes bytes 23 µs 24 µs 632 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::tryLock 1 22 µs 22 µs 536 bytes bytes 2,574 µs 1,277 µs 72,944 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 22 µs 23 µs 1,048 bytes bytes 22 µs 23 µs 1,048 bytes bytes
App\Models\Tenant\Voucher::attributesToBeLogged 2 19 µs 16 µs 1,088 bytes bytes 28 µs 30 µs 2,736 bytes bytes
App\Services\Vouchers\ExpirationSyncer::createKafkaMessage 1 19 µs 15 µs 880 bytes bytes 6,007 µs 4,569 µs -75,328 bytes bytes
Illuminate\Cache\Repository::tags 2 18 µs 18 µs 760 bytes bytes 642 µs 644 µs 59,048 bytes bytes
Illuminate\Cache\TagSet::tagIds 4 18 µs 18 µs 2,080 bytes bytes 23 µs 25 µs 2,840 bytes bytes
App\Models\Tenant\VoucherSerie::bootLogsActivity 1 17 µs 15 µs 448 bytes bytes 50 µs 50 µs 9,736 bytes bytes
App\Models\Tenant\Voucher::shouldLogEvent 1 17 µs 16 µs 696 bytes bytes 27 µs 27 µs 1,280 bytes bytes
App\Providers\GoRendererServiceProvider::App\Providers\{closure} 1 17 µs 158 µs -4,232 bytes bytes 189 µs 332 µs 15,240 bytes bytes
Illuminate\Routing\UrlGenerator::Stancl\Tenancy\Bootstrappers\{cl… 3 16 µs 17 µs 1,136 bytes bytes 16 µs 17 µs 1,136 bytes bytes
Illuminate\Cache\TaggedCache::taggedItemKey 3 13 µs 12 µs 792 bytes bytes 41 µs 41 µs 2,784 bytes bytes
App\Models\Tenant\VoucherSerie::getQualifiedDeletedAtColumn 1 13 µs 12 µs 752 bytes bytes 14 µs 14 µs 1,384 bytes bytes
Xhgui\Profiler\Profiler::disable 1 13 µs 10 µs 776 bytes bytes 20 µs 19 µs 1,944 bytes bytes
App\Models\Tenant\VoucherSerie::getActivitylogOptions 4 12 µs 15 µs 2,160 bytes bytes 12 µs 15 µs 2,160 bytes bytes
App\Models\Tenant\VoucherSerie::getLogNameToUse 1 11 µs 12 µs 632 bytes bytes 11 µs 12 µs 632 bytes bytes
Illuminate\Cache\TagSet::getNamespace 3 10 µs µs bytes bytes 28 µs 29 µs 1,992 bytes bytes
App\Models\Tenant\Voucher::isRestoring 1 10 µs 11 µs 584 bytes bytes 10 µs 11 µs 584 bytes bytes
Illuminate\Cache\TaggedCache::itemKey 3 µs 11 µs 1,232 bytes bytes 50 µs 52 µs 4,016 bytes bytes
App\Models\Tenant\Voucher::getActivitylogOptions 3 µs 15 µs 1,904 bytes bytes µs 15 µs 1,904 bytes bytes
Illuminate\Support\Collection::only 1 µs µs 1,072 bytes bytes µs µs 1,072 bytes bytes
Illuminate\Cache\Repository::supportsTags 2 µ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\Tenant\VoucherSerie::bootSoftDeletes 1 µs µs 1,064 bytes bytes µs µs 1,064 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handle 1 µs µs 696 bytes bytes 3,282 µs 1,034 µ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\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\Voucher::shouldLogUnguarded 2 µs µs 600 bytes bytes µs µs 600 bytes bytes
App\Models\VoucherExpireSchedule::getEmptyWorkerValues 1 µs µs 1,224 bytes bytes µs µs 1,224 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
App\Models\Tenant\VoucherSerie::restored 1 µs µs 928 bytes bytes µs µs 928 bytes bytes
Illuminate\Database\Eloquent\Relations\Pivot::getUpdatedAtColumn 2 µ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::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\Repository::setDefaultCacheTime 2 µ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\Services\Vouchers\NextReactivateTimeCalculator::calc 1 µs µs 6,264 bytes bytes µs µs 6,264 bytes bytes
App\Models\Tenant\Voucher::getDescriptionForEvent 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\Services\Templates\GoRenderer::__construct 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 584 bytes bytes µs µs 584 bytes bytes
App\Models\Tenant\Voucher::isLogEmpty 1 µs µs 600 bytes bytes µs µs 600 bytes bytes