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

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,418,408 µs
App\Events\Voucher\VoucherExpirationTrack::handle
1,047,504 µs
main()
22,505 µs
App\Services\RedirectFlow\VoucherCreator::createVoucher
8,892 µs
App\Listeners\Voucher\SendStatusPageSmsNotification::handle
3,501 µs
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan
2,635 µs

Memory Hogs

load::settings/localization_php
94,608 bytes
load::Vouchers/NextReactivateTimeCalculator_php
89,312 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,418,408 µs 2,734 µs 44,768 bytes bytes 1,421,716 µs 5,543 µs 72,632 bytes bytes
App\Events\Voucher\VoucherExpirationTrack::handle 1 1,047,504 µs 14,493 µs -2,016 bytes bytes 1,051,423 µs 16,930 µs -80,808 bytes bytes
main() 1 22,505 µs 10,864 µs -39,904 bytes bytes 2,527,636 µs 54,977 µs 588,488 bytes bytes
App\Services\RedirectFlow\VoucherCreator::createVoucher 1 8,892 µs 5,126 µs 3,552 bytes bytes 2,502,095 µs 41,240 µs 387,152 bytes bytes
App\Listeners\Voucher\SendStatusPageSmsNotification::handle 1 3,501 µs 2,653 µs -2,416 bytes bytes 4,133 µs 3,520 µs 108,256 bytes bytes
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan 1 2,635 µs 957 µs 22,752 bytes bytes 3,274 µs 1,602 µs 87,048 bytes bytes
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure} 1 2,310 µs 2,414 µs 7,240 bytes bytes 3,904 µs 3,318 µs 25,768 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 2,028 µs 1,131 µs 2,464 bytes bytes 2,049 µs 1,153 µs 3,512 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 6 1,656 µs 1,720 µs 12,176 bytes bytes 3,328 µs 2,832 µs 36,240 bytes bytes
App\Services\Vouchers\CodeGenerator::checkIfCodeExists 1 1,543 µs 383 µs 1,136 bytes bytes 1,543 µs 383 µs 1,136 bytes bytes
App\Services\Vouchers\ExpirationSyncer::App\Services\Vouchers\{cl… 1 1,212 µs 409 µs -952 bytes bytes 2,448 µs 905 µs 46,920 bytes bytes
App\Models\Tenant\Voucher::attributeValuesToBeLogged 1 1,178 µs 481 µs 2,080 bytes bytes 1,539 µs 844 µs 14,528 bytes bytes
Illuminate\Database\Eloquent\Relations\HasMany::getResults 1 1,140 µs 695 µs 1,288 bytes bytes 1,140 µs 695 µs 1,288 bytes bytes
Illuminate\Database\Eloquent\Builder::firstOrNew 1 1,022 µs 262 µs 6,128 bytes bytes 1,022 µs 262 µs 6,128 bytes bytes
App\Models\Tenant\VoucherSerie::attributeValuesToBeLogged 1 1,018 µs 419 µs -232 bytes bytes 1,239 µs 673 µs 6,208 bytes bytes
App\Services\Vouchers\ExpirationSyncer::getWorkerIndex 1 973 µs 915 µs -124,328 bytes bytes 3,427 µs 1,826 µs -76,856 bytes bytes
App\Services\Vouchers\CodeGenerator::getChars 1 886 µs 326 µs -5,256 bytes bytes 960 µs 402 µs 1,800 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handleVouc… 1 822 µs 367 µs -584 bytes bytes 2,952 µs 1,602 µs 6,688 bytes bytes
App\Services\Vouchers\CodeGenerator::getCodeLength 1 810 µs 280 µs -5,352 bytes bytes 852 µs 323 µs 1,704 bytes bytes
load::Tenant/VoucherSerie_php 1 481 µs 483 µs 48,416 bytes bytes 481 µs 483 µs 48,416 bytes bytes
App\Models\Tenant\VoucherSerie::logChanges 2 439 µs 437 µs 11,360 bytes bytes 466 µs 466 µs 13,800 bytes bytes
load::RedirectFlow/VoucherCreator_php 1 384 µs 387 µs 34,848 bytes bytes 384 µs 387 µs 34,848 bytes bytes
load::settings/localization_php 3 341 µs 344 µs 94,608 bytes bytes 341 µs 344 µs 94,608 bytes bytes
App\Models\Tenant\Voucher::logChanges 1 334 µs 336 µs 9,712 bytes bytes 347 µs 349 µs 10,520 bytes bytes
Stancl\Tenancy\CacheManager::__call 2 286 µs 242 µs 3,080 bytes bytes 1,571 µs 1,395 µs 71,720 bytes bytes
App\Services\Vouchers\ExpirationSyncer::syncVoucher 1 219 µs 218 µs -7,080 bytes bytes 3,919 µs 2,437 µs -78,792 bytes bytes
load::Voucher/SendStatusPageSmsNotification_php 1 214 µs 215 µs 31,504 bytes bytes 214 µs 215 µs 31,504 bytes bytes
load::src/ProfilingData_php 1 209 µs 211 µs 18,784 bytes bytes 209 µs 211 µs 18,784 bytes bytes
load::settings/finance_php 4 202 µs 207 µs 28,192 bytes bytes 202 µs 207 µs 28,192 bytes bytes
load::Cache/RedisTaggedCache_php 1 194 µs 196 µs 16,136 bytes bytes 194 µs 196 µs 16,136 bytes bytes
Illuminate\Redis\Connections\PhpRedisConnection::zadd 1 185 µs 74 µs 848 bytes bytes 185 µs 74 µs 848 bytes bytes
load::Plans/BuyMutex_php 1 184 µs 185 µs 6,592 bytes bytes 184 µs 185 µs 6,592 bytes bytes
load::Models/VoucherExpireSchedule_php 1 180 µs 200 µs 38,512 bytes bytes 180 µs 200 µs 38,512 bytes bytes
load::Cache/RedisTagSet_php 1 178 µs 180 µs 19,104 bytes bytes 178 µs 180 µs 19,104 bytes bytes
App\Models\Tenant\Voucher::triggerSyncEvent 1 175 µs 171 µs -2,600 bytes bytes 1,377 µs 1,217 µs 3,648 bytes bytes
load::Voucher/VoucherTimeExpirationSync_php 1 149 µs 150 µs 3,304 bytes bytes 149 µs 150 µs 3,304 bytes bytes
Illuminate\Cache\RedisTaggedCache::put 1 141 µs 90 µs 536 bytes bytes 492 µs 331 µs 4,488 bytes bytes
load::settings/captive_portal_php 2 137 µs 138 µs 14,880 bytes bytes 137 µs 138 µs 14,880 bytes bytes
App\Models\Tenant\Voucher::getExpireTime 1 137 µs 138 µs 1,568 bytes bytes 137 µs 138 µs 1,568 bytes bytes
load::settings/customers_php 2 133 µs 136 µs 14,144 bytes bytes 133 µs 136 µs 14,144 bytes bytes
load::Templates/GoRenderer_php 1 131 µs 132 µs 18,840 bytes bytes 131 µs 132 µs 18,840 bytes bytes
load::Vouchers/CodeGenerator_php 1 128 µs 129 µs 7,296 bytes bytes 128 µs 129 µs 7,296 bytes bytes
load::Expiration/ExpirationSyncerPackage_php 1 126 µs 142 µs 2,696 bytes bytes 126 µs 142 µs 2,696 bytes bytes
Illuminate\Cache\RedisStore::tags 2 122 µs 116 µs -5,088 bytes bytes 702 µs 727 µs 57,120 bytes bytes
load::Vouchers/NextReactivateTimeCalculator_php 1 112 µs 113 µs 89,312 bytes bytes 112 µs 113 µs 89,312 bytes bytes
load::Cache/TaggedCache_php 1 106 µs 131 µs 13,224 bytes bytes 106 µs 131 µs 13,224 bytes bytes
load::Voucher/ActivatedVoucherStatisticUpdate_php 1 103 µs 104 µs 7,760 bytes bytes 103 µs 104 µs 7,760 bytes bytes
Illuminate\Cache\RedisTagSet::addEntry 1 98 µs 97 µs 312 bytes bytes 291 µs 179 µs 2,592 bytes bytes
load::Cache/TagSet_php 1 94 µs 95 µs 12,576 bytes bytes 94 µs 95 µs 12,576 bytes bytes
load::settings/status_page_notifications_php 3 92 µs 95 µs 16,976 bytes bytes 92 µs 95 µs 16,976 bytes bytes
load::Voucher/VoucherActivated_php 1 85 µs 86 µs 3,368 bytes bytes 85 µs 86 µs 3,368 bytes bytes
load::AggregatedData/ActivatedVouchersAggregatedStatistics_php 1 81 µs 82 µs 3,760 bytes bytes 81 µs 82 µs 3,760 bytes bytes
App\Models\Tenant\Voucher::triggerExpirationSync 1 76 µs 173 µs -1,552 bytes bytes 1,051,700 µs 17,307 µs -75,448 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 76 µs 174 µs 792 bytes bytes 76 µs 174 µs 792 bytes bytes
App\Models\Tenant\Voucher::macs 1 62 µs 351 µs 4,960 bytes bytes 62 µs 351 µs 4,960 bytes bytes
App\Models\Tenant\Voucher::customer 1 62 µs 63 µs 8,808 bytes bytes 62 µs 63 µs 8,808 bytes bytes
Illuminate\Cache\TaggedCache::event 4 57 µs 52 µs 1,296 bytes bytes 66 µs 68 µs 2,448 bytes bytes
load::settings/splynx_integration_php 2 55 µs 284 µs 12,752 bytes bytes 55 µs 284 µs 12,752 bytes bytes
load::settings/voucher_limit_notifications_php 2 51 µs 51 µs 12,080 bytes bytes 51 µs 51 µs 12,080 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::buildIdentityKey 1 51 µs 52 µs 688 bytes bytes 51 µs 52 µs 688 bytes bytes
load::Voucher/VoucherExpirationTrack_php 1 51 µs 52 µs 2,976 bytes bytes 51 µs 52 µs 2,976 bytes bytes
load::settings/finance_notifications_php 2 46 µs 46 µs 8,944 bytes bytes 46 µs 46 µs 8,944 bytes bytes
load::settings/portal_php 2 45 µs 46 µs 6,368 bytes bytes 45 µs 46 µs 6,368 bytes bytes
App\Services\RedirectFlow\VoucherCreator::getSeriePrefixByPlan 1 45 µs 45 µs 2,368 bytes bytes 45 µs 45 µs 2,368 bytes bytes
App\Models\Tenant\VoucherSerie::eventsToBeRecorded 3 43 µs 45 µs 2,168 bytes bytes 43 µs 45 µs 2,168 bytes bytes
App\Models\Tenant\VoucherSerie::initializeSoftDeletes 6 39 µs 31 µs 1,960 bytes bytes 60 µs 64 µs 2,592 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogEvent 1 39 µs 39 µs 696 bytes bytes 78 µs 79 µs 1,960 bytes bytes
App\Models\Tenant\VoucherSerie::isRestoring 1 37 µs 38 µs 664 bytes bytes 39 µs 40 µs 1,264 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 36 µs 32 µs 768 bytes bytes 3,391 µs 1,140 µs 5,408 bytes bytes
App\Models\VoucherExpireSchedule::getMinWorkerIndex 1 30 µs 30 µs 2,008 bytes bytes 30 µs 30 µs 2,008 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::__construct 1 28 µs 29 µs 1,344 bytes bytes 28 µs 29 µs 1,344 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::tryLock 1 27 µs 24 µs 536 bytes bytes 1,649 µs 1,471 µs 72,944 bytes bytes
App\Models\Tenant\VoucherSerie::getDeletedAtColumn 14 25 µs 39 µs 1,864 bytes bytes 25 µs 39 µs 1,864 bytes bytes
Xhgui\Profiler\Profiler::disable 1 25 µs 21 µs -4,224 bytes bytes 242 µs 241 µs 15,728 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 26 24 µs 54 µs 632 bytes bytes 24 µs 54 µs 632 bytes bytes
Illuminate\Cache\Repository::tags 2 23 µs 22 µs 760 bytes bytes 733 µs 760 µs 59,048 bytes bytes
App\Models\Tenant\Voucher::shouldLogEvent 1 21 µs 21 µs 696 bytes bytes 33 µs 34 µs 1,280 bytes bytes
App\Models\Tenant\VoucherSerie::attributesToBeLogged 3 21 µs 20 µs 1,136 bytes bytes 34 µs 38 µs 3,072 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\Models\Tenant\VoucherSerie::bootLogsActivity 1 20 µs 16 µs 448 bytes bytes 55 µs 55 µs 9,736 bytes bytes
App\Models\Tenant\VoucherSerie::getQualifiedDeletedAtColumn 1 20 µs 18 µs 752 bytes bytes 22 µs 22 µs 1,384 bytes bytes
App\Models\Tenant\Voucher::attributesToBeLogged 2 19 µs 17 µs 1,088 bytes bytes 27 µs 27 µs 2,736 bytes bytes
Illuminate\Cache\TagSet::tagIds 4 18 µs 19 µs 2,080 bytes bytes 25 µs 28 µs 2,840 bytes bytes
Illuminate\Cache\TaggedCache::taggedItemKey 3 15 µs 14 µs 792 bytes bytes 46 µs 46 µs 2,784 bytes bytes
Illuminate\Routing\UrlGenerator::Stancl\Tenancy\Bootstrappers\{cl… 3 13 µs 14 µs 1,136 bytes bytes 13 µs 14 µs 1,136 bytes bytes
Illuminate\Cache\TagSet::getNamespace 3 12 µs 10 µs bytes bytes 31 µs 32 µs 1,992 bytes bytes
App\Models\Tenant\Voucher::isRestoring 1 12 µs 13 µs 584 bytes bytes 12 µs 13 µs 584 bytes bytes
App\Models\Tenant\Voucher::getLogNameToUse 1 12 µs 13 µs 632 bytes bytes 12 µs 13 µs 632 bytes bytes
App\Models\Tenant\VoucherSerie::getActivitylogOptions 4 12 µs 16 µs 2,160 bytes bytes 12 µs 16 µs 2,160 bytes bytes
App\Providers\GoRendererServiceProvider::App\Providers\{closure} 1 12 µs 11 µs -4,232 bytes bytes 144 µs 144 µs 15,240 bytes bytes
App\Models\Tenant\Voucher::getActivitylogOptions 3 11 µs 13 µs 1,904 bytes bytes 11 µs 13 µs 1,904 bytes bytes
App\Services\Vouchers\ExpirationSyncer::createKafkaMessage 1 10 µs 113 µs 880 bytes bytes 3,437 µs 1,939 µs -75,976 bytes bytes
App\Models\Tenant\VoucherSerie::getLogNameToUse 1 µs 10 µs 632 bytes bytes µs 10 µs 632 bytes bytes
Illuminate\Cache\TaggedCache::itemKey 3 µs 10 µs 1,232 bytes bytes 54 µs 56 µs 4,016 bytes bytes
Illuminate\Cache\RedisTagSet::tagId 4 µs µs 760 bytes bytes µs µs 760 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\TaggedCache::__construct 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\Support\Collection::only 1 µs µs 1,072 bytes bytes µs µs 1,072 bytes bytes
Illuminate\Cache\TagSet::getNames 4 µs µs 568 bytes bytes µs µs 568 bytes bytes
App\Models\VoucherExpireSchedule::getEmptyWorkerValues 1 µs µs 1,224 bytes bytes µs µs 1,224 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogUnguarded 3 µs µs 632 bytes bytes µs µs 632 bytes bytes
Xhgui\Profiler\ProfilingData::__construct 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
Xhgui\Profiler\Profilers\XHProf::disable 1 µs µs 584 bytes bytes µs µs 584 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
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\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handle 1 µs µs 696 bytes bytes 2,955 µs 1,607 µs 7,384 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\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::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\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\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\Services\Templates\GoRenderer::__construct 1 µs µs 632 bytes bytes µs µs 632 bytes bytes