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

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\Models\Tenant\VoucherSerie::recalculateQuantity
1,141,626 µs
App\Events\Voucher\VoucherExpirationTrack::handle
1,046,967 µs
main()
20,754 µs
App\Services\RedirectFlow\VoucherCreator::createVoucher
7,608 µs
App\Listeners\Voucher\SendStatusPageSmsNotification::handle
4,033 µs
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure}
2,075 µs

Memory Hogs

load::settings/localization_php
94,608 bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity
44,032 bytes
load::settings/finance_php
28,192 bytes
load::settings/status_page_notifications_php
16,976 bytes
App\Services\RedirectFlow\VoucherCreator::createVoucher
15,032 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\Models\Tenant\VoucherSerie::recalculateQuantity 1 1,141,626 µs 2,821 µs 44,032 bytes bytes 1,146,049 µs 6,826 µs 78,504 bytes bytes
App\Events\Voucher\VoucherExpirationTrack::handle 1 1,046,967 µs 11,786 µs -2,016 bytes bytes 1,051,308 µs 14,967 µs -112,912 bytes bytes
main() 1 20,754 µs 10,176 µs -15,184 bytes bytes 2,247,121 µs 52,601 µs 265,304 bytes bytes
App\Services\RedirectFlow\VoucherCreator::createVoucher 1 7,608 µs 7,053 µs 15,032 bytes bytes 2,224,049 µs 41,165 µs 143,000 bytes bytes
App\Listeners\Voucher\SendStatusPageSmsNotification::handle 1 4,033 µs 3,240 µs -2,616 bytes bytes 4,620 µs 3,877 µs 90,104 bytes bytes
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure} 1 2,075 µs 2,244 µs 9,752 bytes bytes 3,538 µs 3,182 µs 35,640 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 2 1,948 µs 2,053 µs 5,928 bytes bytes 4,423 µs 4,005 µs 34,472 bytes bytes
Illuminate\Database\Query\Builder::incrementEach 2 1,720 µs 549 µs 2,416 bytes bytes 1,734 µs 563 µs 3,776 bytes bytes
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan 1 1,671 µs 546 µs 5,776 bytes bytes 1,732 µs 611 µs 9,800 bytes bytes
App\Services\Vouchers\ExpirationSyncer::getWorkerIndex 1 1,614 µs 1,158 µs -123,992 bytes bytes 3,955 µs 2,667 µs -110,664 bytes bytes
Illuminate\Database\Eloquent\Builder::Illuminate\Database\Eloquen… 1 1,530 µs 649 µs -720 bytes bytes 1,058,029 µs 20,116 µs -73,328 bytes bytes
App\Services\Vouchers\CodeGenerator::checkIfCodeExists 1 1,220 µs 291 µs 1,136 bytes bytes 1,220 µs 291 µs 1,136 bytes bytes
Illuminate\Database\Eloquent\Relations\HasMany::getResults 1 1,173 µs 818 µs 1,288 bytes bytes 1,173 µs 818 µs 1,288 bytes bytes
App\Models\Tenant\VoucherSerie::attributeValuesToBeLogged 1 1,103 µs 560 µs -232 bytes bytes 1,546 µs 1,016 µs 6,208 bytes bytes
App\Models\Tenant\Voucher::attributeValuesToBeLogged 1 888 µs 356 µs 2,144 bytes bytes 1,198 µs 668 µs 14,128 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 826 µs 332 µs 1,424 bytes bytes 830 µs 337 µs 2,152 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 826 µs 358 µs -2,848 bytes bytes 1,923 µs 863 µs 5,800 bytes bytes
Illuminate\Database\Eloquent\Builder::firstOrNew 1 794 µs 340 µs 6,048 bytes bytes 794 µs 340 µs 6,048 bytes bytes
App\Services\Vouchers\CodeGenerator::getChars 1 737 µs 253 µs -5,256 bytes bytes 787 µs 304 µs 1,800 bytes bytes
App\Services\Vouchers\CodeGenerator::getCodeLength 1 624 µs 260 µs -5,352 bytes bytes 690 µs 327 µs 1,704 bytes bytes
App\Services\Vouchers\ExpirationSyncer::App\Services\Vouchers\{cl… 1 562 µs 760 µs -2,968 bytes bytes 2,332 µs 1,499 µs 12,776 bytes bytes
Stancl\Tenancy\CacheManager::__call 2 554 µs 178 µs 1,800 bytes bytes 1,659 µs 578 µs 23,208 bytes bytes
App\Models\Tenant\VoucherSerie::logChanges 2 514 µs 513 µs 9,832 bytes bytes 894 µs 896 µs 14,312 bytes bytes
Illuminate\Cache\RedisTaggedCache::put 1 450 µs 91 µs 536 bytes bytes 1,026 µs 320 µs 11,456 bytes bytes
Illuminate\Redis\Connections\PhpRedisConnection::zadd 1 415 µs 67 µs 848 bytes bytes 415 µs 67 µs 848 bytes bytes
Carbon\Carbon::isoFormat 12 404 µs 388 µs 5,864 bytes bytes 588 µs 594 µs 8,216 bytes bytes
load::settings/localization_php 3 362 µs 366 µs 94,608 bytes bytes 362 µs 366 µs 94,608 bytes bytes
App\Models\Tenant\Voucher::triggerSyncEvent 1 300 µs 337 µs -2,600 bytes bytes 1,540 µs 1,235 µs 3,272 bytes bytes
Carbon\Carbon::toISOString 12 228 µs 211 µs -5,016 bytes bytes 936 µs 944 µs 12,864 bytes bytes
load::settings/captive_portal_php 2 192 µs 196 µs 14,880 bytes bytes 192 µs 196 µs 14,880 bytes bytes
load::settings/finance_php 4 187 µs 192 µs 28,192 bytes bytes 187 µs 192 µs 28,192 bytes bytes
App\Services\Vouchers\ExpirationSyncer::syncVoucher 1 183 µs 169 µs -5,856 bytes bytes 4,341 µs 3,181 µs -110,896 bytes bytes
App\Models\Tenant\Voucher::logChanges 1 176 µs 177 µs 3,632 bytes bytes 286 µs 287 µs 9,456 bytes bytes
Carbon\Carbon::getPaddedUnit 36 167 µs 182 µs 1,800 bytes bytes 167 µs 182 µs 1,800 bytes bytes
App\Models\Tenant\Voucher::getExpireTime 1 127 µs 268 µs -376 bytes bytes 192 µs 336 µs 4,744 bytes bytes
Illuminate\Database\Eloquent\Builder::create 1 126 µs 125 µs 3,392 bytes bytes 1,058,155 µs 20,241 µs -69,936 bytes bytes
Illuminate\Database\Eloquent\Model::incrementOrDecrement 2 120 µs 112 µs 1,616 bytes bytes 1,947 µs 772 µs 8,568 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 117 µs 121 µs 792 bytes bytes 117 µs 121 µs 792 bytes bytes
App\Models\Tenant\Voucher::triggerExpirationSync 1 112 µs 80 µs 760 bytes bytes 1,051,421 µs 15,050 µs -111,520 bytes bytes
load::settings/customers_php 2 99 µs 102 µs 10,048 bytes bytes 99 µs 102 µs 10,048 bytes bytes
Carbon\Carbon::utc 12 97 µs 104 µs 552 bytes bytes 97 µs 104 µs 552 bytes bytes
load::settings/status_page_notifications_php 3 93 µs 129 µs 16,976 bytes bytes 93 µs 129 µs 16,976 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 85 µs 89 µs 6,032 bytes bytes 85 µs 89 µs 6,032 bytes bytes
Illuminate\Routing\UrlGenerator::Stancl\Tenancy\Bootstrappers\{cl… 3 84 µs 82 µs 1,136 bytes bytes 84 µs 82 µs 1,136 bytes bytes
App\Models\Tenant\Voucher::customer 1 76 µs 77 µs 8,808 bytes bytes 76 µs 77 µs 8,808 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogEvent 1 68 µs 66 µs 696 bytes bytes 135 µs 136 µs 6,056 bytes bytes
App\Models\Tenant\Voucher::macs 1 67 µs 80 µs 4,584 bytes bytes 67 µs 80 µs 4,584 bytes bytes
App\Models\Tenant\VoucherSerie::isRestoring 1 64 µs 66 µs 4,760 bytes bytes 67 µs 70 µs 5,360 bytes bytes
Illuminate\Database\Eloquent\Model::Illuminate\Database\Eloquent\… 2 56 µs 59 µs 1,384 bytes bytes 56 µs 59 µs 1,384 bytes bytes
Illuminate\Database\Eloquent\Model::serializeDate 12 55 µs 56 µs 3,160 bytes bytes 1,034 µs 1,037 µs 8,128 bytes bytes
load::settings/splynx_integration_php 2 54 µs 55 µs 12,752 bytes bytes 54 µs 55 µs 12,752 bytes bytes
load::settings/voucher_limit_notifications_php 2 51 µs 53 µs 12,080 bytes bytes 51 µs 53 µs 12,080 bytes bytes
load::settings/finance_notifications_php 2 49 µs 68 µs 8,944 bytes bytes 49 µs 68 µs 8,944 bytes bytes
Illuminate\Cache\RedisTagSet::addEntry 1 49 µs 45 µs -984 bytes bytes 521 µs 171 µs 9,560 bytes bytes
load::settings/portal_php 2 44 µs 45 µs 6,368 bytes bytes 44 µs 45 µs 6,368 bytes bytes
Illuminate\Cache\TaggedCache::event 4 43 µs 41 µs 1,296 bytes bytes 53 µs 54 µs 2,448 bytes bytes
Carbon\Carbon::toJSON 12 43 µs 37 µs -7,896 bytes bytes 979 µs 981 µs 4,968 bytes bytes
App\Models\Tenant\VoucherSerie::initializeSoftDeletes 6 42 µs 35 µs 1,960 bytes bytes 69 µs 72 µs 2,592 bytes bytes
App\Models\Tenant\VoucherSerie::getActivitylogOptions 4 37 µs 31 µs 2,288 bytes bytes 47 µs 50 µs 3,488 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 36 µs 37 µs 1,048 bytes bytes 36 µs 37 µs 1,048 bytes bytes
App\Models\Tenant\VoucherSerie::eventsToBeRecorded 2 33 µs 33 µs 1,256 bytes bytes 33 µs 33 µs 1,256 bytes bytes
Carbon\CarbonInterval::fromString 2 31 µs 28 µs 2,024 bytes bytes 51 µs 52 µs 4,728 bytes bytes
App\Models\Tenant\VoucherSerie::getDeletedAtColumn 14 31 µs 44 µs 1,864 bytes bytes 31 µs 44 µs 1,864 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 30 µs 26 µs 768 bytes bytes 2,727 µs 948 µs 5,408 bytes bytes
App\Models\VoucherExpireSchedule::getMinWorkerIndex 1 27 µs 28 µs 1,160 bytes bytes 27 µs 28 µs 1,160 bytes bytes
App\Models\Tenant\VoucherSerie::attributesToBeLogged 3 27 µs 23 µs 1,136 bytes bytes 67 µs 70 µs 4,400 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 26 27 µs 37 µs 632 bytes bytes 27 µs 37 µs 632 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::buildIdentityKey 1 24 µs 25 µs 688 bytes bytes 24 µs 25 µs 688 bytes bytes
App\Services\RedirectFlow\VoucherCreator::getSeriePrefixByPlan 1 23 µs 24 µs 1,312 bytes bytes 23 µs 24 µs 1,312 bytes bytes
Carbon\Carbon::avoidMutation 12 23 µs 35 µs 9,112 bytes bytes 23 µs 35 µs 9,112 bytes bytes
Carbon\Carbon::rawAddUnit 2 20 µs 16 µs -872 bytes bytes 80 µs 81 µs 4,976 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::tryLock 1 20 µs 17 µs 520 bytes bytes 1,703 µs 620 µs 24,416 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::__construct 1 18 µs 18 µs 1,344 bytes bytes 18 µs 18 µs 1,344 bytes bytes
Illuminate\Cache\Repository::tags 2 17 µs 14 µs 760 bytes bytes 38 µs 38 µs 4,848 bytes bytes
Carbon\CarbonInterval::__construct 2 17 µs 20 µs 1,288 bytes bytes 17 µs 20 µs 1,288 bytes bytes
Carbon\Carbon::addUnit 2 17 µs 18 µs 4,176 bytes bytes 97 µs 99 µs 9,152 bytes bytes
App\Models\Tenant\Voucher::getActivitylogOptions 3 17 µs 16 µs 2,032 bytes bytes 24 µs 27 µs 3,232 bytes bytes
Carbon\Carbon::getIsoUnits 12 17 µs 24 µs 552 bytes bytes 17 µs 24 µs 552 bytes bytes
Illuminate\Cache\TagSet::tagIds 4 14 µs 13 µs 2,080 bytes bytes 20 µs 20 µs 2,840 bytes bytes
App\Models\Tenant\Voucher::shouldLogEvent 1 14 µs 15 µs 696 bytes bytes 23 µs 24 µs 6,912 bytes bytes
App\Models\Tenant\Voucher::attributesToBeLogged 2 14 µs 12 µs 1,088 bytes bytes 30 µs 31 µs 2,736 bytes bytes
Illuminate\Database\Query\Builder::increment 2 14 µs 11 µs 464 bytes bytes 1,748 µs 574 µs 4,240 bytes bytes
Xhgui\Profiler\Profiler::disable 1 14 µs 12 µs 776 bytes bytes 22 µs 23 µs 1,944 bytes bytes
Illuminate\Database\Eloquent\Builder::increment 2 13 µs 14 µs 696 bytes bytes 1,761 µs 588 µs 4,936 bytes bytes
App\Models\Tenant\VoucherSerie::getLogNameToUse 1 13 µs 14 µs 632 bytes bytes 13 µs 14 µs 632 bytes bytes
App\Models\Tenant\VoucherSerie::getQualifiedDeletedAtColumn 1 12 µs 11 µs 752 bytes bytes 13 µs 14 µs 1,384 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 12 µs 11 µs -1,024 bytes bytes 1,971 µs 911 µs 5,824 bytes bytes
Illuminate\Cache\TaggedCache::taggedItemKey 3 11 µs 12 µs 792 bytes bytes 36 µs 36 µs 2,784 bytes bytes
App\Services\Vouchers\ExpirationSyncer::createKafkaMessage 1 11 µs µs 880 bytes bytes 3,966 µs 2,676 µs -109,784 bytes bytes
Illuminate\Cache\RedisStore::tags 2 10 µs µs 1,752 bytes bytes 15 µs 17 µs 2,920 bytes bytes
App\Models\Tenant\Voucher::getLogNameToUse 1 10 µs 10 µs 632 bytes bytes 10 µs 10 µs 632 bytes bytes
Illuminate\Database\Eloquent\Model::isClassDeviable 4 10 µs 13 µs 632 bytes bytes 10 µs 13 µs 632 bytes bytes
Illuminate\Database\Query\Builder::raw 2 10 µs µs 664 bytes bytes 14 µs 14 µs 1,360 bytes bytes
Illuminate\Database\Eloquent\Model::increment 2 10 µs 10 µs 1,360 bytes bytes 1,957 µs 782 µs 9,928 bytes bytes
Illuminate\Cache\TagSet::getNamespace 3 µs µs bytes bytes 25 µs 24 µs 1,992 bytes bytes
Spatie\Activitylog\LogOptions::logFillable 7 µs 18 µs 1,200 bytes bytes µs 18 µs 1,200 bytes bytes
App\Models\Tenant\Voucher::isRestoring 1 µs µs 6,216 bytes bytes µs µs 6,216 bytes bytes
Illuminate\Database\Eloquent\Model::getKey 1 µs µs 600 bytes bytes µs µs 600 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handleVouc… 1 µs µs 584 bytes bytes 2,810 µs 1,257 µs 8,560 bytes bytes
Spatie\Activitylog\LogOptions::logOnlyDirty 7 µs 12 µs 1,200 bytes bytes µs 12 µs 1,200 bytes bytes
Carbon\Carbon::parse 1 µs µs 632 bytes bytes 11 µs 11 µs 1,896 bytes bytes
Illuminate\Cache\TaggedCache::itemKey 3 µs 10 µs 1,232 bytes bytes 43 µs 46 µs 4,016 bytes bytes
Carbon\Carbon::isModifiableUnit 2 µs µs 1,168 bytes bytes µs µs 1,168 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handle 1 µs µs 696 bytes bytes 2,817 µs 1,263 µs 9,256 bytes bytes
Illuminate\Cache\RedisTagSet::tagId 4 µs µs 760 bytes bytes µs µs 760 bytes bytes
Carbon\Carbon::rawAdd 2 µs µs 552 bytes bytes µs µs 552 bytes bytes
Xhgui\Profiler\ProfilingData::__construct 1 µ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\Events\CacheEvent::setTags 4 µ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
App\Models\VoucherExpireSchedule::getEmptyWorkerValues 1 µs µs 1,224 bytes bytes µs µs 1,224 bytes bytes
Illuminate\Database\Connection::raw 2 µs µs 696 bytes bytes µs µs 696 bytes bytes
Illuminate\Support\Collection::only 1 µs µs 1,072 bytes bytes µs µs 1,072 bytes bytes
App\Providers\GoRendererServiceProvider::App\Providers\{closure} 1 µs µs 752 bytes bytes µs µs 1,384 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 µs µs 728 bytes bytes µs µs 728 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::__construct 1 µs µs 568 bytes bytes µs µs 568 bytes bytes
Illuminate\Cache\TaggedCache::__construct 2 µs µs 584 bytes bytes µs µs 584 bytes bytes
Carbon\CarbonInterval::withOriginal 2 µs µs 1,416 bytes bytes µs µs 1,416 bytes bytes
Carbon\CarbonInterval::invert 2 µs µs 568 bytes bytes µs µs 568 bytes bytes
Carbon\Carbon::rawParse 1 µ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
App\Events\Voucher\VoucherActivated::__construct 1 µs µs 632 bytes bytes µs µs 632 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
Carbon\Carbon::getMagicParameter 2 µs µs 1,168 bytes bytes µs µs 1,168 bytes bytes
App\Services\RedirectFlow\VoucherCreator::__construct 1 µs µs 568 bytes bytes µs µs 568 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::calc 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\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
App\Models\Tenant\VoucherSerie::isLogEmpty 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::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\Services\Templates\GoRenderer::__construct 1 µs µs 632 bytes bytes µs µs 632 bytes bytes