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

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,943 µs
Illuminate\Database\Query\Builder::aggregate
166,987 µs
main()
18,893 µs
App\Services\RedirectFlow\VoucherCreator::createVoucher
10,656 µs
App\Listeners\Voucher\SendStatusPageSmsNotification::handle
3,643 µs
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closure}
2,335 µs

Memory Hogs

load::settings/localization_php
94,608 bytes
App\Models\Tenant\Voucher::triggerSyncEvent
79,320 bytes
load::Tenant/VoucherSerie_php
48,416 bytes
Illuminate\Database\Query\Builder::aggregate
45,928 bytes
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure}
40,048 bytes
load::Models/VoucherExpireSchedule_php
38,512 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,943 µs 11,157 µs -7,008 bytes bytes 1,052,794 µs 15,185 µs -45,272 bytes bytes
Illuminate\Database\Query\Builder::aggregate 1 166,987 µs 1,300 µs 45,928 bytes bytes 167,029 µs 1,345 µs 53,232 bytes bytes
main() 1 18,893 µs 9,107 µs -49,224 bytes bytes 1,277,289 µs 54,484 µs 655,024 bytes bytes
App\Services\RedirectFlow\VoucherCreator::createVoucher 1 10,656 µs 7,528 µs 3,472 bytes bytes 1,255,705 µs 43,077 µs 455,256 bytes bytes
App\Listeners\Voucher\SendStatusPageSmsNotification::handle 1 3,643 µs 3,321 µs -14,664 bytes bytes 4,342 µs 4,029 µs 91,912 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 6 2,335 µs 2,471 µs 12,176 bytes bytes 4,472 µs 4,010 µs 36,208 bytes bytes
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure} 1 2,072 µs 2,196 µs 40,048 bytes bytes 3,453 µs 2,957 µs 58,576 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 2,068 µs 1,457 µs 2,464 bytes bytes 2,096 µs 1,487 µs 3,512 bytes bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity 1 2,038 µs 1,083 µs 2,424 bytes bytes 173,522 µs 6,413 µs 83,424 bytes bytes
App\Services\Vouchers\CodeGenerator::checkIfCodeExists 1 1,565 µs 511 µs 1,136 bytes bytes 1,565 µs 511 µs 1,136 bytes bytes
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan 1 1,329 µs 624 µs 28,384 bytes bytes 1,714 µs 1,011 µs 91,400 bytes bytes
App\Services\Vouchers\ExpirationSyncer::App\Services\Vouchers\{cl… 1 1,250 µs 971 µs -3,512 bytes bytes 2,584 µs 1,863 µs 44,360 bytes bytes
App\Models\Tenant\VoucherSerie::attributeValuesToBeLogged 1 1,240 µs 610 µs -232 bytes bytes 1,565 µs 959 µs 6,208 bytes bytes
App\Services\Vouchers\ExpirationSyncer::getWorkerIndex 1 1,117 µs 1,031 µs -112,200 bytes bytes 3,708 µs 2,903 µs -67,288 bytes bytes
Illuminate\Database\Eloquent\Builder::firstOrNew 1 1,103 µs 549 µs 6,128 bytes bytes 1,103 µs 549 µs 6,128 bytes bytes
App\Models\Tenant\Voucher::attributeValuesToBeLogged 1 1,032 µs 406 µs 2,120 bytes bytes 1,326 µs 703 µs 14,528 bytes bytes
App\Services\Vouchers\CodeGenerator::getChars 1 1,016 µs 549 µs -5,256 bytes bytes 1,131 µs 666 µs 1,800 bytes bytes
App\Services\Vouchers\CodeGenerator::getCodeLength 1 888 µs 457 µs -5,352 bytes bytes 940 µs 511 µs 1,704 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handleVouc… 1 820 µs 296 µs -584 bytes bytes 2,984 µs 1,852 µs 6,688 bytes bytes
Illuminate\Database\Eloquent\Relations\HasMany::getResults 1 776 µs 304 µs 1,288 bytes bytes 776 µs 304 µs 1,288 bytes bytes
App\Services\Vouchers\ExpirationSyncer::syncVoucher 1 719 µs 577 µs -6,848 bytes bytes 4,653 µs 3,828 µs -67,064 bytes bytes
App\Models\Tenant\VoucherSerie::logChanges 2 598 µs 598 µs 11,328 bytes bytes 631 µs 634 µs 13,768 bytes bytes
load::settings/localization_php 3 386 µs 393 µs 94,608 bytes bytes 386 µs 393 µs 94,608 bytes bytes
Stancl\Tenancy\CacheManager::__call 2 372 µs 164 µs 3,096 bytes bytes 1,512 µs 1,104 µs 79,488 bytes bytes
load::Voucher/SendStatusPageSmsNotification_php 1 300 µs 303 µs 31,664 bytes bytes 300 µs 303 µs 31,664 bytes bytes
App\Models\Tenant\Voucher::logChanges 1 271 µs 271 µs 9,672 bytes bytes 281 µs 282 µs 10,480 bytes bytes
load::Tenant/VoucherSerie_php 1 265 µs 266 µs 48,416 bytes bytes 265 µs 266 µs 48,416 bytes bytes
load::RedirectFlow/VoucherCreator_php 1 251 µs 252 µs 34,848 bytes bytes 251 µs 252 µs 34,848 bytes bytes
load::settings/finance_php 4 232 µs 238 µs 28,192 bytes bytes 232 µs 238 µs 28,192 bytes bytes
Illuminate\Redis\Connections\PhpRedisConnection::zadd 1 211 µs 65 µs 848 bytes bytes 211 µs 65 µs 848 bytes bytes
App\Models\Tenant\Voucher::App\Models\Tenant\{closure} 2 198 µs 144 µs 1,160 bytes bytes 1,054,218 µs 16,412 µs 48,152 bytes bytes
load::Vouchers/ExpirationSyncer_php 1 198 µs 200 µs 28,800 bytes bytes 198 µs 200 µs 28,800 bytes bytes
load::src/ProfilingData_php 1 198 µs 200 µs 18,784 bytes bytes 198 µs 200 µs 18,784 bytes bytes
load::Vouchers/NextReactivateTimeCalculator_php 1 197 µs 199 µs 7,392 bytes bytes 197 µs 199 µs 7,392 bytes bytes
App\Models\Tenant\Voucher::triggerSyncEvent 1 178 µs 367 µs 79,320 bytes bytes 1,004 µs 722 µs 85,568 bytes bytes
load::Models/VoucherExpireSchedule_php 1 170 µs 279 µs 38,512 bytes bytes 170 µs 279 µs 38,512 bytes bytes
load::Plans/BuyMutex_php 1 149 µs 150 µs 6,592 bytes bytes 149 µs 150 µs 6,592 bytes bytes
load::Templates/GoRenderer_php 1 143 µs 144 µs 18,840 bytes bytes 143 µs 144 µs 18,840 bytes bytes
load::Cache/RedisTaggedCache_php 1 135 µs 136 µs 16,136 bytes bytes 135 µs 136 µs 16,136 bytes bytes
load::settings/status_page_notifications_php 3 129 µs 133 µs 16,976 bytes bytes 129 µs 133 µs 16,976 bytes bytes
Illuminate\Cache\RedisTagSet::addEntry 1 128 µs 125 µs -952 bytes bytes 448 µs 300 µs 9,712 bytes bytes
Illuminate\Cache\RedisTaggedCache::put 1 123 µs 65 µs 536 bytes bytes 611 µs 408 µs 11,608 bytes bytes
load::Voucher/VoucherActivated_php 1 120 µs 120 µs 3,368 bytes bytes 120 µs 120 µs 3,368 bytes bytes
load::settings/captive_portal_php 2 119 µs 119 µs 14,880 bytes bytes 119 µs 119 µs 14,880 bytes bytes
load::Cache/RedisTagSet_php 1 114 µs 115 µs 19,104 bytes bytes 114 µs 115 µs 19,104 bytes bytes
load::Cache/TaggedCache_php 1 98 µs 99 µs 13,224 bytes bytes 98 µs 99 µs 13,224 bytes bytes
App\Models\Tenant\Voucher::getExpireTime 1 98 µs 112 µs 272 bytes bytes 153 µs 169 µs 3,496 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 95 µs 98 µs 776 bytes bytes 95 µs 98 µs 776 bytes bytes
load::Voucher/ActivatedVoucherStatisticUpdate_php 1 93 µs 93 µs 7,760 bytes bytes 93 µs 93 µs 7,760 bytes bytes
Carbon\CarbonInterval::fromString 3 91 µs 89 µs 2,720 bytes bytes 125 µs 129 µs 5,248 bytes bytes
load::Vouchers/CodeGenerator_php 1 85 µs 86 µs 7,296 bytes bytes 85 µs 86 µs 7,296 bytes bytes
load::settings/customers_php 2 83 µs 83 µs 10,048 bytes bytes 83 µs 83 µs 10,048 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogEvent 1 80 µs 79 µs 696 bytes bytes 142 µs 142 µs 1,960 bytes bytes
App\Models\Tenant\Voucher::triggerExpirationSync 1 78 µs 70 µs -1,552 bytes bytes 1,053,002 µs 15,531 µs -39,872 bytes bytes
load::Voucher/VoucherTimeExpirationSync_php 1 76 µs 220 µs 3,304 bytes bytes 76 µs 220 µs 3,304 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::calc 1 73 µs 71 µs -1,128 bytes bytes 175 µs 176 µs 3,984 bytes bytes
App\Models\Tenant\Voucher::customer 1 70 µs 70 µs 8,808 bytes bytes 70 µs 70 µs 8,808 bytes bytes
load::AggregatedData/ActivatedVouchersAggregatedStatistics_php 1 68 µs 69 µs 3,760 bytes bytes 68 µs 69 µs 3,760 bytes bytes
load::Expiration/ExpirationSyncerPackage_php 1 62 µs 169 µs 2,696 bytes bytes 62 µs 169 µs 2,696 bytes bytes
load::Cache/TagSet_php 1 60 µs 61 µs 12,576 bytes bytes 60 µs 61 µs 12,576 bytes bytes
App\Models\Tenant\VoucherSerie::isRestoring 1 58 µs 58 µs 664 bytes bytes 62 µs 63 µs 1,264 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::__construct 1 57 µs 58 µs 1,344 bytes bytes 57 µs 58 µs 1,344 bytes bytes
App\Models\VoucherExpireSchedule::getMinWorkerIndex 1 56 µs 58 µs 2,008 bytes bytes 56 µs 58 µs 2,008 bytes bytes
Illuminate\Cache\RedisStore::tags 2 55 µs 50 µs -5,088 bytes bytes 467 µs 467 µs 57,120 bytes bytes
load::Voucher/VoucherExpirationTrack_php 1 53 µs 54 µs 3,016 bytes bytes 53 µs 54 µs 3,016 bytes bytes
App\Models\Tenant\Voucher::macs 1 50 µs 51 µs 4,960 bytes bytes 50 µs 51 µs 4,960 bytes bytes
load::settings/finance_notifications_php 2 47 µs 51 µs 8,944 bytes bytes 47 µs 51 µs 8,944 bytes bytes
App\Models\Tenant\VoucherSerie::eventsToBeRecorded 3 47 µs 49 µs 2,168 bytes bytes 47 µs 49 µs 2,168 bytes bytes
load::settings/voucher_limit_notifications_php 2 46 µs 46 µs 12,080 bytes bytes 46 µs 46 µs 12,080 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 45 µs 39 µs 768 bytes bytes 3,681 µs 1,727 µs 5,408 bytes bytes
load::settings/portal_php 2 42 µs 43 µs 6,368 bytes bytes 42 µs 43 µs 6,368 bytes bytes
Carbon\Carbon::rawAddUnit 3 39 µs 30 µs -1,680 bytes bytes 179 µs 181 µs 4,688 bytes bytes
load::settings/splynx_integration_php 2 38 µs 39 µs 12,752 bytes bytes 38 µs 39 µs 12,752 bytes bytes
Illuminate\Cache\TaggedCache::event 4 35 µs 33 µs 1,296 bytes bytes 41 µs 44 µs 2,448 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\Plans\BuyMutex::buildIdentityKey 1 34 µs 34 µs 688 bytes bytes 34 µs 34 µs 688 bytes bytes
Carbon\Carbon::addUnit 3 31 µs 31 µs 6,248 bytes bytes 210 µs 212 µs 10,936 bytes bytes
Carbon\CarbonInterval::__construct 3 30 µs 33 µs 2,608 bytes bytes 30 µs 33 µs 2,608 bytes bytes
App\Models\Tenant\VoucherSerie::initializeSoftDeletes 6 28 µs 24 µs 1,960 bytes bytes 48 µs 50 µs 2,592 bytes bytes
App\Models\Tenant\VoucherSerie::attributesToBeLogged 3 28 µs 27 µs 1,136 bytes bytes 45 µs 50 µs 3,072 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 28 µs 30 µs 1,048 bytes bytes 28 µs 30 µs 1,048 bytes bytes
Xhgui\Profiler\Profiler::disable 1 28 µs 25 µs -4,224 bytes bytes 235 µs 235 µs 15,728 bytes bytes
App\Services\RedirectFlow\VoucherCreator::getSeriePrefixByPlan 1 27 µs 28 µs 1,088 bytes bytes 27 µs 28 µs 1,088 bytes bytes
App\Models\Tenant\VoucherSerie::getDeletedAtColumn 14 26 µs 33 µs 1,864 bytes bytes 26 µs 33 µs 1,864 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 26 25 µs 40 µs 632 bytes bytes 25 µs 40 µs 632 bytes bytes
App\Models\Tenant\Voucher::shouldLogEvent 1 24 µs 23 µs 696 bytes bytes 37 µs 38 µs 1,280 bytes bytes
App\Models\Tenant\Voucher::attributesToBeLogged 2 18 µs 18 µs 1,088 bytes bytes 23 µs 26 µs 2,736 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::tryLock 1 17 µs 17 µs 520 bytes bytes 1,563 µs 1,155 µs 80,696 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileAggregate 1 16 µs 16 µs 688 bytes bytes 16 µs 16 µs 688 bytes bytes
Illuminate\Cache\Repository::tags 2 15 µs 15 µs 760 bytes bytes 487 µs 488 µs 59,048 bytes bytes
Illuminate\Database\Query\Builder::count 1 15 µs µs -64 bytes bytes 167,044 µs 1,353 µs 53,168 bytes bytes
App\Models\Tenant\VoucherSerie::getActivitylogOptions 4 15 µs 21 µs 2,160 bytes bytes 15 µs 21 µs 2,160 bytes bytes
App\Models\Tenant\VoucherSerie::bootLogsActivity 1 14 µs 13 µs 448 bytes bytes 58 µs 58 µs 9,736 bytes bytes
App\Providers\GoRendererServiceProvider::App\Providers\{closure} 1 14 µs 12 µs -4,232 bytes bytes 158 µs 158 µs 15,240 bytes bytes
App\Models\Tenant\Voucher::getFullCode 1 13 µs 13 µs 632 bytes bytes 14 µs 15 µs 1,296 bytes bytes
App\Models\Tenant\Voucher::isRestoring 1 13 µs 15 µs 584 bytes bytes 13 µs 15 µs 584 bytes bytes
App\Models\Tenant\VoucherSerie::getLogNameToUse 1 13 µs 15 µs 632 bytes bytes 13 µs 15 µs 632 bytes bytes
Illuminate\Routing\UrlGenerator::Stancl\Tenancy\Bootstrappers\{cl… 3 11 µs 14 µs 1,136 bytes bytes 11 µs 14 µs 1,136 bytes bytes
Illuminate\Cache\TagSet::tagIds 4 11 µs 10 µs 2,080 bytes bytes 16 µs 17 µs 2,840 bytes bytes
Carbon\Carbon::isModifiableUnit 3 11 µs 12 µs 2,176 bytes bytes 11 µs 12 µs 2,176 bytes bytes
Carbon\Carbon::rawAdd 3 11 µs 13 µs 552 bytes bytes 11 µs 13 µs 552 bytes bytes
App\Services\Vouchers\ExpirationSyncer::createKafkaMessage 1 11 µs 10 µs 880 bytes bytes 3,719 µs 2,913 µs -66,408 bytes bytes
Illuminate\Cache\TaggedCache::taggedItemKey 3 10 µs 10 µs 792 bytes bytes 31 µs 32 µs 2,784 bytes bytes
Illuminate\Database\Query\Builder::cloneWithout 1 10 µs µs 728 bytes bytes 13 µs 14 µs 2,472 bytes bytes
Illuminate\Cache\TagSet::getNamespace 3 µs µs bytes bytes 21 µs 22 µs 1,992 bytes bytes
App\Models\Tenant\Voucher::getActivitylogOptions 3 µs 12 µs 1,904 bytes bytes µs 12 µs 1,904 bytes bytes
App\Models\Tenant\Voucher::getLogNameToUse 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Models\Tenant\VoucherSerie::getQualifiedDeletedAtColumn 1 µs µs 752 bytes bytes 10 µs 10 µs 1,384 bytes bytes
Illuminate\Cache\TaggedCache::itemKey 3 µs µs 1,232 bytes bytes 37 µs 39 µs 4,016 bytes bytes
Illuminate\Database\Query\Builder::cloneWithoutBindings 1 µs µs 728 bytes bytes µs 10 µs 3,168 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogUnguarded 3 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Cache\RedisTagSet::tagId 4 µs µs 760 bytes bytes µs µs 760 bytes bytes
Carbon\Carbon::getMagicParameter 3 µs µs 1,768 bytes bytes µs µs 1,768 bytes bytes
App\Models\Tenant\Voucher::generateFullCode 2 µs µs 1,344 bytes bytes µs µs 1,344 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,989 µs 1,855 µs 7,384 bytes bytes
Xhgui\Profiler\ProfilingData::__construct 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
Illuminate\Cache\Events\CacheEvent::setTags 4 µs µs 584 bytes bytes µs µs 584 bytes bytes
Carbon\CarbonInterval::withOriginal 3 µs µs -80 bytes bytes µs µs -80 bytes bytes
Carbon\CarbonInterval::invert 3 µs µs 568 bytes bytes µs µs 568 bytes bytes
Illuminate\Cache\Repository::set 1 µs µs 632 bytes bytes 615 µs 412 µs 12,240 bytes bytes
Illuminate\Database\Query\Builder::Illuminate\Database\Query\{clo… 2 µs µs 1,960 bytes bytes µs µs 1,960 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
Xhgui\Profiler\Profilers\XHProf::disable 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
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\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
Illuminate\Cache\TaggedCache::__construct 2 µ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
Illuminate\Cache\TagSet::getNames 4 µs µs 568 bytes bytes µs µs 568 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\Voucher::getDescriptionForEvent 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Database\Query\Builder::clone 2 µs µs 2,224 bytes bytes µs µs 2,224 bytes bytes
App\Models\Tenant\VoucherSerie::getDescriptionForEvent 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::__construct 1 µs µs 568 bytes bytes µs µs 568 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 568 bytes bytes µs µs 568 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
App\Models\Tenant\VoucherSerie::isLogEmpty 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
App\Services\Templates\GoRenderer::__construct 1 µs µs 632 bytes bytes µs µs 632 bytes bytes