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

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,154,105 µs
App\Events\Voucher\VoucherExpirationTrack::handle
1,047,898 µs
main()
23,198 µs
App\Services\RedirectFlow\VoucherCreator::createVoucher
12,815 µs
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan
2,456 µs
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure}
2,094 µs

Memory Hogs

load::settings/localization_php
94,608 bytes
App\Services\Vouchers\ExpirationSyncer::syncVoucher
74,840 bytes
load::Tenant/VoucherSerie_php
48,416 bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity
45,408 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,154,105 µs 2,305 µs 45,408 bytes bytes 1,157,830 µs 5,418 µs 73,272 bytes bytes
App\Events\Voucher\VoucherExpirationTrack::handle 1 1,047,898 µs 13,134 µs -2,016 bytes bytes 1,051,572 µs 15,756 µs -1,448 bytes bytes
main() 1 23,198 µs 10,013 µs -39,048 bytes bytes 2,261,811 µs 50,306 µs 540,240 bytes bytes
App\Services\RedirectFlow\VoucherCreator::createVoucher 1 12,815 µs 8,358 µs 19,904 bytes bytes 2,234,771 µs 37,682 µs 338,048 bytes bytes
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan 1 2,456 µs 769 µs 25,312 bytes bytes 2,954 µs 1,272 µs 88,968 bytes bytes
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure} 1 2,094 µs 2,119 µs 7,240 bytes bytes 3,327 µs 2,887 µs 25,448 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 6 1,901 µs 1,965 µs 12,176 bytes bytes 3,741 µs 3,131 µs 36,240 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 1,812 µs 983 µs 2,432 bytes bytes 1,839 µs 1,012 µs 3,480 bytes bytes
App\Services\Vouchers\ExpirationSyncer::getWorkerIndex 1 1,196 µs 866 µs -124,328 bytes bytes 3,361 µs 2,295 µs -79,416 bytes bytes
App\Models\Tenant\VoucherSerie::attributeValuesToBeLogged 1 1,129 µs 440 µs -232 bytes bytes 1,373 µs 693 µs 6,208 bytes bytes
App\Services\Vouchers\ExpirationSyncer::App\Services\Vouchers\{cl… 1 988 µs 658 µs -3,512 bytes bytes 2,158 µs 1,420 µs 44,360 bytes bytes
Illuminate\Database\Eloquent\Builder::firstOrNew 1 959 µs 548 µs 6,128 bytes bytes 959 µs 548 µs 6,128 bytes bytes
App\Models\Tenant\Voucher::attributeValuesToBeLogged 1 899 µs 399 µs 2,080 bytes bytes 1,188 µs 689 µs 14,208 bytes bytes
App\Services\Vouchers\CodeGenerator::checkIfCodeExists 1 879 µs 314 µs 1,136 bytes bytes 879 µs 314 µs 1,136 bytes bytes
App\Services\Vouchers\CodeGenerator::getChars 1 787 µs 241 µs -5,256 bytes bytes 826 µs 281 µs 1,800 bytes bytes
Illuminate\Database\Eloquent\Relations\HasMany::getResults 1 752 µs 364 µs 1,288 bytes bytes 752 µs 364 µs 1,288 bytes bytes
App\Services\Vouchers\CodeGenerator::getCodeLength 1 707 µs 227 µs -5,352 bytes bytes 743 µs 263 µs 1,704 bytes bytes
Stancl\Tenancy\CacheManager::__call 2 617 µs 219 µs 3,080 bytes bytes 2,445 µs 1,207 µs 71,720 bytes bytes
Illuminate\Redis\Connections\PhpRedisConnection::zadd 1 505 µs 70 µs 848 bytes bytes 505 µs 70 µs 848 bytes bytes
Illuminate\Cache\RedisTaggedCache::put 1 488 µs 116 µs 536 bytes bytes 1,173 µs 332 µs 4,488 bytes bytes
App\Models\Tenant\VoucherSerie::logChanges 2 459 µs 457 µs 11,360 bytes bytes 484 µs 485 µs 13,800 bytes bytes
load::settings/localization_php 3 394 µs 395 µs 94,608 bytes bytes 394 µs 395 µs 94,608 bytes bytes
load::Tenant/VoucherSerie_php 1 358 µs 360 µs 48,416 bytes bytes 358 µs 360 µs 48,416 bytes bytes
load::RedirectFlow/VoucherCreator_php 1 330 µs 331 µs 34,848 bytes bytes 330 µs 331 µs 34,848 bytes bytes
load::src/ProfilingData_php 1 317 µs 319 µs 18,784 bytes bytes 317 µs 319 µs 18,784 bytes bytes
App\Models\Tenant\Voucher::logChanges 1 268 µs 268 µs 9,392 bytes bytes 279 µs 279 µs 10,200 bytes bytes
load::Models/VoucherExpireSchedule_php 1 180 µs 181 µs 38,512 bytes bytes 180 µs 181 µs 38,512 bytes bytes
load::Cache/RedisTaggedCache_php 1 155 µs 156 µs 16,136 bytes bytes 155 µs 156 µs 16,136 bytes bytes
load::Cache/RedisTagSet_php 1 154 µs 155 µs 19,104 bytes bytes 154 µs 155 µs 19,104 bytes bytes
App\Models\Tenant\Voucher::triggerSyncEvent 1 143 µs 142 µs -2,600 bytes bytes 945 µs 780 µs 3,648 bytes bytes
load::Plans/BuyMutex_php 1 139 µs 139 µs 6,592 bytes bytes 139 µs 139 µs 6,592 bytes bytes
App\Models\Tenant\Voucher::getExpireTime 1 133 µs 134 µs 1,568 bytes bytes 133 µs 134 µs 1,568 bytes bytes
load::settings/finance_php 4 129 µs 319 µs 28,176 bytes bytes 129 µs 319 µs 28,176 bytes bytes
load::settings/captive_portal_php 2 122 µs 124 µs 14,880 bytes bytes 122 µs 124 µs 14,880 bytes bytes
load::AggregatedData/ActivatedVouchersAggregatedStatistics_php 1 120 µs 214 µs 3,728 bytes bytes 120 µs 214 µs 3,728 bytes bytes
load::Cache/TaggedCache_php 1 118 µs 119 µs 13,224 bytes bytes 118 µs 119 µs 13,224 bytes bytes
App\Services\Vouchers\ExpirationSyncer::syncVoucher 1 116 µs 114 µs 74,840 bytes bytes 3,674 µs 2,622 µs 568 bytes bytes
load::Vouchers/NextReactivateTimeCalculator_php 1 96 µs 96 µs 7,392 bytes bytes 96 µs 96 µs 7,392 bytes bytes
load::Vouchers/CodeGenerator_php 1 94 µs 94 µs 7,296 bytes bytes 94 µs 94 µs 7,296 bytes bytes
load::settings/customers_php 2 85 µs 86 µs 10,032 bytes bytes 85 µs 86 µs 10,032 bytes bytes
Illuminate\Cache\TaggedCache::event 4 85 µs 46 µs 1,296 bytes bytes 94 µs 60 µs 2,448 bytes bytes
Illuminate\Cache\RedisTagSet::addEntry 1 85 µs 82 µs 312 bytes bytes 595 µs 158 µs 2,592 bytes bytes
App\Models\Tenant\VoucherSerie::isRestoring 1 79 µs 79 µs 664 bytes bytes 82 µs 83 µs 1,264 bytes bytes
load::settings/status_page_notifications_php 3 77 µs 79 µs 16,944 bytes bytes 77 µs 79 µs 16,944 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 77 µs 77 µs 792 bytes bytes 77 µs 77 µs 792 bytes bytes
load::Cache/TagSet_php 1 75 µs 76 µs 12,576 bytes bytes 75 µs 76 µs 12,576 bytes bytes
load::Voucher/VoucherTimeExpirationSync_php 1 72 µs 73 µs 3,304 bytes bytes 72 µs 73 µs 3,304 bytes bytes
Illuminate\Cache\RedisStore::tags 2 71 µs 66 µs -5,088 bytes bytes 578 µs 579 µs 57,120 bytes bytes
App\Models\Tenant\Voucher::triggerExpirationSync 1 66 µs 59 µs -1,552 bytes bytes 1,051,759 µs 15,938 µs 3,912 bytes bytes
load::Expiration/ExpirationSyncerPackage_php 1 55 µs 70 µs 2,696 bytes bytes 55 µs 70 µs 2,696 bytes bytes
load::settings/finance_notifications_php 2 51 µs 66 µs 8,944 bytes bytes 51 µs 66 µs 8,944 bytes bytes
load::settings/splynx_integration_php 2 51 µs 53 µs 12,752 bytes bytes 51 µs 53 µs 12,752 bytes bytes
App\Models\Tenant\Voucher::macs 1 50 µs 274 µs 4,960 bytes bytes 50 µs 274 µs 4,960 bytes bytes
load::Voucher/VoucherExpirationTrack_php 1 48 µs 48 µs 2,976 bytes bytes 48 µs 48 µs 2,976 bytes bytes
App\Models\Tenant\VoucherSerie::bootLogsActivity 1 46 µs 43 µs 448 bytes bytes 74 µs 74 µs 9,736 bytes bytes
Xhgui\Profiler\Profiler::disable 1 42 µs 38 µs -4,224 bytes bytes 368 µs 368 µs 15,728 bytes bytes
App\Models\Tenant\VoucherSerie::eventsToBeRecorded 3 40 µs 42 µs 2,168 bytes bytes 40 µs 42 µs 2,168 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogEvent 1 39 µs 38 µs 696 bytes bytes 121 µs 121 µs 1,960 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::buildIdentityKey 1 37 µs 38 µs 688 bytes bytes 37 µs 38 µs 688 bytes bytes
load::settings/voucher_limit_notifications_php 2 36 µs 38 µs 16,176 bytes bytes 36 µs 38 µs 16,176 bytes bytes
App\Models\Tenant\VoucherSerie::initializeSoftDeletes 6 35 µs 28 µs 1,960 bytes bytes 54 µs 56 µs 2,592 bytes bytes
load::settings/portal_php 2 30 µs 31 µs 6,368 bytes bytes 30 µs 31 µs 6,368 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 27 µs 26 µs 768 bytes bytes 2,475 µs 884 µs 5,408 bytes bytes
App\Models\VoucherExpireSchedule::getMinWorkerIndex 1 27 µs 28 µs 2,008 bytes bytes 27 µs 28 µs 2,008 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 27 µs 29 µs 1,048 bytes bytes 27 µs 29 µs 1,048 bytes bytes
App\Models\Tenant\VoucherSerie::getDeletedAtColumn 14 24 µs 35 µs 1,864 bytes bytes 24 µs 35 µs 1,864 bytes bytes
App\Services\RedirectFlow\VoucherCreator::getSeriePrefixByPlan 1 24 µs 24 µs 1,728 bytes bytes 24 µs 24 µs 1,728 bytes bytes
App\Models\Tenant\VoucherSerie::attributesToBeLogged 3 24 µs 20 µs 1,136 bytes bytes 34 µs 37 µs 3,072 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::tryLock 1 23 µs 19 µs 536 bytes bytes 2,505 µs 1,264 µs 72,944 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::__construct 1 22 µs 23 µs 1,344 bytes bytes 22 µs 23 µs 1,344 bytes bytes
Illuminate\Cache\Repository::tags 2 21 µs 17 µs 760 bytes bytes 604 µs 604 µs 59,048 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 26 21 µs 29 µs 632 bytes bytes 21 µs 29 µs 632 bytes bytes
App\Models\Tenant\Voucher::shouldLogEvent 1 17 µs 16 µs 696 bytes bytes 26 µs 27 µs 1,280 bytes bytes
App\Models\Tenant\Voucher::attributesToBeLogged 2 15 µs 13 µs 1,088 bytes bytes 21 µs 22 µs 2,736 bytes bytes
Illuminate\Cache\TagSet::tagIds 4 14 µs 15 µs 2,080 bytes bytes 20 µs 22 µs 2,840 bytes bytes
Illuminate\Cache\TaggedCache::taggedItemKey 3 14 µs 14 µs 792 bytes bytes 39 µs 40 µs 2,784 bytes bytes
App\Models\Tenant\VoucherSerie::getQualifiedDeletedAtColumn 1 12 µs 12 µs 752 bytes bytes 14 µs 15 µs 1,384 bytes bytes
Illuminate\Routing\UrlGenerator::Stancl\Tenancy\Bootstrappers\{cl… 3 11 µs 13 µs 1,136 bytes bytes 11 µs 13 µs 1,136 bytes bytes
App\Models\Tenant\Voucher::getLogNameToUse 1 11 µs 12 µs 632 bytes bytes 11 µs 12 µs 632 bytes bytes
Illuminate\Cache\TagSet::getNamespace 3 µs µs bytes bytes 25 µs 26 µs 1,992 bytes bytes
App\Models\Tenant\Voucher::getActivitylogOptions 3 µs 10 µs 1,904 bytes bytes µs 10 µs 1,904 bytes bytes
App\Models\Tenant\Voucher::isRestoring 1 µs 11 µs 584 bytes bytes µs 11 µs 584 bytes bytes
App\Services\Vouchers\ExpirationSyncer::createKafkaMessage 1 µs µs 880 bytes bytes 3,370 µs 2,304 µs -78,536 bytes bytes
App\Models\Tenant\VoucherSerie::getActivitylogOptions 4 µs 16 µs 2,160 bytes bytes µs 16 µs 2,160 bytes bytes
Illuminate\Cache\TaggedCache::itemKey 3 µs 10 µs 1,232 bytes bytes 47 µs 50 µs 4,016 bytes bytes
App\Models\Tenant\VoucherSerie::getLogNameToUse 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Cache\RedisTagSet::tagId 4 µs µs 760 bytes bytes µs µs 760 bytes bytes
Illuminate\Cache\TagSet::getNames 4 µs µs 568 bytes bytes µs µs 568 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\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
Illuminate\Database\Eloquent\Relations\Pivot::getUpdatedAtColumn 2 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Models\VoucherExpireSchedule::getEmptyWorkerValues 1 µs µs 1,224 bytes bytes µs µs 1,224 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
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\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
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 6,264 bytes bytes µs µs 6,264 bytes bytes
App\Models\Tenant\Voucher::shouldLogUnguarded 2 µs µs 600 bytes bytes µs µs 600 bytes bytes
App\Models\Tenant\Voucher::getDescriptionForEvent 1 µs 32 µs 632 bytes bytes µs 32 µs 632 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\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