Profile data for GET http://meshtelecom.powerlynx.app/portal/api/redirect-flow/order-plan/11?hash=27f64f2475ae427afa477233ff2729aa

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\Services\Vouchers\ExpirationSyncer::syncVoucher
4,135,647 µs
App\Services\Vouchers\ExpirationSyncer::getWorkerIndex
4,030,177 µs
App\Models\Tenant\VoucherSerie::recalculateQuantity
298,274 µs
App\Services\RedirectFlow\VoucherCreator::createVoucher
53,874 µs
main()
29,472 µs
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderPlan
10,725 µs

Memory Hogs

load::settings/localization_php
95,208 bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity
44,040 bytes
load::settings/finance_php
28,192 bytes
load::settings/status_page_notifications_php
16,976 bytes
App\Services\RedirectFlow\VoucherCreator::createVoucher
16,624 bytes
load::settings/captive_portal_php
14,880 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\Services\Vouchers\ExpirationSyncer::syncVoucher 1 4,135,647 µs 25,163 µs 424 bytes bytes 8,169,124 µs 51,019 µs -109,832 bytes bytes
App\Services\Vouchers\ExpirationSyncer::getWorkerIndex 1 4,030,177 µs 24,571 µs -120,648 bytes bytes 4,033,287 µs 25,549 µs -113,712 bytes bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity 1 298,274 µs 3,248 µs 44,040 bytes bytes 309,545 µs 8,343 µs 72,368 bytes bytes
App\Services\RedirectFlow\VoucherCreator::createVoucher 1 53,874 µs 13,881 µs 16,624 bytes bytes 8,572,525 µs 88,469 µs 116,880 bytes bytes
main() 1 29,472 µs 7,709 µs -14,904 bytes bytes 8,617,053 µs 103,115 µs 219,336 bytes bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderP… 1 10,725 µs 4,673 µs -22,704 bytes bytes 8,587,055 µs 94,870 µs 149,360 bytes bytes
App\Listeners\Voucher\SendStatusPageSmsNotification::handle 1 8,303 µs 4,367 µs -14,592 bytes bytes 10,511 µs 6,616 µs 78,128 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 7,829 µs 1,233 µs 2,464 bytes bytes 7,869 µs 1,276 µs 3,512 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handleVouc… 1 6,757 µs 384 µs 1,184 bytes bytes 14,626 µs 1,660 µs 4,696 bytes bytes
App\Models\Tenant\VoucherSerie::attributeValuesToBeLogged 1 6,275 µs 854 µs -232 bytes bytes 6,790 µs 1,388 µs 6,208 bytes bytes
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure} 1 4,065 µs 2,453 µs 9,864 bytes bytes 5,612 µs 3,351 µs 29,896 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 2 3,634 µs 2,797 µs 6,032 bytes bytes 11,271 µs 5,095 µs 28,328 bytes bytes
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan 1 2,613 µs 924 µs 5,776 bytes bytes 2,701 µs 1,016 µs 9,160 bytes bytes
Illuminate\Database\Eloquent\Relations\HasMany::getResults 1 1,865 µs 719 µs 1,288 bytes bytes 1,865 µs 719 µs 1,288 bytes bytes
App\Services\Vouchers\ExpirationSyncer::App\Services\Vouchers\{cl… 1 1,750 µs 438 µs -2,048 bytes bytes 3,098 µs 964 µs 6,384 bytes bytes
App\Services\Vouchers\CodeGenerator::checkIfCodeExists 1 1,742 µs 310 µs 1,136 bytes bytes 1,742 µs 310 µs 1,136 bytes bytes
load::settings/finance_notifications_php 2 1,622 µs 1,507 µs 8,944 bytes bytes 1,622 µs 1,507 µs 8,944 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlan… 1 1,565 µs 663 µs 2,064 bytes bytes 1,565 µs 663 µs 2,064 bytes bytes
Illuminate\Database\Eloquent\Builder::firstOrNew 1 1,302 µs 476 µs 6,048 bytes bytes 1,302 µs 476 µs 6,048 bytes bytes
App\Models\Tenant\Voucher::attributeValuesToBeLogged 1 1,147 µs 493 µs 2,120 bytes bytes 1,507 µs 854 µs 16,032 bytes bytes
App\Services\Vouchers\CodeGenerator::getCodeLength 1 1,065 µs 318 µs -5,352 bytes bytes 1,112 µs 366 µs 1,704 bytes bytes
App\Services\Vouchers\CodeGenerator::getChars 1 1,036 µs 398 µs -5,256 bytes bytes 1,112 µs 485 µs 1,800 bytes bytes
App\Models\Tenant\VoucherSerie::logChanges 2 835 µs 834 µs 10,520 bytes bytes 957 µs 959 µs 12,960 bytes bytes
Stancl\Tenancy\CacheManager::__call 2 679 µs 257 µs 1,816 bytes bytes 2,036 µs 856 µs 18,168 bytes bytes
Illuminate\Cache\RedisTaggedCache::put 1 586 µs 184 µs 536 bytes bytes 1,233 µs 472 µs 5,768 bytes bytes
Illuminate\Redis\Connections\PhpRedisConnection::zadd 1 454 µs 94 µs 848 bytes bytes 454 µs 94 µs 848 bytes bytes
load::settings/localization_php 3 419 µs 424 µs 95,208 bytes bytes 419 µs 424 µs 95,208 bytes bytes
App\Models\Tenant\Voucher::logChanges 1 339 µs 340 µs 11,176 bytes bytes 350 µs 351 µs 11,984 bytes bytes
load::settings/finance_php 4 241 µs 255 µs 28,192 bytes bytes 241 µs 255 µs 28,192 bytes bytes
App\Models\Tenant\Voucher::triggerSyncEvent 1 216 µs 215 µs -2,632 bytes bytes 2,152 µs 1,006 µs 3,240 bytes bytes
App\Models\Tenant\Voucher::getExpireTime 1 151 µs 268 µs 1,568 bytes bytes 151 µs 268 µs 1,568 bytes bytes
load::settings/captive_portal_php 2 142 µs 143 µs 14,880 bytes bytes 142 µs 143 µs 14,880 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 142 µs 151 µs 776 bytes bytes 142 µs 151 µs 776 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogEvent 1 121 µs 120 µs 696 bytes bytes 223 µs 224 µs 1,960 bytes bytes
App\Models\Tenant\VoucherSerie::attributesToBeLogged 3 118 µs 113 µs 1,136 bytes bytes 134 µs 139 µs 3,072 bytes bytes
load::settings/status_page_notifications_php 3 110 µs 221 µs 16,976 bytes bytes 110 µs 221 µs 16,976 bytes bytes
Illuminate\Cache\RedisTagSet::addEntry 1 104 µs 100 µs 312 bytes bytes 567 µs 205 µs 3,872 bytes bytes
App\Models\Tenant\Voucher::customer 1 102 µs 103 µs 8,808 bytes bytes 102 µs 103 µs 8,808 bytes bytes
App\Models\Tenant\VoucherSerie::isRestoring 1 99 µs 99 µs 664 bytes bytes 102 µs 104 µs 1,264 bytes bytes
load::settings/customers_php 2 93 µs 95 µs 10,048 bytes bytes 93 µs 95 µs 10,048 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::calc 1 90 µs 90 µs 168 bytes bytes 125 µs 126 µs 2,008 bytes bytes
load::settings/portal_php 2 80 µs 120 µs 6,368 bytes bytes 80 µs 120 µs 6,368 bytes bytes
App\Models\Tenant\Voucher::macs 1 71 µs 72 µs 4,584 bytes bytes 71 µs 72 µs 4,584 bytes bytes
load::settings/splynx_integration_php 2 66 µs 69 µs 12,752 bytes bytes 66 µs 69 µs 12,752 bytes bytes
load::settings/voucher_limit_notifications_php 2 60 µs 63 µs 12,080 bytes bytes 60 µs 63 µs 12,080 bytes bytes
Illuminate\Cache\TaggedCache::event 4 59 µs 55 µs 1,296 bytes bytes 72 µs 75 µs 2,448 bytes bytes
App\Models\Tenant\VoucherSerie::initializeSoftDeletes 6 55 µs 44 µs 1,960 bytes bytes 85 µs 86 µs 2,592 bytes bytes
App\Models\Tenant\VoucherSerie::eventsToBeRecorded 2 51 µs 52 µs 1,256 bytes bytes 51 µs 52 µs 1,256 bytes bytes
App\Models\Tenant\Voucher::triggerExpirationSync 1 44 µs 41 µs 760 bytes bytes 8,169,190 µs 51,078 µs -108,728 bytes bytes
App\Models\VoucherExpireSchedule::getMinWorkerIndex 1 41 µs 43 µs 1,160 bytes bytes 41 µs 43 µs 1,160 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 40 µs 43 µs 1,048 bytes bytes 40 µs 43 µs 1,048 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 39 µs 36 µs 768 bytes bytes 4,005 µs 1,197 µs 5,408 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::buildIdentityKey 1 38 µs 38 µs 688 bytes bytes 38 µs 38 µs 688 bytes bytes
App\Models\Tenant\VoucherSerie::getDeletedAtColumn 14 36 µs 50 µs 1,864 bytes bytes 36 µs 50 µs 1,864 bytes bytes
App\Format\FormatManager::toSystemTimezone 1 35 µs 36 µs 1,840 bytes bytes 35 µs 36 µs 1,840 bytes bytes
App\Services\RedirectFlow\VoucherCreator::getSeriePrefixByPlan 1 33 µs 34 µs 672 bytes bytes 33 µs 34 µs 672 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 26 33 µs 49 µs 632 bytes bytes 33 µs 49 µs 632 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::__construct 1 28 µs 28 µs 1,344 bytes bytes 28 µs 28 µs 1,344 bytes bytes
Junges\Kafka\Factory::publish 1 28 µs 29 µs 1,008 bytes bytes 28 µs 29 µs 1,008 bytes bytes
Illuminate\Cache\Repository::tags 2 27 µs 23 µs 760 bytes bytes 60 µs 60 µs 4,848 bytes bytes
Xhgui\Profiler\Profiler::disable 1 25 µs 17 µs 776 bytes bytes 34 µs 32 µs 6,040 bytes bytes
Illuminate\Cache\TagSet::tagIds 4 24 µs 24 µs 3,360 bytes bytes 32 µs 35 µs 4,120 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::tryLock 1 24 µs 24 µs 568 bytes bytes 2,098 µs 918 µs 19,424 bytes bytes
Illuminate\Cache\TaggedCache::taggedItemKey 3 21 µs 17 µs 792 bytes bytes 56 µs 58 µs 2,784 bytes bytes
App\Events\Voucher\VoucherExpirationTrack::handle 1 21 µs 15 µs -288 bytes bytes 8,169,145 µs 51,034 µs -110,120 bytes bytes
App\Models\Tenant\VoucherSerie::getLogNameToUse 1 21 µs 23 µs 632 bytes bytes 21 µs 23 µs 632 bytes bytes
Illuminate\Routing\UrlGenerator::Stancl\Tenancy\Bootstrappers\{cl… 3 18 µs 20 µs 1,136 bytes bytes 18 µs 20 µs 1,136 bytes bytes
Illuminate\Cache\RedisStore::tags 2 18 µs 19 µs 1,112 bytes bytes 27 µs 28 µs 2,280 bytes bytes
App\Models\Tenant\VoucherSerie::getQualifiedDeletedAtColumn 1 17 µs 18 µs 752 bytes bytes 20 µs 21 µs 1,384 bytes bytes
App\Models\Tenant\VoucherSerie::getActivitylogOptions 4 17 µs 78 µs 2,160 bytes bytes 17 µs 78 µs 2,160 bytes bytes
App\Models\Tenant\Voucher::shouldLogEvent 1 16 µs 15 µs 696 bytes bytes 25 µs 24 µs 1,280 bytes bytes
App\Models\Tenant\Voucher::attributesToBeLogged 2 15 µs 11 µs 1,088 bytes bytes 21 µs 21 µs 2,736 bytes bytes
Illuminate\Cache\TagSet::getNamespace 3 11 µs 15 µs bytes bytes 35 µs 41 µs 1,992 bytes bytes
Illuminate\Cache\TaggedCache::itemKey 3 11 µs 11 µs 1,232 bytes bytes 67 µs 69 µs 4,016 bytes bytes
App\Services\Vouchers\ExpirationSyncer::createKafkaMessage 1 11 µs 10 µs 880 bytes bytes 4,033,298 µs 25,559 µs -112,832 bytes bytes
App\Models\Tenant\Voucher::isRestoring 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
App\Models\Tenant\Voucher::getLogNameToUse 1 µs 11 µs 632 bytes bytes µs 11 µs 632 bytes bytes
App\Providers\GoRendererServiceProvider::App\Providers\{closure} 1 µs µs 752 bytes bytes 11 µs 11 µs 1,384 bytes bytes
Illuminate\Cache\Events\CacheEvent::setTags 4 µs µs 584 bytes bytes µs µs 584 bytes bytes
Illuminate\Cache\RedisTagSet::tagId 4 µs 11 µs 760 bytes bytes µs 11 µs 760 bytes bytes
App\Models\Tenant\Voucher::getActivitylogOptions 3 µs 10 µs 1,904 bytes bytes µs 10 µs 1,904 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handle 1 µs µs 696 bytes bytes 14,633 µs 1,666 µs 5,392 bytes bytes
Xhgui\Profiler\ProfilingData::__construct 1 µs 11 µs 4,680 bytes bytes µs 11 µs 4,680 bytes bytes
App\Dto\BaseData::fromArray 1 µs µs 680 bytes bytes µs µs 680 bytes bytes
Illuminate\Support\Collection::only 1 µs µs 1,072 bytes bytes µs µs 1,072 bytes bytes
Illuminate\Cache\TaggedCache::__construct 2 µs µs 584 bytes bytes µs µs 584 bytes bytes
Illuminate\Cache\TagSet::getNames 4 µs 11 µs 568 bytes bytes µs 11 µs 568 bytes bytes
Illuminate\Cache\Repository::set 1 µs µs 632 bytes bytes 1,238 µs 478 µs 6,400 bytes bytes
App\Models\VoucherExpireSchedule::getEmptyWorkerValues 1 µs µs 1,224 bytes bytes µs µs 1,224 bytes bytes
App\Events\Voucher\VoucherActivated::__construct 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Cache\Repository::supportsTags 2 µs µs 1,224 bytes bytes µs µs 1,224 bytes bytes
Illuminate\Cache\TagSet::__construct 2 µ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
App\Models\Tenant\VoucherSerie::shouldLogUnguarded 3 µ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\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\Services\RedirectFlow\VoucherCreator::__construct 1 µ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
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
Xhgui\Profiler\Profilers\XHProf::disable 1 µ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::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\Listeners\Voucher\VoucherTimeExpirationSync::__construct 1 µs µs 632 bytes bytes µs µs 632 bytes bytes