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

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,112,564 µs
App\Events\Voucher\VoucherExpirationTrack::handle
1,047,970 µs
main()
14,813 µs
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderPlan
6,625 µs
App\Services\RedirectFlow\VoucherCreator::createVoucher
5,935 µs
App\Listeners\Voucher\SendStatusPageSmsNotification::handle
3,004 µs

Memory Hogs

load::settings/localization_php
95,208 bytes
Illuminate\Database\Query\Builder::aggregate
41,824 bytes
load::settings/finance_php
33,824 bytes
load::settings/status_page_notifications_php
16,976 bytes
load::settings/captive_portal_php
14,880 bytes
load::settings/splynx_integration_php
12,752 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,112,564 µs 1,849 µs 41,824 bytes bytes 1,112,613 µs 1,902 µs 49,128 bytes bytes
App\Events\Voucher\VoucherExpirationTrack::handle 1 1,047,970 µs 12,811 µs -2,016 bytes bytes 1,051,928 µs 15,762 µs -120,008 bytes bytes
main() 1 14,813 µs 6,936 µs 7,936 bytes bytes 2,220,363 µs 52,143 µs 273,896 bytes bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderP… 1 6,625 µs 3,698 µs -23,648 bytes bytes 2,205,172 µs 44,820 µs 185,176 bytes bytes
App\Services\RedirectFlow\VoucherCreator::createVoucher 1 5,935 µs 4,424 µs 11,592 bytes bytes 2,194,285 µs 39,293 µs 142,544 bytes bytes
App\Listeners\Voucher\SendStatusPageSmsNotification::handle 1 3,004 µs 2,772 µs -2,616 bytes bytes 3,450 µs 3,225 µs 90,104 bytes bytes
Illuminate\Database\Eloquent\Builder::update 2 2,239 µs 682 µs 1,592 bytes bytes 2,239 µs 682 µs 1,592 bytes bytes
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan 1 2,010 µs 794 µs 5,776 bytes bytes 2,097 µs 884 µs 9,800 bytes bytes
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure} 1 1,995 µs 2,096 µs 9,824 bytes bytes 3,329 µs 2,963 µs 22,264 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 2 1,953 µs 2,058 µs 6,096 bytes bytes 3,704 µs 3,262 µs 28,384 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::getTemporar… 1 1,779 µs 528 µs 112 bytes bytes 1,853 µs 603 µs 5,040 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 1,704 µs 782 µs 2,464 bytes bytes 1,737 µs 875 µs 3,512 bytes bytes
App\Services\Vouchers\ExpirationSyncer::getWorkerIndex 1 1,356 µs 1,251 µs -124,328 bytes bytes 3,185 µs 2,290 µs -117,432 bytes bytes
App\Models\Tenant\MacLink::Spatie\Activitylog\Traits\{closure} 2 1,346 µs 1,275 µs 5,896 bytes bytes 1,347 µs 1,277 µs 6,528 bytes bytes
App\Services\Vouchers\CodeGenerator::checkIfCodeExists 1 1,225 µs 307 µs 1,136 bytes bytes 1,225 µs 307 µs 1,136 bytes bytes
App\Models\Tenant\VoucherSerie::attributeValuesToBeLogged 1 1,047 µs 485 µs -232 bytes bytes 1,323 µs 768 µs 6,208 bytes bytes
App\Services\Vouchers\ExpirationSyncer::App\Services\Vouchers\{cl… 1 1,007 µs 410 µs -2,088 bytes bytes 1,822 µs 1,032 µs 6,344 bytes bytes
App\Models\Tenant\Voucher::attributeValuesToBeLogged 1 915 µs 441 µs 2,080 bytes bytes 1,294 µs 823 µs 8,440 bytes bytes
Illuminate\Database\Eloquent\Builder::firstOrNew 1 785 µs 590 µs 6,048 bytes bytes 785 µs 590 µs 6,048 bytes bytes
App\Services\Vouchers\CodeGenerator::getCodeLength 1 758 µs 293 µs -5,352 bytes bytes 817 µs 354 µs 1,704 bytes bytes
Stancl\Tenancy\CacheManager::__call 2 757 µs 407 µs 1,800 bytes bytes 2,117 µs 933 µs 23,200 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handleVouc… 1 752 µs 697 µs 1,184 bytes bytes 2,489 µs 1,572 µs 4,696 bytes bytes
Illuminate\Database\Eloquent\Relations\HasMany::getResults 1 735 µs 382 µs 1,288 bytes bytes 735 µs 382 µs 1,288 bytes bytes
App\Services\Vouchers\CodeGenerator::getChars 1 733 µs 303 µs -5,256 bytes bytes 795 µs 367 µs 7,432 bytes bytes
App\Services\Vouchers\ExpirationSyncer::syncVoucher 1 597 µs 486 µs -5,520 bytes bytes 3,958 µs 2,951 µs -117,992 bytes bytes
Illuminate\Redis\Connections\PhpRedisConnection::zadd 1 582 µs 66 µs 848 bytes bytes 582 µs 66 µs 848 bytes bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity 1 500 µs 498 µs 1,616 bytes bytes 1,118,396 µs 6,358 µs 85,256 bytes bytes
Illuminate\Cache\RedisTaggedCache::put 1 461 µs 138 µs 536 bytes bytes 1,230 µs 394 µs 10,176 bytes bytes
App\Models\Tenant\VoucherSerie::logChanges 2 460 µs 461 µs 9,880 bytes bytes 482 µs 484 µs 12,320 bytes bytes
App\Models\Tenant\Voucher::logChanges 1 357 µs 358 µs 3,624 bytes bytes 368 µs 370 µs 4,432 bytes bytes
Illuminate\Database\Eloquent\Model::performUpdate 2 325 µs 315 µs -856 bytes bytes 7,668 µs 5,590 µs 37,032 bytes bytes
load::settings/localization_php 3 311 µs 313 µs 95,208 bytes bytes 311 µs 313 µs 95,208 bytes bytes
load::settings/finance_php 4 183 µs 190 µs 33,824 bytes bytes 183 µs 190 µs 33,824 bytes bytes
App\Listeners\SyncVouchersToAccounting::handle 2 152 µs 257 µs 1,840 bytes bytes 175 µs 282 µs 3,208 bytes bytes
load::settings/captive_portal_php 2 124 µs 126 µs 14,880 bytes bytes 124 µs 126 µs 14,880 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 119 µs 122 µs 792 bytes bytes 119 µs 122 µs 792 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::buildIdentityKey 1 115 µs 118 µs 688 bytes bytes 115 µs 118 µs 688 bytes bytes
App\Models\Tenant\Voucher::getExpireTime 1 105 µs 103 µs 272 bytes bytes 162 µs 162 µs 3,496 bytes bytes
load::settings/customers_php 2 100 µs 100 µs 10,048 bytes bytes 100 µs 100 µs 10,048 bytes bytes
App\Models\Tenant\Voucher::triggerSyncEvent 1 85 µs 83 µs -2,736 bytes bytes 982 µs 982 µs 5,960 bytes bytes
App\Models\Tenant\Voucher::customer 1 77 µs 79 µs 8,808 bytes bytes 77 µs 79 µs 8,808 bytes bytes
load::settings/status_page_notifications_php 3 75 µs 77 µs 16,976 bytes bytes 75 µs 77 µs 16,976 bytes bytes
Illuminate\Cache\TaggedCache::event 4 75 µs 70 µs 2,576 bytes bytes 86 µs 88 µs 3,728 bytes bytes
App\Models\Tenant\Voucher::App\Models\Tenant\{closure} 2 73 µs 73 µs 536 bytes bytes 1,053,069 µs 16,899 µs -108,280 bytes bytes
now 3 64 µs 67 µs 3,904 bytes bytes 64 µs 67 µs 3,904 bytes bytes
App\Models\Tenant\Voucher::macs 1 62 µs 310 µs 4,584 bytes bytes 62 µs 310 µs 4,584 bytes bytes
Illuminate\Cache\RedisTagSet::addEntry 1 56 µs 54 µs -984 bytes bytes 701 µs 185 µs 8,280 bytes bytes
Illuminate\Database\Eloquent\Model::getDirtyForUpdate 2 53 µs 54 µs 1,384 bytes bytes 53 µs 54 µs 1,384 bytes bytes
App\Models\Tenant\VoucherSerie::isRestoring 1 49 µs 49 µs 664 bytes bytes 52 µs 53 µs 1,264 bytes bytes
App\Models\Tenant\VoucherSerie::initializeSoftDeletes 6 47 µs 35 µs 1,960 bytes bytes 71 µs 74 µs 2,592 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogEvent 1 46 µs 46 µs 696 bytes bytes 98 µs 99 µs 1,960 bytes bytes
App\Models\Tenant\Voucher::triggerExpirationSync 1 41 µs 35 µs 760 bytes bytes 1,051,971 µs 15,800 µs -118,616 bytes bytes
load::settings/splynx_integration_php 2 40 µs 41 µs 12,752 bytes bytes 40 µs 41 µs 12,752 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
load::settings/finance_notifications_php 2 39 µs 40 µs 8,944 bytes bytes 39 µs 40 µs 8,944 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 37 µs 35 µs 768 bytes bytes 2,874 µs 1,063 µs 11,040 bytes bytes
load::settings/portal_php 2 36 µs 37 µs 6,368 bytes bytes 36 µs 37 µs 6,368 bytes bytes
Carbon\CarbonInterval::fromString 2 33 µs 29 µs 2,024 bytes bytes 52 µs 53 µs 3,448 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 33 µs 93 µs 1,048 bytes bytes 33 µs 93 µs 1,048 bytes bytes
App\Services\RedirectFlow\VoucherCreator::getSeriePrefixByPlan 1 32 µs 32 µs 1,312 bytes bytes 32 µs 32 µs 1,312 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::tryLock 1 30 µs 24 µs 584 bytes bytes 2,262 µs 1,075 µs 24,472 bytes bytes
App\Models\Tenant\VoucherSerie::getDeletedAtColumn 14 30 µs 46 µs 1,864 bytes bytes 30 µs 46 µs 1,864 bytes bytes
App\Models\Tenant\VoucherSerie::eventsToBeRecorded 2 30 µs 31 µs 1,256 bytes bytes 30 µs 31 µs 1,256 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 26 27 µs 32 µs 632 bytes bytes 27 µs 32 µs 632 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::App\Reposit… 1 26 µs 24 µs 2,184 bytes bytes 65 µs 65 µs 3,528 bytes bytes
App\Models\VoucherExpireSchedule::getMinWorkerIndex 1 26 µs 27 µs 1,160 bytes bytes 26 µs 27 µs 1,160 bytes bytes
Illuminate\Cache\Repository::tags 2 25 µs 19 µs 760 bytes bytes 52 µs 52 µs 4,208 bytes bytes
Carbon\Carbon::rawAddUnit 2 22 µs 21 µs -872 bytes bytes 83 µs 85 µs 3,696 bytes bytes
App\Models\Tenant\VoucherSerie::attributesToBeLogged 3 22 µs 21 µs 1,136 bytes bytes 31 µs 34 µs 3,072 bytes bytes
App\Listeners\SyncVouchersToAccounting::handleEventData 2 21 µs 21 µs 696 bytes bytes 23 µs 25 µs 1,368 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileAggregate 1 21 µs 22 µs 688 bytes bytes 21 µs 22 µs 688 bytes bytes
Carbon\Carbon::addUnit 2 20 µs 20 µs 4,176 bytes bytes 103 µs 105 µs 7,872 bytes bytes
Illuminate\Cache\TagSet::tagIds 4 18 µs 17 µs 2,080 bytes bytes 25 µs 26 µs 2,840 bytes bytes
Illuminate\Database\Eloquent\Model::wasChanged 2 18 µs 15 µs 1,296 bytes bytes 21 µs 22 µs 1,896 bytes bytes
Carbon\CarbonInterval::__construct 2 17 µs 19 µs 1,288 bytes bytes 17 µs 19 µs 1,288 bytes bytes
App\Models\Tenant\VoucherSerie::getQualifiedDeletedAtColumn 1 17 µs 17 µs 752 bytes bytes 20 µs 20 µs 1,384 bytes bytes
Illuminate\Cache\TaggedCache::taggedItemKey 3 15 µs 14 µs 792 bytes bytes 46 µs 48 µs 2,784 bytes bytes
App\Models\Tenant\Voucher::getFullCode 1 15 µs 14 µs 632 bytes bytes 17 µs 17 µs 1,296 bytes bytes
App\Models\Tenant\Voucher::attributesToBeLogged 2 15 µs 15 µs 1,088 bytes bytes 22 µs 24 µs 2,736 bytes bytes
Illuminate\Cache\RedisStore::tags 2 14 µs 13 µs 1,112 bytes bytes 22 µs 24 µs 2,280 bytes bytes
App\Models\Tenant\Voucher::shouldLogEvent 1 14 µs 13 µs 696 bytes bytes 23 µs 23 µs 1,280 bytes bytes
Illuminate\Database\Query\Builder::count 1 14 µs 11 µs 4,032 bytes bytes 1,112,627 µs 1,913 µs 53,160 bytes bytes
Illuminate\Routing\UrlGenerator::Stancl\Tenancy\Bootstrappers\{cl… 3 12 µs 12 µs 1,136 bytes bytes 12 µs 12 µs 1,136 bytes bytes
Illuminate\Cache\TagSet::getNamespace 3 11 µs 12 µs bytes bytes 31 µs 34 µs 1,992 bytes bytes
App\Models\Tenant\Voucher::getLogNameToUse 1 11 µs 12 µs 632 bytes bytes 11 µs 12 µs 632 bytes bytes
App\Models\Tenant\VoucherSerie::getLogNameToUse 1 11 µs 12 µs 632 bytes bytes 11 µs 12 µs 632 bytes bytes
Xhgui\Profiler\Profiler::disable 1 10 µs µs 776 bytes bytes 17 µs 17 µs 1,944 bytes bytes
Illuminate\Database\Eloquent\Collection::pluck 1 µs 10 µs 1,400 bytes bytes µs 10 µs 1,400 bytes bytes
App\Dto\BaseData::__construct 2 µs 10 µs 1,216 bytes bytes 14 µs 16 µs 1,768 bytes bytes
Illuminate\Cache\TaggedCache::itemKey 3 µs 10 µs 1,232 bytes bytes 55 µs 58 µs 4,016 bytes bytes
App\Models\Tenant\Voucher::isRestoring 1 µs 10 µs 584 bytes bytes µs 10 µs 584 bytes bytes
Illuminate\Database\Query\Builder::cloneWithout 1 µs µs 728 bytes bytes 13 µs 13 µs 2,472 bytes bytes
App\Models\Tenant\VoucherSerie::getActivitylogOptions 4 µs 12 µs 2,160 bytes bytes µs 12 µs 2,160 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlan… 1 µs µs 576 bytes bytes 1,861 µs 609 µs 5,616 bytes bytes
App\Services\Vouchers\ExpirationSyncer::createKafkaMessage 1 µs µs 880 bytes bytes 3,193 µs 2,296 µs -116,552 bytes bytes
App\Dto\BaseData::fromArray 1 µs µs 744 bytes bytes 15 µs 16 µs 1,928 bytes bytes
Illuminate\Cache\RedisTagSet::tagId 4 µs µs 760 bytes bytes µs µs 760 bytes bytes
Carbon\Carbon::isModifiableUnit 2 µs µs 1,168 bytes bytes µs µs 1,168 bytes bytes
Illuminate\Database\Eloquent\Relations\Pivot::getTable 4 µs 11 µs 632 bytes bytes µs 11 µs 632 bytes bytes
App\Models\Tenant\Voucher::getActivitylogOptions 3 µs µs 1,904 bytes bytes µs µs 1,904 bytes bytes
Illuminate\Database\Query\Builder::cloneWithoutBindings 1 µs µs 728 bytes bytes 11 µs 13 µs 3,168 bytes bytes
Illuminate\Cache\Events\CacheEvent::setTags 4 µs µs 584 bytes bytes µs µs 584 bytes bytes
App\Events\Voucher\VoucherSync::__construct 2 µs µs 1,200 bytes bytes µs µs 1,200 bytes bytes
Illuminate\Http\Request::get 1 µs µs 664 bytes bytes µs 10 µs 1,248 bytes bytes
App\Dto\BaseData::fill 2 µs µs 552 bytes bytes µs µs 552 bytes bytes
Illuminate\Cache\TaggedCache::__construct 2 µs µs 584 bytes bytes µs µs 584 bytes bytes
Illuminate\Cache\TagSet::getNames 4 µs 10 µs 568 bytes bytes µs 10 µs 568 bytes bytes
Carbon\Carbon::rawAdd 2 µs µs 552 bytes bytes µs µs 552 bytes bytes
Illuminate\Cache\Repository::set 1 µs µs 632 bytes bytes 1,235 µs 399 µs 10,808 bytes bytes
App\Models\Tenant\Voucher::generateFullCode 2 µs µs 1,344 bytes bytes µs µs 1,344 bytes bytes
Illuminate\Database\Query\Builder::Illuminate\Database\Query\{clo… 2 µs µs 1,960 bytes bytes µs µs 1,960 bytes bytes
App\Providers\GoRendererServiceProvider::App\Providers\{closure} 1 µs µs 752 bytes bytes µs µs 1,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
Symfony\Component\HttpFoundation\Request::get 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
Carbon\Carbon::getMagicParameter 2 µs µs 1,168 bytes bytes µs µs 1,168 bytes bytes
Carbon\CarbonInterval::invert 2 µ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
Illuminate\Database\Query\Builder::setAggregate 1 µs µs 976 bytes bytes µs µs 976 bytes bytes
Illuminate\Support\Collection::only 1 µs µs 1,072 bytes bytes µs µs 1,072 bytes bytes
App\Events\Voucher\VoucherActivated::__construct 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handle 1 µs µs 696 bytes bytes 2,493 µs 1,577 µs 5,392 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
App\Services\Vouchers\NextReactivateTimeCalculator::__construct 1 µs µs 696 bytes bytes 17 µs 18 µs 1,976 bytes bytes
Illuminate\Database\Eloquent\Relations\Pivot::getCreatedAtColumn 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
Illuminate\Database\Eloquent\Model::getChanges 2 µs µs 600 bytes bytes µs µs 600 bytes bytes
Illuminate\Database\Query\Builder::clone 2 µs µs 2,224 bytes bytes µs µs 2,224 bytes bytes
Illuminate\Database\Eloquent\Model::getRawOriginal 2 µs µs 1,264 bytes bytes µs µs 1,264 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogUnguarded 3 µ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
Carbon\CarbonInterval::withOriginal 2 µs µs 136 bytes bytes µs µs 136 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\Providers\AccountingServiceProvider::App\Providers\{closure} 1 µs µs 672 bytes bytes µs µs 672 bytes bytes
App\Listeners\Voucher\VoucherTimeExpirationSync::__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
App\Services\RedirectFlow\Plans\BuyMutex::__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
Illuminate\Database\Eloquent\Relations\Pivot::getUpdatedAtColumn 2 µ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::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\Services\Templates\GoRenderer::__construct 1 µs µs 632 bytes bytes µs µs 632 bytes bytes