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

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\Events\Voucher\VoucherExpirationTrack::handle
1,047,841 µs
App\Models\Tenant\VoucherSerie::recalculateQuantity
157,183 µs
main()
16,504 µs
App\Services\RedirectFlow\VoucherCreator::createVoucher
15,886 µs
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderPlan
6,941 µs
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closure}
2,665 µs

Memory Hogs

load::Models/VoucherExpireSchedule_php
120,432 bytes
load::settings/localization_php
95,208 bytes
load::Tenant/VoucherSerie_php
48,416 bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity
44,776 bytes
load::RedirectFlow/VoucherCreator_php
34,968 bytes
load::settings/finance_php
28,176 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\Events\Voucher\VoucherExpirationTrack::handle 1 1,047,841 µs 12,240 µs -2,016 bytes bytes 1,052,613 µs 15,872 µs 13,216 bytes bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity 1 157,183 µs 2,932 µs 44,776 bytes bytes 162,095 µs 7,257 µs 76,736 bytes bytes
main() 1 16,504 µs 6,204 µs -17,056 bytes bytes 1,274,069 µs 58,296 µs 558,976 bytes bytes
App\Services\RedirectFlow\VoucherCreator::createVoucher 1 15,886 µs 12,154 µs 7,464 bytes bytes 1,244,529 µs 44,508 µs 339,856 bytes bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderP… 1 6,941 µs 3,791 µs -34,984 bytes bytes 1,256,739 µs 51,257 µs 464,880 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 6 2,665 µs 2,714 µs 12,176 bytes bytes 4,933 µs 4,349 µs 40,336 bytes bytes
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure} 1 2,236 µs 2,299 µs 7,280 bytes bytes 3,648 µs 3,120 µs 25,528 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 2,025 µs 662 µs 2,432 bytes bytes 2,070 µs 709 µs 3,480 bytes bytes
App\Services\Vouchers\ExpirationSyncer::App\Services\Vouchers\{cl… 1 1,692 µs 910 µs -3,240 bytes bytes 2,880 µs 2,073 µs 126,552 bytes bytes
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan 1 1,684 µs 869 µs 22,752 bytes bytes 2,238 µs 1,431 µs 91,400 bytes bytes
App\Services\Vouchers\CodeGenerator::checkIfCodeExists 1 1,495 µs 436 µs 1,136 bytes bytes 1,495 µs 436 µs 1,136 bytes bytes
App\Services\Vouchers\ExpirationSyncer::getWorkerIndex 1 1,484 µs 1,152 µs -111,824 bytes bytes 4,372 µs 3,233 µs 15,280 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlan… 1 1,297 µs 577 µs 2,064 bytes bytes 1,297 µs 577 µs 2,064 bytes bytes
App\Models\Tenant\VoucherSerie::attributeValuesToBeLogged 1 1,283 µs 618 µs -232 bytes bytes 1,736 µs 1,093 µs 6,208 bytes bytes
App\Models\Tenant\Voucher::attributeValuesToBeLogged 1 1,015 µs 418 µs 2,120 bytes bytes 1,360 µs 766 µs 14,248 bytes bytes
Stancl\Tenancy\CacheManager::__call 2 991 µs 225 µs 1,816 bytes bytes 3,166 µs 1,568 µs 78,216 bytes bytes
Illuminate\Database\Eloquent\Builder::firstOrNew 1 957 µs 929 µs 6,128 bytes bytes 957 µs 929 µs 6,128 bytes bytes
Illuminate\Database\Eloquent\Relations\HasMany::getResults 1 892 µs 449 µs 1,288 bytes bytes 892 µs 449 µs 1,288 bytes bytes
App\Services\Vouchers\CodeGenerator::getChars 1 853 µs 315 µs -5,256 bytes bytes 897 µs 360 µs 1,800 bytes bytes
App\Services\Vouchers\CodeGenerator::getCodeLength 1 808 µs 295 µs -5,352 bytes bytes 858 µs 382 µs 1,704 bytes bytes
App\Models\Tenant\VoucherSerie::logChanges 2 645 µs 647 µs 11,360 bytes bytes 676 µs 680 µs 13,800 bytes bytes
Illuminate\Redis\Connections\PhpRedisConnection::zadd 1 530 µs 77 µs 848 bytes bytes 530 µs 77 µs 848 bytes bytes
Illuminate\Cache\RedisTaggedCache::put 1 490 µs 109 µs 536 bytes bytes 1,441 µs 608 µs 11,608 bytes bytes
load::settings/localization_php 3 461 µs 593 µs 95,208 bytes bytes 461 µs 593 µs 95,208 bytes bytes
load::RedirectFlow/VoucherCreator_php 1 415 µs 418 µs 34,968 bytes bytes 415 µs 418 µs 34,968 bytes bytes
load::Tenant/VoucherSerie_php 1 405 µs 407 µs 48,416 bytes bytes 405 µs 407 µs 48,416 bytes bytes
App\Models\Tenant\Voucher::logChanges 1 323 µs 325 µs 9,392 bytes bytes 335 µs 337 µs 10,200 bytes bytes
load::src/ProfilingData_php 1 225 µs 228 µs 18,784 bytes bytes 225 µs 228 µs 18,784 bytes bytes
load::TrialSessions/TrialSessionsMaker_php 1 213 µs 215 µs 16,584 bytes bytes 213 µs 215 µs 16,584 bytes bytes
Illuminate\Cache\RedisTagSet::addEntry 1 208 µs 202 µs -952 bytes bytes 878 µs 424 µs 9,712 bytes bytes
load::settings/finance_php 4 202 µs 243 µs 28,176 bytes bytes 202 µs 243 µs 28,176 bytes bytes
load::Models/VoucherExpireSchedule_php 1 187 µs 189 µs 120,432 bytes bytes 187 µs 189 µs 120,432 bytes bytes
App\Services\Vouchers\ExpirationSyncer::syncVoucher 1 172 µs 169 µs -7,120 bytes bytes 4,772 µs 3,632 µs 15,232 bytes bytes
App\Models\Tenant\Voucher::triggerSyncEvent 1 165 µs 461 µs -2,600 bytes bytes 1,147 µs 1,003 µs 3,648 bytes bytes
load::AggregatedData/ActivatedVouchersAggregatedStatistics_php 1 162 µs 223 µs 3,728 bytes bytes 162 µs 223 µs 3,728 bytes bytes
load::settings/captive_portal_php 2 150 µs 153 µs 14,880 bytes bytes 150 µs 153 µs 14,880 bytes bytes
load::Cache/RedisTagSet_php 1 149 µs 150 µs 19,104 bytes bytes 149 µs 150 µs 19,104 bytes bytes
load::Vouchers/NextReactivateTimeCalculator_php 1 145 µs 146 µs 7,392 bytes bytes 145 µs 146 µs 7,392 bytes bytes
load::Cache/RedisTaggedCache_php 1 139 µs 140 µs 16,136 bytes bytes 139 µs 140 µs 16,136 bytes bytes
load::Cache/TagSet_php 1 131 µs 132 µs 12,576 bytes bytes 131 µs 132 µs 12,576 bytes bytes
Illuminate\Cache\TaggedCache::event 4 118 µs 109 µs 1,296 bytes bytes 128 µs 129 µs 2,448 bytes bytes
App\Models\Tenant\Voucher::getExpireTime 1 113 µs 114 µs 272 bytes bytes 164 µs 165 µs 3,496 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 112 µs 116 µs 776 bytes bytes 112 µs 116 µs 776 bytes bytes
load::Vouchers/CodeGenerator_php 1 106 µs 108 µs 7,296 bytes bytes 106 µs 108 µs 7,296 bytes bytes
load::Voucher/VoucherTimeExpirationSync_php 1 102 µs 103 µs 3,304 bytes bytes 102 µs 103 µs 3,304 bytes bytes
Carbon\CarbonInterval::fromString 3 97 µs 95 µs 2,720 bytes bytes 136 µs 138 µs 5,248 bytes bytes
load::Plans/BuyMutex_php 1 96 µs 96 µs 7,296 bytes bytes 96 µs 96 µs 7,296 bytes bytes
load::settings/customers_php 2 94 µs 94 µs 10,032 bytes bytes 94 µs 94 µs 10,032 bytes bytes
App\Models\Tenant\Voucher::macs 1 90 µs 93 µs 4,960 bytes bytes 90 µs 93 µs 4,960 bytes bytes
load::settings/status_page_notifications_php 3 86 µs 91 µs 16,944 bytes bytes 86 µs 91 µs 16,944 bytes bytes
load::Cache/TaggedCache_php 1 78 µs 79 µs 12,584 bytes bytes 78 µs 79 µs 12,584 bytes bytes
Illuminate\Cache\RedisStore::tags 2 77 µs 72 µs -5,088 bytes bytes 582 µs 583 µs 56,480 bytes bytes
App\Models\Tenant\Voucher::triggerExpirationSync 1 76 µs 67 µs -1,552 bytes bytes 1,052,843 µs 16,096 µs 18,576 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogEvent 1 76 µs 78 µs 4,792 bytes bytes 153 µs 156 µs 6,056 bytes bytes
App\Models\Tenant\VoucherSerie::isRestoring 1 73 µs 73 µs 664 bytes bytes 77 µs 78 µs 1,264 bytes bytes
load::OrderProcess/UserInfo_php 1 67 µs 68 µs 2,496 bytes bytes 67 µs 68 µs 2,496 bytes bytes
App\Models\Tenant\VoucherSerie::eventsToBeRecorded 3 64 µs 66 µs 2,168 bytes bytes 64 µs 66 µs 2,168 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::calc 1 63 µs 62 µs -1,128 bytes bytes 167 µs 168 µs 3,984 bytes bytes
load::Expiration/ExpirationSyncerPackage_php 1 55 µs 56 µs 2,696 bytes bytes 55 µs 56 µs 2,696 bytes bytes
load::settings/voucher_limit_notifications_php 2 52 µs 53 µs 12,080 bytes bytes 52 µs 53 µs 12,080 bytes bytes
load::settings/finance_notifications_php 2 51 µs 52 µs 8,944 bytes bytes 51 µs 52 µs 8,944 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/splynx_integration_php 2 50 µs 51 µs 12,752 bytes bytes 50 µs 51 µs 12,752 bytes bytes
App\Models\Tenant\VoucherSerie::initializeSoftDeletes 6 46 µs 35 µs 7,592 bytes bytes 68 µs 71 µs 8,224 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 45 µs 47 µs 1,048 bytes bytes 45 µs 47 µs 1,048 bytes bytes
load::settings/portal_php 2 41 µs 42 µs 6,368 bytes bytes 41 µs 42 µs 6,368 bytes bytes
App\Format\FormatManager::toSystemTimezone 1 40 µs 42 µs 1,840 bytes bytes 40 µs 42 µs 1,840 bytes bytes
Carbon\Carbon::rawAddUnit 3 39 µs 35 µs -1,680 bytes bytes 189 µs 192 µs 4,688 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 39 µs 35 µs 768 bytes bytes 3,289 µs 1,213 µs 5,408 bytes bytes
App\Models\VoucherExpireSchedule::getMinWorkerIndex 1 39 µs 40 µs 2,008 bytes bytes 39 µs 40 µs 2,008 bytes bytes
Carbon\Carbon::addUnit 3 38 µs 35 µs 6,248 bytes bytes 227 µs 227 µs 10,936 bytes bytes
Xhgui\Profiler\Profiler::disable 1 38 µs 34 µs -4,224 bytes bytes 271 µs 271 µs 15,728 bytes bytes
Carbon\CarbonInterval::__construct 3 33 µs 35 µs 2,608 bytes bytes 33 µs 35 µs 2,608 bytes bytes
App\Services\RedirectFlow\VoucherCreator::getSeriePrefixByPlan 1 33 µs 34 µs 1,088 bytes bytes 33 µs 34 µs 1,088 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::buildIdentityKey 1 30 µs 31 µs 688 bytes bytes 30 µs 31 µs 688 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 26 30 µs 46 µs 632 bytes bytes 30 µs 46 µs 632 bytes bytes
App\Models\Tenant\VoucherSerie::getDeletedAtColumn 14 28 µs 45 µs 1,864 bytes bytes 28 µs 45 µs 1,864 bytes bytes
App\Models\Tenant\VoucherSerie::attributesToBeLogged 3 28 µs 26 µs 1,136 bytes bytes 43 µs 47 µs 3,072 bytes bytes
Illuminate\Cache\Repository::tags 2 26 µs 21 µs 760 bytes bytes 615 µs 615 µs 58,408 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::__construct 1 26 µs 27 µs 1,344 bytes bytes 26 µs 27 µs 1,344 bytes bytes
Illuminate\Cache\TagSet::tagIds 4 23 µs 20 µs 2,080 bytes bytes 28 µs 31 µs 4,120 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::tryLock 1 23 µs 21 µs 584 bytes bytes 3,219 µs 1,620 µs 79,488 bytes bytes
App\Models\Tenant\VoucherSerie::bootLogsActivity 1 21 µs 18 µs 448 bytes bytes 60 µs 61 µs 9,736 bytes bytes
Illuminate\Cache\TaggedCache::taggedItemKey 3 19 µs 15 µs 792 bytes bytes 53 µs 53 µs 4,064 bytes bytes
App\Models\Tenant\Voucher::shouldLogEvent 1 19 µs 18 µs 696 bytes bytes 29 µs 29 µs 1,280 bytes bytes
Carbon\Carbon::isModifiableUnit 3 16 µs 17 µs 2,176 bytes bytes 16 µs 17 µs 2,176 bytes bytes
App\Models\Tenant\VoucherSerie::getQualifiedDeletedAtColumn 1 16 µs 15 µs 752 bytes bytes 18 µs 19 µs 1,384 bytes bytes
App\Models\Tenant\Voucher::attributesToBeLogged 2 16 µs 12 µs 1,088 bytes bytes 22 µs 23 µs 2,736 bytes bytes
App\Models\Tenant\VoucherSerie::getLogNameToUse 1 15 µs 16 µs 632 bytes bytes 15 µs 16 µs 632 bytes bytes
App\Models\Tenant\VoucherSerie::getActivitylogOptions 4 14 µs 19 µs 2,160 bytes bytes 14 µs 19 µs 2,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 12 µs 14 µs bytes bytes 34 µs 38 µs 3,272 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 13 µs 1,232 bytes bytes 64 µs 66 µs 5,296 bytes bytes
App\Models\Tenant\Voucher::getActivitylogOptions 3 10 µs 14 µs 1,904 bytes bytes 10 µs 14 µ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
Carbon\Carbon::rawAdd 3 µs 12 µs 552 bytes bytes µs 12 µs 552 bytes bytes
App\Services\Vouchers\ExpirationSyncer::createKafkaMessage 1 µs µs 880 bytes bytes 4,381 µs 3,242 µs 16,160 bytes bytes
Carbon\CarbonInterval::withOriginal 3 µs µs -80 bytes bytes µs µs -80 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 10 µs 568 bytes bytes µs 10 µs 568 bytes bytes
Illuminate\Cache\Events\CacheEvent::setTags 4 µs 10 µs 584 bytes bytes µs 10 µs 584 bytes bytes
Illuminate\Cache\RedisTagSet::tagId 4 µs 11 µs 2,040 bytes bytes µs 11 µs 2,040 bytes bytes
Carbon\CarbonInterval::invert 3 µ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\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\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
Carbon\Carbon::getMagicParameter 3 µs µs 1,768 bytes bytes µs µs 1,768 bytes bytes
Illuminate\Database\Eloquent\Relations\Pivot::getUpdatedAtColumn 2 µ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
App\Dto\BaseData::fromArray 1 µs µs 680 bytes bytes µs µs 680 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
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\VoucherSerie::getDescriptionForEvent 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::shouldLogUnguarded 2 µs µs 600 bytes bytes µs µs 600 bytes bytes
App\Models\Tenant\Voucher::isLogEmpty 1 µs µs 600 bytes bytes µs µs 600 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::__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::isLogEmpty 1 µs µs 632 bytes bytes µs µs 632 bytes bytes