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

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,098,177 µs
App\Events\Voucher\VoucherExpirationTrack::handle
1,047,855 µs
main()
13,308 µs
App\Services\RedirectFlow\VoucherCreator::createVoucher
9,647 µs
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderPlan
6,352 µs
App\Listeners\Voucher\SendStatusPageSmsNotification::handle
3,968 µs

Memory Hogs

load::settings/localization_php
95,208 bytes
load::Tenant/VoucherSerie_php
48,416 bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity
44,800 bytes
load::Models/VoucherExpireSchedule_php
38,512 bytes
load::RedirectFlow/VoucherCreator_php
34,944 bytes
load::Tenant/LocationPlan_php
33,136 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,098,177 µs 2,912 µs 44,800 bytes bytes 1,102,249 µs 6,530 µs 76,760 bytes bytes
App\Events\Voucher\VoucherExpirationTrack::handle 1 1,047,855 µs 13,092 µs -2,016 bytes bytes 1,052,352 µs 16,040 µs -80,808 bytes bytes
main() 1 13,308 µs 6,861 µs -8,104 bytes bytes 2,210,886 µs 59,766 µs 574,504 bytes bytes
App\Services\RedirectFlow\VoucherCreator::createVoucher 1 9,647 µs 7,001 µs 4,528 bytes bytes 2,185,486 µs 46,375 µs 338,920 bytes bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderP… 1 6,352 µs 3,233 µs -45,208 bytes bytes 2,196,775 µs 52,091 µs 471,456 bytes bytes
App\Listeners\Voucher\SendStatusPageSmsNotification::handle 1 3,968 µs 3,676 µs -2,416 bytes bytes 4,867 µs 4,990 µs 104,160 bytes bytes
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure} 1 3,187 µs 3,314 µs 7,240 bytes bytes 4,757 µs 4,352 µs 25,768 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 6 2,367 µs 2,443 µs 12,176 bytes bytes 4,088 µs 3,635 µs 40,336 bytes bytes
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan 1 2,094 µs 1,170 µs 22,784 bytes bytes 2,487 µs 1,570 µs 92,072 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 1,998 µs 856 µs 2,464 bytes bytes 2,044 µs 904 µs 3,512 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::getTemporar… 1 1,768 µs 489 µs 112 bytes bytes 1,812 µs 534 µs 4,344 bytes bytes
App\Services\Vouchers\CodeGenerator::checkIfCodeExists 1 1,745 µs 391 µs 1,136 bytes bytes 1,745 µs 391 µs 1,136 bytes bytes
App\Services\Vouchers\ExpirationSyncer::App\Services\Vouchers\{cl… 1 1,480 µs 393 µs -952 bytes bytes 2,609 µs 1,390 µs 46,920 bytes bytes
App\Services\Vouchers\ExpirationSyncer::getWorkerIndex 1 1,444 µs 984 µs -124,328 bytes bytes 4,061 µs 2,382 µs -76,856 bytes bytes
Illuminate\Database\Eloquent\Relations\HasMany::getResults 1 1,033 µs 935 µs 1,288 bytes bytes 1,033 µs 935 µs 1,288 bytes bytes
App\Models\Tenant\Voucher::attributeValuesToBeLogged 1 1,013 µs 472 µs 2,080 bytes bytes 1,521 µs 982 µs 14,528 bytes bytes
App\Models\Tenant\VoucherSerie::attributeValuesToBeLogged 1 970 µs 416 µs -232 bytes bytes 1,207 µs 667 µs 6,208 bytes bytes
Illuminate\Database\Eloquent\Builder::firstOrNew 1 905 µs 354 µs 6,128 bytes bytes 905 µs 354 µs 6,128 bytes bytes
App\Services\Vouchers\CodeGenerator::getChars 1 887 µs 451 µs -5,256 bytes bytes 940 µs 504 µs 1,800 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handleVouc… 1 885 µs 515 µs -584 bytes bytes 3,003 µs 1,519 µs 6,688 bytes bytes
App\Services\Vouchers\CodeGenerator::getCodeLength 1 716 µs 300 µs -5,352 bytes bytes 777 µs 362 µs 1,704 bytes bytes
Stancl\Tenancy\CacheManager::__call 2 651 µs 177 µs 1,800 bytes bytes 2,330 µs 1,149 µs 71,080 bytes bytes
App\Models\Tenant\VoucherSerie::logChanges 2 521 µs 523 µs 11,360 bytes bytes 547 µs 550 µs 13,800 bytes bytes
App\Models\Tenant\Voucher::logChanges 1 478 µs 478 µs 9,712 bytes bytes 491 µs 492 µs 10,520 bytes bytes
Illuminate\Redis\Connections\PhpRedisConnection::zadd 1 465 µs 70 µs 848 bytes bytes 465 µs 70 µs 848 bytes bytes
Illuminate\Cache\RedisTaggedCache::put 1 402 µs 90 µs 536 bytes bytes 1,012 µs 306 µs 4,488 bytes bytes
load::settings/localization_php 3 359 µs 362 µs 95,208 bytes bytes 359 µs 362 µs 95,208 bytes bytes
load::Vouchers/CodeGenerator_php 1 288 µs 290 µs 7,296 bytes bytes 288 µs 290 µs 7,296 bytes bytes
load::Tenant/VoucherSerie_php 1 274 µs 276 µs 48,416 bytes bytes 274 µs 276 µs 48,416 bytes bytes
load::RedirectFlow/VoucherCreator_php 1 272 µs 273 µs 34,944 bytes bytes 272 µs 273 µs 34,944 bytes bytes
load::src/ProfilingData_php 1 259 µs 261 µs 18,784 bytes bytes 259 µs 261 µs 18,784 bytes bytes
load::Voucher/SendStatusPageSmsNotification_php 1 249 µs 250 µs 31,024 bytes bytes 249 µs 250 µs 31,024 bytes bytes
load::settings/finance_php 4 218 µs 222 µs 28,192 bytes bytes 218 µs 222 µs 28,192 bytes bytes
load::RedirectFlow/PlansRepository_php 1 212 µs 214 µs 21,416 bytes bytes 212 µs 214 µs 21,416 bytes bytes
App\Services\Vouchers\ExpirationSyncer::syncVoucher 1 208 µs 205 µs -7,080 bytes bytes 4,497 µs 2,948 µs -78,792 bytes bytes
load::Models/VoucherExpireSchedule_php 1 189 µs 606 µs 38,512 bytes bytes 189 µs 606 µs 38,512 bytes bytes
load::Templates/GoRenderer_php 1 181 µs 183 µs 18,840 bytes bytes 181 µs 183 µs 18,840 bytes bytes
load::TrialSessions/TrialSessionsMaker_php 1 177 µs 178 µs 16,584 bytes bytes 177 µs 178 µs 16,584 bytes bytes
App\Models\Tenant\Voucher::triggerSyncEvent 1 167 µs 355 µs -2,600 bytes bytes 1,257 µs 1,347 µs 3,648 bytes bytes
App\Models\Tenant\Voucher::getExpireTime 1 159 µs 292 µs 1,568 bytes bytes 159 µs 292 µs 1,568 bytes bytes
load::Cache/RedisTagSet_php 1 155 µs 156 µs 19,104 bytes bytes 155 µs 156 µs 19,104 bytes bytes
load::Cache/RedisTaggedCache_php 1 148 µs 149 µs 16,136 bytes bytes 148 µs 149 µs 16,136 bytes bytes
load::settings/customers_php 2 136 µs 231 µs 10,048 bytes bytes 136 µs 231 µs 10,048 bytes bytes
load::settings/captive_portal_php 2 127 µs 421 µs 14,880 bytes bytes 127 µs 421 µs 14,880 bytes bytes
load::Voucher/ActivatedVoucherStatisticUpdate_php 1 125 µs 440 µs 7,760 bytes bytes 125 µs 440 µs 7,760 bytes bytes
load::Vouchers/NextReactivateTimeCalculator_php 1 106 µs 107 µs 7,392 bytes bytes 106 µs 107 µs 7,392 bytes bytes
load::Cache/TaggedCache_php 1 105 µs 106 µs 12,584 bytes bytes 105 µs 106 µs 12,584 bytes bytes
App\Models\Tenant\Voucher::triggerExpirationSync 1 105 µs 90 µs -1,552 bytes bytes 1,052,601 µs 16,292 µs -75,448 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 104 µs 120 µs 792 bytes bytes 104 µs 120 µs 792 bytes bytes
App\Models\Tenant\Voucher::customer 1 100 µs 102 µs 8,808 bytes bytes 100 µs 102 µs 8,808 bytes bytes
load::Tenant/LocationPlan_php 1 94 µs 95 µs 33,136 bytes bytes 94 µs 95 µs 33,136 bytes bytes
load::settings/status_page_notifications_php 3 93 µs 114 µs 16,976 bytes bytes 93 µs 114 µ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
Illuminate\Cache\RedisTagSet::addEntry 1 84 µs 82 µs 312 bytes bytes 556 µs 160 µs 2,592 bytes bytes
load::Voucher/VoucherTimeExpirationSync_php 1 83 µs 84 µs 3,304 bytes bytes 83 µs 84 µs 3,304 bytes bytes
load::Cache/TagSet_php 1 80 µs 81 µs 12,576 bytes bytes 80 µs 81 µs 12,576 bytes bytes
load::Plans/BuyMutex_php 1 75 µs 76 µs 6,656 bytes bytes 75 µs 76 µs 6,656 bytes bytes
Illuminate\Cache\RedisStore::tags 2 75 µs 72 µs -3,808 bytes bytes 569 µs 571 µs 57,760 bytes bytes
load::AggregatedData/ActivatedVouchersAggregatedStatistics_php 1 74 µs 100 µs 3,760 bytes bytes 74 µs 100 µs 3,760 bytes bytes
load::Voucher/VoucherExpirationTrack_php 1 60 µs 76 µs 2,976 bytes bytes 60 µs 76 µs 2,976 bytes bytes
load::Expiration/ExpirationSyncerPackage_php 1 58 µs 59 µs 2,696 bytes bytes 58 µs 59 µs 2,696 bytes bytes
App\Models\Tenant\Voucher::macs 1 57 µs 57 µs 4,960 bytes bytes 57 µs 57 µs 4,960 bytes bytes
App\Providers\GoRendererServiceProvider::App\Providers\{closure} 1 57 µs 54 µs -4,232 bytes bytes 240 µs 240 µs 15,240 bytes bytes
load::OrderProcess/UserInfo_php 1 56 µs 56 µs 2,496 bytes bytes 56 µs 56 µs 2,496 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 53 µs 32 µs 768 bytes bytes 3,515 µs 1,289 µs 5,408 bytes bytes
load::settings/finance_notifications_php 2 47 µs 48 µs 8,944 bytes bytes 47 µs 48 µs 8,944 bytes bytes
App\Models\Tenant\VoucherSerie::isRestoring 1 47 µs 47 µs 664 bytes bytes 49 µs 50 µs 1,264 bytes bytes
Illuminate\Cache\Repository::tags 2 46 µs 17 µs 760 bytes bytes 621 µs 621 µs 59,688 bytes bytes
Illuminate\Cache\TaggedCache::event 4 46 µs 42 µs 1,296 bytes bytes 54 µs 55 µs 2,448 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 46 µs 48 µs 1,048 bytes bytes 46 µs 48 µs 1,048 bytes bytes
load::settings/splynx_integration_php 2 45 µs 45 µs 12,752 bytes bytes 45 µs 45 µs 12,752 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogEvent 1 45 µs 45 µs 696 bytes bytes 94 µs 95 µs 1,960 bytes bytes
App\Models\Tenant\VoucherSerie::initializeSoftDeletes 6 42 µs 37 µs 1,960 bytes bytes 62 µs 65 µs 2,592 bytes bytes
load::settings/portal_php 2 40 µs 41 µs 6,368 bytes bytes 40 µs 41 µs 6,368 bytes bytes
load::settings/voucher_limit_notifications_php 2 40 µs 42 µs 12,080 bytes bytes 40 µs 42 µs 12,080 bytes bytes
App\Models\Tenant\VoucherSerie::eventsToBeRecorded 3 40 µs 43 µs 2,168 bytes bytes 40 µs 43 µs 2,168 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::__construct 1 38 µs 39 µs 1,344 bytes bytes 38 µs 39 µs 1,344 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::App\Reposit… 1 37 µs 38 µs 3,472 bytes bytes 37 µs 38 µs 3,472 bytes bytes
App\Models\VoucherExpireSchedule::getMinWorkerIndex 1 31 µs 32 µs 2,008 bytes bytes 31 µs 32 µs 2,008 bytes bytes
Xhgui\Profiler\Profiler::disable 1 30 µs 26 µs -4,224 bytes bytes 298 µs 298 µs 15,728 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::buildIdentityKey 1 29 µs 30 µs 688 bytes bytes 29 µs 30 µs 688 bytes bytes
App\Services\RedirectFlow\VoucherCreator::getSeriePrefixByPlan 1 25 µs 26 µs 1,728 bytes bytes 25 µs 26 µs 1,728 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 26 25 µs 34 µs 632 bytes bytes 25 µs 34 µs 632 bytes bytes
App\Models\Tenant\VoucherSerie::getDeletedAtColumn 14 24 µs 34 µs 1,864 bytes bytes 24 µs 34 µs 1,864 bytes bytes
App\Models\Tenant\Voucher::attributesToBeLogged 2 22 µs 16 µs 1,088 bytes bytes 30 µs 32 µs 2,736 bytes bytes
App\Models\Tenant\VoucherSerie::attributesToBeLogged 3 21 µs 19 µs 1,136 bytes bytes 34 µs 36 µs 3,072 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::tryLock 1 19 µs 17 µs 600 bytes bytes 2,378 µs 1,196 µs 72,368 bytes bytes
App\Models\Tenant\Voucher::shouldLogEvent 1 18 µs 18 µs 696 bytes bytes 28 µs 29 µs 1,280 bytes bytes
App\Models\Tenant\VoucherSerie::bootLogsActivity 1 16 µs 14 µs 448 bytes bytes 44 µs 44 µs 9,736 bytes bytes
Illuminate\Cache\TagSet::tagIds 4 15 µs 15 µs 2,080 bytes bytes 21 µs 23 µs 2,840 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\TaggedCache::taggedItemKey 3 12 µs 12 µs 792 bytes bytes 35 µs 38 µs 2,784 bytes bytes
App\Models\Tenant\Voucher::getLogNameToUse 1 12 µs 14 µs 632 bytes bytes 12 µs 14 µs 632 bytes bytes
Illuminate\Cache\TaggedCache::itemKey 3 11 µs µs 1,232 bytes bytes 46 µs 46 µs 4,016 bytes bytes
App\Models\Tenant\VoucherSerie::getQualifiedDeletedAtColumn 1 11 µs 11 µs 6,384 bytes bytes 13 µs 14 µs 7,016 bytes bytes
App\Services\Vouchers\ExpirationSyncer::createKafkaMessage 1 11 µs 10 µs 880 bytes bytes 4,072 µs 2,392 µs -75,976 bytes bytes
App\Models\Tenant\VoucherSerie::getActivitylogOptions 4 11 µs 14 µs 2,160 bytes bytes 11 µs 14 µs 2,160 bytes bytes
App\Models\Tenant\Voucher::getActivitylogOptions 3 10 µs 19 µs 1,904 bytes bytes 10 µs 19 µs 1,904 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\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 23 µs 26 µs 1,992 bytes bytes
Illuminate\Database\Eloquent\Collection::pluck 1 µs µs 760 bytes bytes µs µs 760 bytes bytes
Symfony\Component\HttpFoundation\Request::get 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
App\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlan… 1 µs µs 576 bytes bytes 1,817 µs 539 µs 4,920 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handle 1 µs µs 696 bytes bytes 3,008 µs 1,524 µs 7,384 bytes bytes
Xhgui\Profiler\ProfilingData::__construct 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
Illuminate\Http\Request::get 1 µs µs 664 bytes bytes 10 µs 11 µs 1,248 bytes bytes
Illuminate\Cache\Repository::supportsTags 2 µs 29 µs 584 bytes bytes µs 29 µ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
App\Models\Tenant\VoucherSerie::bootSoftDeletes 1 µs µs 1,064 bytes bytes µs µs 1,064 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
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 680 bytes bytes µs µs 680 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\Database\Eloquent\Relations\Pivot::getCreatedAtColumn 2 µs µs 632 bytes bytes µs µs 632 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
Xhgui\Profiler\Profiler::registerShutdownHandler 1 µs µs 1,200 bytes bytes µs µs 1,200 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::__construct 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Cache\Repository::setDefaultCacheTime 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
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\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
Illuminate\Cache\RedisStore::getPrefix 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
App\Services\RedirectFlow\VoucherCreator::__construct 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::calc 1 µs 42 µs 632 bytes bytes µs 42 µ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 4,728 bytes bytes µs µs 4,728 bytes bytes
App\Models\Tenant\VoucherSerie::isLogEmpty 1 µs µs 632 bytes bytes µs µs 632 bytes bytes