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

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,267 µs
Illuminate\Database\Query\Builder::aggregate
145,837 µs
main()
21,753 µs
App\Services\RedirectFlow\VoucherCreator::createVoucher
9,836 µs
App\Listeners\Voucher\SendStatusPageSmsNotification::handle
3,540 µs
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure}
3,106 µs

Memory Hogs

load::Tenant/VoucherSerie_php
130,336 bytes
load::settings/localization_php
94,608 bytes
Illuminate\Database\Query\Builder::aggregate
41,832 bytes
load::Models/VoucherExpireSchedule_php
38,512 bytes
load::RedirectFlow/VoucherCreator_php
34,848 bytes
load::Voucher/SendStatusPageSmsNotification_php
31,664 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,267 µs 11,556 µs -7,008 bytes bytes 1,051,730 µs 15,011 µs -45,272 bytes bytes
Illuminate\Database\Query\Builder::aggregate 1 145,837 µs 1,466 µs 41,832 bytes bytes 145,885 µs 1,520 µs 53,232 bytes bytes
main() 1 21,753 µs 10,425 µs -35,712 bytes bytes 1,260,027 µs 58,254 µs 636,728 bytes bytes
App\Services\RedirectFlow\VoucherCreator::createVoucher 1 9,836 µs 7,073 µs 3,472 bytes bytes 1,234,377 µs 44,951 µs 423,448 bytes bytes
App\Listeners\Voucher\SendStatusPageSmsNotification::handle 1 3,540 µs 3,085 µs -14,672 bytes bytes 4,298 µs 4,559 µs 91,904 bytes bytes
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure} 1 3,106 µs 3,231 µs 7,280 bytes bytes 4,628 µs 4,200 µs 25,808 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 6 2,661 µs 2,749 µs 12,176 bytes bytes 5,073 µs 4,529 µs 36,528 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 2,213 µs 851 µs 2,464 bytes bytes 2,235 µs 875 µs 3,512 bytes bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity 1 1,849 µs 1,363 µs 2,424 bytes bytes 152,800 µs 7,398 µs 83,744 bytes bytes
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan 1 1,604 µs 823 µs 28,384 bytes bytes 2,183 µs 1,398 µs 173,320 bytes bytes
App\Models\Tenant\VoucherSerie::attributeValuesToBeLogged 1 1,403 µs 753 µs -232 bytes bytes 1,745 µs 1,103 µs 6,208 bytes bytes
App\Services\Vouchers\CodeGenerator::checkIfCodeExists 1 1,336 µs 331 µs 1,136 bytes bytes 1,336 µs 331 µs 1,136 bytes bytes
App\Services\Vouchers\ExpirationSyncer::getWorkerIndex 1 1,305 µs 839 µs -112,200 bytes bytes 3,387 µs 2,366 µs -67,288 bytes bytes
App\Services\Vouchers\ExpirationSyncer::App\Services\Vouchers\{cl… 1 1,081 µs 962 µs -3,512 bytes bytes 2,077 µs 1,520 µs 44,360 bytes bytes
App\Models\Tenant\Voucher::attributeValuesToBeLogged 1 1,019 µs 457 µs 2,120 bytes bytes 1,466 µs 907 µs 14,528 bytes bytes
Illuminate\Database\Eloquent\Relations\HasMany::getResults 1 964 µs 661 µs 1,288 bytes bytes 964 µs 661 µs 1,288 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handleVouc… 1 904 µs 518 µs -584 bytes bytes 3,226 µs 1,546 µs 6,688 bytes bytes
Illuminate\Database\Eloquent\Builder::firstOrNew 1 847 µs 406 µs 6,128 bytes bytes 847 µs 406 µs 6,128 bytes bytes
App\Services\Vouchers\CodeGenerator::getChars 1 788 µs 300 µs -5,256 bytes bytes 876 µs 389 µs 1,800 bytes bytes
App\Services\Vouchers\CodeGenerator::getCodeLength 1 762 µs 325 µs -5,352 bytes bytes 809 µs 373 µs 1,704 bytes bytes
App\Services\Vouchers\ExpirationSyncer::syncVoucher 1 660 µs 503 µs -6,848 bytes bytes 4,272 µs 3,249 µs -67,064 bytes bytes
App\Models\Tenant\VoucherSerie::logChanges 2 634 µs 638 µs 11,648 bytes bytes 730 µs 735 µs 14,088 bytes bytes
Stancl\Tenancy\CacheManager::__call 2 529 µs 191 µs 3,096 bytes bytes 2,483 µs 1,452 µs 79,488 bytes bytes
Illuminate\Cache\RedisTaggedCache::put 1 462 µs 125 µs 536 bytes bytes 1,295 µs 603 µs 11,608 bytes bytes
Illuminate\Redis\Connections\PhpRedisConnection::zadd 1 426 µs 71 µs 848 bytes bytes 426 µs 71 µs 848 bytes bytes
load::settings/localization_php 3 424 µs 427 µs 94,608 bytes bytes 424 µs 427 µs 94,608 bytes bytes
App\Models\Tenant\Voucher::logChanges 1 420 µs 420 µs 9,672 bytes bytes 434 µs 435 µs 10,480 bytes bytes
load::RedirectFlow/VoucherCreator_php 1 414 µs 416 µs 34,848 bytes bytes 414 µs 416 µs 34,848 bytes bytes
load::Tenant/VoucherSerie_php 1 397 µs 401 µs 130,336 bytes bytes 397 µs 401 µs 130,336 bytes bytes
load::Voucher/SendStatusPageSmsNotification_php 1 305 µs 307 µs 31,664 bytes bytes 305 µs 307 µs 31,664 bytes bytes
load::src/ProfilingData_php 1 230 µs 232 µs 18,784 bytes bytes 230 µs 232 µs 18,784 bytes bytes
load::Templates/GoRenderer_php 1 205 µs 922 µs 18,840 bytes bytes 205 µs 922 µs 18,840 bytes bytes
load::settings/finance_php 4 201 µs 205 µs 28,192 bytes bytes 201 µs 205 µs 28,192 bytes bytes
load::Vouchers/ExpirationSyncer_php 1 191 µs 206 µs 28,800 bytes bytes 191 µs 206 µs 28,800 bytes bytes
Illuminate\Cache\RedisTagSet::addEntry 1 177 µs 174 µs -952 bytes bytes 773 µs 416 µs 9,712 bytes bytes
load::Cache/RedisTaggedCache_php 1 168 µs 168 µs 16,136 bytes bytes 168 µs 168 µs 16,136 bytes bytes
Carbon\CarbonInterval::fromString 3 152 µs 124 µs 2,720 bytes bytes 187 µs 189 µs 5,248 bytes bytes
load::Voucher/ActivatedVoucherStatisticUpdate_php 1 150 µs 182 µs 7,760 bytes bytes 150 µs 182 µs 7,760 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 129 µs 132 µs 776 bytes bytes 129 µs 132 µs 776 bytes bytes
App\Models\Tenant\Voucher::triggerSyncEvent 1 128 µs 415 µs -2,600 bytes bytes 1,157 µs 1,142 µs 3,648 bytes bytes
load::Cache/RedisTagSet_php 1 125 µs 127 µs 19,104 bytes bytes 125 µs 127 µs 19,104 bytes bytes
load::settings/status_page_notifications_php 3 119 µs 111 µs 16,976 bytes bytes 119 µs 111 µs 16,976 bytes bytes
App\Models\Tenant\Voucher::getExpireTime 1 114 µs 267 µs 272 bytes bytes 159 µs 315 µs 3,496 bytes bytes
load::Plans/BuyMutex_php 1 113 µs 114 µs 6,592 bytes bytes 113 µs 114 µs 6,592 bytes bytes
load::Vouchers/CodeGenerator_php 1 111 µs 112 µs 7,296 bytes bytes 111 µs 112 µs 7,296 bytes bytes
load::Vouchers/NextReactivateTimeCalculator_php 1 110 µs 111 µs 7,392 bytes bytes 110 µs 111 µs 7,392 bytes bytes
load::settings/captive_portal_php 2 106 µs 107 µs 14,880 bytes bytes 106 µs 107 µs 14,880 bytes bytes
load::Voucher/VoucherActivated_php 1 103 µs 104 µs 3,368 bytes bytes 103 µs 104 µs 3,368 bytes bytes
load::Models/VoucherExpireSchedule_php 1 101 µs 102 µs 38,512 bytes bytes 101 µs 102 µs 38,512 bytes bytes
App\Models\Tenant\Voucher::App\Models\Tenant\{closure} 2 95 µs 93 µs 1,160 bytes bytes 1,053,202 µs 16,462 µs -33,768 bytes bytes
App\Models\Tenant\VoucherSerie::attributesToBeLogged 3 94 µs 27 µs 1,136 bytes bytes 109 µs 111 µs 3,072 bytes bytes
load::Cache/TaggedCache_php 1 91 µs 93 µs 13,224 bytes bytes 91 µs 93 µs 13,224 bytes bytes
load::AggregatedData/ActivatedVouchersAggregatedStatistics_php 1 87 µs 153 µs 3,760 bytes bytes 87 µs 153 µs 3,760 bytes bytes
load::Cache/TagSet_php 1 86 µs 87 µs 12,576 bytes bytes 86 µs 87 µs 12,576 bytes bytes
App\Models\Tenant\Voucher::customer 1 84 µs 86 µs 8,808 bytes bytes 84 µs 86 µs 8,808 bytes bytes
load::settings/customers_php 2 83 µs 85 µs 10,048 bytes bytes 83 µs 85 µs 10,048 bytes bytes
App\Models\Tenant\Voucher::triggerExpirationSync 1 74 µs 66 µs -1,552 bytes bytes 1,051,929 µs 15,205 µs -39,872 bytes bytes
load::Voucher/VoucherTimeExpirationSync_php 1 73 µs 74 µs 3,304 bytes bytes 73 µs 74 µs 3,304 bytes bytes
App\Models\Tenant\VoucherSerie::isRestoring 1 71 µs 72 µs 664 bytes bytes 75 µs 77 µs 1,264 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogEvent 1 71 µs 71 µs 696 bytes bytes 146 µs 148 µs 1,960 bytes bytes
App\Services\RedirectFlow\VoucherCreator::getSeriePrefixByPlan 1 69 µs 58 µs 1,088 bytes bytes 69 µs 58 µs 1,088 bytes bytes
Illuminate\Cache\RedisStore::tags 2 68 µs 63 µs -5,088 bytes bytes 545 µs 545 µs 57,120 bytes bytes
App\Models\Tenant\Voucher::macs 1 65 µs 66 µs 4,960 bytes bytes 65 µs 66 µs 4,960 bytes bytes
load::settings/voucher_limit_notifications_php 2 64 µs 66 µs 12,080 bytes bytes 64 µs 66 µs 12,080 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::calc 1 60 µs 56 µs -1,128 bytes bytes 192 µs 192 µs 3,984 bytes bytes
Illuminate\Cache\TaggedCache::event 4 59 µs 55 µs 1,296 bytes bytes 69 µs 70 µs 2,448 bytes bytes
load::Expiration/ExpirationSyncerPackage_php 1 58 µs 58 µs 2,696 bytes bytes 58 µs 58 µs 2,696 bytes bytes
App\Models\Tenant\VoucherSerie::eventsToBeRecorded 3 51 µs 52 µs 2,168 bytes bytes 51 µs 52 µs 2,168 bytes bytes
load::Voucher/VoucherExpirationTrack_php 1 50 µs 52 µs 3,016 bytes bytes 50 µs 52 µs 3,016 bytes bytes
load::settings/splynx_integration_php 2 49 µs 49 µs 12,752 bytes bytes 49 µs 49 µs 12,752 bytes bytes
load::settings/finance_notifications_php 2 47 µs 48 µs 8,944 bytes bytes 47 µs 48 µs 8,944 bytes bytes
Carbon\Carbon::rawAddUnit 3 47 µs 43 µs -1,680 bytes bytes 249 µs 252 µs 4,688 bytes bytes
App\Models\VoucherExpireSchedule::getMinWorkerIndex 1 44 µs 45 µs 2,008 bytes bytes 44 µs 45 µs 2,008 bytes bytes
App\Models\Tenant\VoucherSerie::initializeSoftDeletes 6 41 µs 33 µs 1,960 bytes bytes 65 µs 67 µs 2,592 bytes bytes
load::settings/portal_php 2 39 µs 39 µs 6,368 bytes bytes 39 µs 39 µs 6,368 bytes bytes
App\Format\FormatManager::toSystemTimezone 1 36 µs 37 µs 1,840 bytes bytes 36 µs 37 µs 1,840 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::buildIdentityKey 1 35 µs 36 µs 688 bytes bytes 35 µs 36 µs 688 bytes bytes
Carbon\Carbon::addUnit 3 34 µs 34 µs 6,248 bytes bytes 283 µs 286 µs 10,936 bytes bytes
Carbon\CarbonInterval::__construct 3 31 µs 57 µs 2,608 bytes bytes 31 µs 57 µs 2,608 bytes bytes
App\Models\Tenant\VoucherSerie::getDeletedAtColumn 14 30 µs 42 µs 1,864 bytes bytes 30 µs 42 µs 1,864 bytes bytes
Xhgui\Profiler\Profiler::disable 1 30 µs 25 µs -4,224 bytes bytes 267 µs 266 µs 15,728 bytes bytes
Illuminate\Cache\TaggedCache::itemKey 3 29 µs 11 µs 1,232 bytes bytes 72 µs 73 µs 4,016 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 26 29 µs 32 µs 632 bytes bytes 29 µs 32 µs 632 bytes bytes
App\Helpers\Str::generateString 1 28 µs 28 µs 1,960 bytes bytes 28 µs 28 µs 1,960 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::tryLock 1 23 µs 20 µs 520 bytes bytes 2,541 µs 1,508 µs 80,696 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::__construct 1 22 µs 22 µs 1,344 bytes bytes 22 µs 22 µs 1,344 bytes bytes
App\Models\Tenant\Voucher::shouldLogEvent 1 22 µs 22 µs 696 bytes bytes 34 µs 35 µs 1,280 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 22 µs 24 µs 1,048 bytes bytes 22 µs 24 µs 1,048 bytes bytes
Illuminate\Cache\TagSet::tagIds 4 21 µs 20 µs 2,080 bytes bytes 25 µs 28 µs 2,840 bytes bytes
App\Models\Tenant\Voucher::attributesToBeLogged 2 21 µs 18 µs 1,088 bytes bytes 27 µs 30 µs 2,736 bytes bytes
Illuminate\Cache\Repository::tags 2 20 µs 18 µs 760 bytes bytes 573 µs 573 µs 59,048 bytes bytes
App\Providers\GoRendererServiceProvider::App\Providers\{closure} 1 20 µs 17 µs -4,232 bytes bytes 226 µs 941 µs 15,240 bytes bytes
App\Models\Tenant\Voucher::getFullCode 1 19 µs 19 µs 632 bytes bytes 21 µs 22 µs 1,296 bytes bytes
App\Models\Tenant\VoucherSerie::getQualifiedDeletedAtColumn 1 18 µs 18 µs 752 bytes bytes 20 µs 21 µs 1,384 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 18 µs 14 µs -544 bytes bytes 3,067 µs 1,135 µs 6,056 bytes bytes
App\Models\Tenant\VoucherSerie::bootLogsActivity 1 17 µs 15 µs 448 bytes bytes 56 µs 57 µs 9,736 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileAggregate 1 17 µs 19 µs 4,784 bytes bytes 17 µs 19 µs 4,784 bytes bytes
Carbon\Carbon::isModifiableUnit 3 15 µs 14 µs 2,176 bytes bytes 15 µs 14 µs 2,176 bytes bytes
Illuminate\Cache\TaggedCache::taggedItemKey 3 14 µs 32 µs 792 bytes bytes 43 µs 62 µs 2,784 bytes bytes
Illuminate\Database\Query\Builder::count 1 14 µs 10 µs -64 bytes bytes 145,899 µs 1,530 µs 53,168 bytes bytes
App\Models\Tenant\VoucherSerie::getActivitylogOptions 4 14 µs 81 µs 2,160 bytes bytes 14 µs 81 µs 2,160 bytes bytes
App\Models\Tenant\Voucher::isRestoring 1 12 µs 13 µs 584 bytes bytes 12 µs 13 µs 584 bytes bytes
App\Models\Tenant\Voucher::getLogNameToUse 1 12 µs 13 µs 632 bytes bytes 12 µs 13 µs 632 bytes bytes
Illuminate\Database\Query\Builder::cloneWithout 1 12 µs µs 728 bytes bytes 15 µs 16 µs 2,472 bytes bytes
Illuminate\Cache\TagSet::getNamespace 3 11 µs 10 µs bytes bytes 29 µs 30 µs 1,992 bytes bytes
Carbon\Carbon::rawAdd 3 11 µs 13 µs 552 bytes bytes 11 µs 13 µs 552 bytes bytes
App\Models\Tenant\VoucherSerie::getLogNameToUse 1 11 µs 12 µs 632 bytes bytes 11 µs 12 µs 632 bytes bytes
Illuminate\Routing\UrlGenerator::Stancl\Tenancy\Bootstrappers\{cl… 3 10 µs 18 µs 1,136 bytes bytes 10 µs 18 µs 1,136 bytes bytes
App\Models\Tenant\Voucher::getActivitylogOptions 3 µs 14 µs 1,904 bytes bytes µs 14 µs 1,904 bytes bytes
Illuminate\Database\Query\Builder::cloneWithoutBindings 1 µs µs 728 bytes bytes 12 µs 14 µs 3,168 bytes bytes
App\Services\Vouchers\ExpirationSyncer::createKafkaMessage 1 µs µs 880 bytes bytes 3,395 µs 2,373 µs -66,408 bytes bytes
Illuminate\Cache\Events\CacheEvent::setTags 4 µs µs 584 bytes bytes µs µs 584 bytes bytes
App\Models\Tenant\Voucher::generateFullCode 2 µs µs 1,344 bytes bytes µs µs 1,344 bytes bytes
Illuminate\Cache\Repository::supportsTags 2 µs µs 584 bytes bytes µs µs 584 bytes bytes
Illuminate\Cache\Repository::set 1 µs µs 632 bytes bytes 1,300 µs 607 µs 12,240 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\Tenant\VoucherSerie::shouldLogUnguarded 3 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Support\Collection::only 1 µs µs 1,072 bytes bytes µs µs 1,072 bytes bytes
Xhgui\Profiler\Profiler::registerShutdownHandler 1 µs µs 1,200 bytes bytes µs µs 1,200 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\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
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
App\Models\VoucherExpireSchedule::getEmptyWorkerValues 1 µs µs 1,224 bytes bytes µs µs 1,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\Database\Query\Builder::setAggregate 1 µs µs 976 bytes bytes µs µs 976 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handle 1 µs µs 696 bytes bytes 3,230 µs 1,551 µs 7,384 bytes bytes
Xhgui\Profiler\ProfilingData::__construct 1 µ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\Repository::setDefaultCacheTime 2 µ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
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 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\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\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
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\Events\Voucher\VoucherActivated::__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\Services\Templates\GoRenderer::__construct 1 µs µs 632 bytes bytes µs µs 632 bytes bytes