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

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

Illuminate\Database\Query\Builder::aggregate
1,137,545 µs
App\Events\Voucher\VoucherExpirationTrack::handle
1,049,039 µs
main()
14,802 µs
App\Services\RedirectFlow\VoucherCreator::createVoucher
9,750 µs
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderPlan
6,091 µs
App\Listeners\Voucher\SendStatusPageSmsNotification::handle
2,975 µs

Memory Hogs

load::settings/localization_php
95,208 bytes
load::Cache/TaggedCache_php
94,504 bytes
load::Tenant/VoucherSerie_php
48,416 bytes
Illuminate\Database\Query\Builder::aggregate
41,824 bytes
load::Models/VoucherExpireSchedule_php
38,512 bytes
load::RedirectFlow/VoucherCreator_php
34,888 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
Illuminate\Database\Query\Builder::aggregate 1 1,137,545 µs 1,334 µs 41,824 bytes bytes 1,137,601 µs 1,393 µs 49,128 bytes bytes
App\Events\Voucher\VoucherExpirationTrack::handle 1 1,049,039 µs 13,084 µs -7,008 bytes bytes 1,054,071 µs 16,724 µs -59,560 bytes bytes
main() 1 14,802 µs 6,899 µs -8,152 bytes bytes 2,253,995 µs 57,844 µs 638,072 bytes bytes
App\Services\RedirectFlow\VoucherCreator::createVoucher 1 9,750 µs 6,816 µs 3,800 bytes bytes 2,226,978 µs 44,219 µs 336,392 bytes bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderP… 1 6,091 µs 3,279 µs -36,048 bytes bytes 2,238,466 µs 50,213 µs 535,072 bytes bytes
App\Listeners\Voucher\SendStatusPageSmsNotification::handle 1 2,975 µs 2,564 µs -2,416 bytes bytes 3,609 µs 3,206 µs 104,160 bytes bytes
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan 1 2,664 µs 1,021 µs 22,752 bytes bytes 3,305 µs 1,669 µs 87,048 bytes bytes
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure} 1 2,517 µs 2,590 µs 7,240 bytes bytes 3,915 µs 3,482 µs 25,728 bytes bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity 1 2,166 µs 1,280 µs 2,424 bytes bytes 1,143,580 µs 5,999 µs 83,736 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlan… 1 2,127 µs 518 µs 2,064 bytes bytes 2,127 µs 518 µs 2,064 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 6 2,023 µs 2,082 µs 12,176 bytes bytes 3,823 µs 3,343 µs 40,624 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 1,691 µs 615 µs 2,464 bytes bytes 1,711 µs 636 µs 3,512 bytes bytes
App\Services\Vouchers\ExpirationSyncer::getWorkerIndex 1 1,446 µs 1,046 µs -124,328 bytes bytes 4,167 µs 2,769 µs -79,416 bytes bytes
App\Services\Vouchers\CodeGenerator::checkIfCodeExists 1 1,429 µs 381 µs 1,136 bytes bytes 1,429 µs 381 µs 1,136 bytes bytes
Illuminate\Database\Eloquent\Builder::firstOrNew 1 1,221 µs 765 µs 6,128 bytes bytes 1,221 µs 765 µs 6,128 bytes bytes
App\Services\Vouchers\ExpirationSyncer::App\Services\Vouchers\{cl… 1 1,191 µs 510 µs -3,512 bytes bytes 2,712 µs 1,714 µs 44,360 bytes bytes
App\Services\Vouchers\CodeGenerator::getCodeLength 1 1,096 µs 353 µs 280 bytes bytes 1,181 µs 439 µs 7,336 bytes bytes
App\Models\Tenant\VoucherSerie::attributeValuesToBeLogged 1 1,011 µs 450 µs -232 bytes bytes 1,276 µs 728 µs 10,304 bytes bytes
Illuminate\Database\Eloquent\Relations\HasMany::getResults 1 995 µs 641 µs 1,288 bytes bytes 995 µs 641 µs 1,288 bytes bytes
App\Models\Tenant\Voucher::attributeValuesToBeLogged 1 974 µs 462 µs 2,080 bytes bytes 1,342 µs 832 µs 14,488 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handleVouc… 1 793 µs 983 µs -584 bytes bytes 2,720 µs 1,960 µs 6,688 bytes bytes
App\Services\Vouchers\CodeGenerator::getChars 1 791 µs 334 µs -5,256 bytes bytes 838 µs 382 µs 1,800 bytes bytes
Stancl\Tenancy\CacheManager::__call 2 647 µs 267 µs 1,800 bytes bytes 2,501 µs 1,419 µs 153,000 bytes bytes
App\Models\Tenant\VoucherSerie::logChanges 2 533 µs 535 µs 11,648 bytes bytes 560 µs 564 µs 14,088 bytes bytes
load::Tenant/VoucherSerie_php 1 486 µs 488 µs 48,416 bytes bytes 486 µs 488 µs 48,416 bytes bytes
Illuminate\Cache\RedisTaggedCache::put 1 476 µs 136 µs 536 bytes bytes 1,105 µs 400 µs 4,488 bytes bytes
Illuminate\Redis\Connections\PhpRedisConnection::zadd 1 458 µs 92 µs 848 bytes bytes 458 µs 92 µs 848 bytes bytes
load::settings/localization_php 3 407 µs 410 µs 95,208 bytes bytes 407 µs 410 µs 95,208 bytes bytes
App\Services\Vouchers\ExpirationSyncer::syncVoucher 1 347 µs 332 µs -7,080 bytes bytes 4,746 µs 3,352 µs -81,352 bytes bytes
App\Models\Tenant\Voucher::logChanges 1 345 µs 346 µs 9,672 bytes bytes 355 µs 356 µs 10,480 bytes bytes
load::RedirectFlow/VoucherCreator_php 1 335 µs 337 µs 34,888 bytes bytes 335 µs 337 µs 34,888 bytes bytes
load::Vouchers/ExpirationSyncer_php 1 286 µs 288 µs 28,800 bytes bytes 286 µs 288 µs 28,800 bytes bytes
load::Voucher/SendStatusPageSmsNotification_php 1 275 µs 767 µs 31,024 bytes bytes 275 µs 767 µs 31,024 bytes bytes
load::Models/VoucherExpireSchedule_php 1 241 µs 377 µs 38,512 bytes bytes 241 µs 377 µs 38,512 bytes bytes
App\Models\Tenant\Voucher::triggerSyncEvent 1 223 µs 197 µs -2,600 bytes bytes 1,289 µs 1,224 µs 3,648 bytes bytes
load::AggregatedData/ActivatedVouchersAggregatedStatistics_php 1 216 µs 341 µs 3,760 bytes bytes 216 µs 341 µs 3,760 bytes bytes
load::Cache/RedisTaggedCache_php 1 194 µs 196 µs 16,136 bytes bytes 194 µs 196 µs 16,136 bytes bytes
load::settings/finance_php 4 188 µs 191 µs 28,192 bytes bytes 188 µs 191 µs 28,192 bytes bytes
load::Cache/RedisTagSet_php 1 170 µs 171 µs 19,104 bytes bytes 170 µs 171 µs 19,104 bytes bytes
load::TrialSessions/TrialSessionsMaker_php 1 164 µs 164 µs 16,584 bytes bytes 164 µs 164 µs 16,584 bytes bytes
App\Models\Tenant\Voucher::getExpireTime 1 162 µs 183 µs 1,568 bytes bytes 162 µs 183 µs 1,568 bytes bytes
load::src/ProfilingData_php 1 161 µs 162 µs 18,784 bytes bytes 161 µs 162 µs 18,784 bytes bytes
load::Templates/GoRenderer_php 1 143 µs 143 µs 18,840 bytes bytes 143 µs 143 µs 18,840 bytes bytes
load::settings/captive_portal_php 2 138 µs 140 µs 14,880 bytes bytes 138 µs 140 µs 14,880 bytes bytes
load::Vouchers/NextReactivateTimeCalculator_php 1 132 µs 135 µs 7,392 bytes bytes 132 µs 135 µs 7,392 bytes bytes
load::Vouchers/CodeGenerator_php 1 124 µs 126 µs 7,296 bytes bytes 124 µs 126 µs 7,296 bytes bytes
load::Cache/TaggedCache_php 1 117 µs 118 µs 94,504 bytes bytes 117 µs 118 µs 94,504 bytes bytes
App\Models\Tenant\Voucher::App\Models\Tenant\{closure} 2 110 µs 108 µs 1,160 bytes bytes 1,055,767 µs 18,484 µs -48,056 bytes bytes
load::Plans/BuyMutex_php 1 107 µs 109 µs 7,296 bytes bytes 107 µs 109 µs 7,296 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 99 µs 100 µs 792 bytes bytes 99 µs 100 µs 792 bytes bytes
App\Models\Tenant\Voucher::triggerExpirationSync 1 96 µs 221 µs -1,552 bytes bytes 1,054,345 µs 17,128 µs -54,160 bytes bytes
Illuminate\Cache\RedisTagSet::addEntry 1 91 µs 88 µs 312 bytes bytes 558 µs 191 µs 2,592 bytes bytes
load::OrderProcess/UserInfo_php 1 89 µs 90 µs 2,496 bytes bytes 89 µs 90 µs 2,496 bytes bytes
Illuminate\Cache\RedisStore::tags 2 88 µs 83 µs -5,088 bytes bytes 663 µs 664 µs 138,400 bytes bytes
load::Voucher/VoucherTimeExpirationSync_php 1 88 µs 91 µs 3,304 bytes bytes 88 µs 91 µs 3,304 bytes bytes
load::Voucher/VoucherExpirationTrack_php 1 88 µs 89 µs 3,016 bytes bytes 88 µs 89 µs 3,016 bytes bytes
load::Cache/TagSet_php 1 86 µs 87 µs 12,576 bytes bytes 86 µs 87 µs 12,576 bytes bytes
load::Voucher/ActivatedVoucherStatisticUpdate_php 1 86 µs 113 µs 7,760 bytes bytes 86 µs 113 µs 7,760 bytes bytes
App\Models\Tenant\Voucher::customer 1 83 µs 84 µs 8,808 bytes bytes 83 µs 84 µs 8,808 bytes bytes
load::Voucher/VoucherActivated_php 1 81 µs 82 µs 3,368 bytes bytes 81 µs 82 µs 3,368 bytes bytes
App\Models\Tenant\Voucher::macs 1 71 µs 386 µs 4,960 bytes bytes 71 µs 386 µs 4,960 bytes bytes
load::settings/customers_php 2 70 µs 72 µs 10,048 bytes bytes 70 µs 72 µs 10,048 bytes bytes
load::settings/status_page_notifications_php 3 70 µs 73 µs 16,976 bytes bytes 70 µs 73 µs 16,976 bytes bytes
load::settings/voucher_limit_notifications_php 2 61 µs 62 µs 12,080 bytes bytes 61 µs 62 µs 12,080 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogEvent 1 61 µs 52 µs 696 bytes bytes 112 µs 114 µs 1,960 bytes bytes
Illuminate\Cache\TaggedCache::event 4 60 µs 51 µs 1,296 bytes bytes 68 µs 68 µs 2,448 bytes bytes
load::Expiration/ExpirationSyncerPackage_php 1 59 µs 60 µs 2,696 bytes bytes 59 µs 60 µs 2,696 bytes bytes
App\Models\VoucherExpireSchedule::getMinWorkerIndex 1 54 µs 56 µs 2,008 bytes bytes 54 µs 56 µs 2,008 bytes bytes
App\Models\Tenant\VoucherSerie::isRestoring 1 48 µs 58 µs 664 bytes bytes 51 µs 62 µs 1,264 bytes bytes
App\Models\Tenant\VoucherSerie::eventsToBeRecorded 3 45 µs 47 µs 2,168 bytes bytes 45 µs 47 µs 2,168 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 44 µs 34 µs 768 bytes bytes 3,492 µs 1,236 µs 11,040 bytes bytes
load::settings/splynx_integration_php 2 43 µs 43 µs 12,752 bytes bytes 43 µs 43 µs 12,752 bytes bytes
load::settings/portal_php 2 40 µs 41 µs 6,368 bytes bytes 40 µs 41 µs 6,368 bytes bytes
App\Models\Tenant\VoucherSerie::initializeSoftDeletes 6 40 µs 33 µs 1,960 bytes bytes 60 µs 62 µs 2,592 bytes bytes
App\Services\RedirectFlow\VoucherCreator::getSeriePrefixByPlan 1 38 µs 39 µs 2,368 bytes bytes 38 µs 39 µs 2,368 bytes bytes
load::settings/finance_notifications_php 2 37 µs 38 µs 8,944 bytes bytes 37 µs 38 µs 8,944 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::buildIdentityKey 1 36 µs 37 µs 688 bytes bytes 36 µs 37 µs 688 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::Spatie\Activitylog\Traits\{closur… 26 26 µs 33 µs 632 bytes bytes 26 µs 33 µs 632 bytes bytes
App\Models\Tenant\VoucherSerie::attributesToBeLogged 3 25 µs 21 µs 5,232 bytes bytes 36 µs 41 µs 7,168 bytes bytes
Illuminate\Cache\TagSet::tagIds 4 24 µs 21 µs 2,080 bytes bytes 29 µs 31 µs 4,120 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::__construct 1 24 µs 25 µs 1,344 bytes bytes 24 µs 25 µs 1,344 bytes bytes
App\Models\Tenant\Voucher::shouldLogEvent 1 24 µs 22 µs 696 bytes bytes 37 µs 37 µs 1,280 bytes bytes
Xhgui\Profiler\Profiler::disable 1 24 µs 21 µs -4,224 bytes bytes 193 µs 192 µs 15,728 bytes bytes
Illuminate\Cache\Repository::tags 2 23 µs 22 µs 760 bytes bytes 693 µs 695 µs 140,328 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::tryLock 1 23 µs 21 µs 600 bytes bytes 2,560 µs 1,477 µs 154,288 bytes bytes
App\Models\Tenant\VoucherSerie::bootLogsActivity 1 21 µs 17 µs 448 bytes bytes 61 µs 62 µs 9,736 bytes bytes
App\Models\Tenant\Voucher::getFullCode 1 21 µs 21 µs 632 bytes bytes 23 µs 24 µs 1,296 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 20 µs 21 µs 1,048 bytes bytes 20 µs 21 µs 1,048 bytes bytes
App\Models\Tenant\VoucherSerie::getQualifiedDeletedAtColumn 1 18 µs 17 µs 752 bytes bytes 21 µs 21 µs 1,384 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileAggregate 1 18 µs 19 µs 688 bytes bytes 18 µs 19 µs 688 bytes bytes
Illuminate\Cache\TaggedCache::taggedItemKey 3 16 µs 17 µs 792 bytes bytes 49 µs 51 µs 4,064 bytes bytes
App\Models\Tenant\Voucher::attributesToBeLogged 2 16 µs 14 µs 1,088 bytes bytes 23 µs 24 µs 2,736 bytes bytes
App\Providers\GoRendererServiceProvider::App\Providers\{closure} 1 16 µs 15 µs -4,232 bytes bytes 160 µs 160 µs 15,240 bytes bytes
Illuminate\Routing\UrlGenerator::Stancl\Tenancy\Bootstrappers\{cl… 3 14 µs 14 µs 1,136 bytes bytes 14 µs 14 µs 1,136 bytes bytes
Illuminate\Database\Query\Builder::cloneWithout 1 14 µs 11 µs 728 bytes bytes 18 µs 19 µs 2,472 bytes bytes
Illuminate\Database\Query\Builder::count 1 14 µs 11 µs -64 bytes bytes 1,137,615 µs 1,404 µs 49,064 bytes bytes
App\Models\Tenant\Voucher::isRestoring 1 13 µs 15 µs 584 bytes bytes 13 µs 15 µs 584 bytes bytes
Illuminate\Cache\TagSet::getNamespace 3 12 µs 11 µs bytes bytes 33 µs 34 µs 3,272 bytes bytes
App\Services\Vouchers\ExpirationSyncer::createKafkaMessage 1 11 µs µs 880 bytes bytes 4,178 µs 2,777 µs -78,536 bytes bytes
App\Models\Tenant\VoucherSerie::getActivitylogOptions 4 11 µs 17 µs 2,160 bytes bytes 11 µs 17 µs 2,160 bytes bytes
Illuminate\Cache\TaggedCache::itemKey 3 10 µs 11 µs 1,232 bytes bytes 59 µs 62 µs 5,296 bytes bytes
App\Models\Tenant\Voucher::getActivitylogOptions 3 10 µs 13 µs 1,904 bytes bytes 10 µs 13 µs 1,904 bytes bytes
App\Models\Tenant\Voucher::getLogNameToUse 1 10 µs 11 µs 632 bytes bytes 10 µs 11 µs 632 bytes bytes
Illuminate\Database\Query\Builder::cloneWithoutBindings 1 10 µs µs 728 bytes bytes 14 µs 15 µs 3,168 bytes bytes
App\Models\Tenant\VoucherSerie::getLogNameToUse 1 10 µs 11 µs 632 bytes bytes 10 µs 11 µs 632 bytes bytes
App\Models\Tenant\Voucher::generateFullCode 2 µs µs 1,344 bytes bytes µs µs 1,344 bytes bytes
Illuminate\Database\Query\Builder::setAggregate 1 µs µs 976 bytes bytes µs µs 976 bytes bytes
Xhgui\Profiler\Profiler::registerShutdownHandler 1 µs µs 1,200 bytes bytes µs µs 1,200 bytes bytes
Illuminate\Cache\RedisTagSet::tagId 4 µs 10 µs 2,040 bytes bytes µs 10 µs 2,040 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
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handle 1 µs µs 696 bytes bytes 2,725 µs 1,965 µs 7,384 bytes bytes
App\Dto\BaseData::fromArray 1 µs µs 680 bytes bytes µs µs 680 bytes bytes
Illuminate\Cache\Repository::supportsTags 2 µ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\TaggedCache::__construct 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
Illuminate\Database\Query\Builder::clone 2 µs µs 2,224 bytes bytes µs µs 2,224 bytes bytes
Illuminate\Database\Query\Builder::Illuminate\Database\Query\{clo… 2 µs µs 1,960 bytes bytes µs µs 1,960 bytes bytes
Illuminate\Support\Collection::only 1 µs µs 1,072 bytes bytes µs µs 1,072 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\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::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 632 bytes bytes µs µs 632 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 µ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\Events\Voucher\VoucherActivated::__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\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\Services\Templates\GoRenderer::__construct 1 µs µs 632 bytes bytes µs µs 632 bytes bytes