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

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,112,775 µs
App\Events\Voucher\VoucherExpirationTrack::handle
1,049,160 µs
main()
20,524 µs
App\Services\RedirectFlow\VoucherCreator::createVoucher
7,781 µs
App\Listeners\Voucher\SendStatusPageSmsNotification::handle
3,817 µs
Illuminate\Database\Query\Builder::incrementEach
1,842 µ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
load::settings/captive_portal_php
14,880 bytes
App\Services\RedirectFlow\VoucherCreator::createVoucher
14,872 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,112,775 µs 3,209 µs 44,032 bytes bytes 1,117,281 µs 7,017 µs 78,504 bytes bytes
App\Events\Voucher\VoucherExpirationTrack::handle 1 1,049,160 µs 13,865 µs -2,016 bytes bytes 1,053,334 µs 16,536 µs -112,248 bytes bytes
main() 1 20,524 µs 10,364 µs -27,656 bytes bytes 2,219,991 µs 54,607 µs 253,496 bytes bytes
App\Services\RedirectFlow\VoucherCreator::createVoucher 1 7,781 µs 6,913 µs 14,872 bytes bytes 2,196,990 µs 42,844 µs 143,664 bytes bytes
App\Listeners\Voucher\SendStatusPageSmsNotification::handle 1 3,817 µs 3,227 µs -2,456 bytes bytes 4,435 µs 3,861 µs 90,264 bytes bytes
Illuminate\Database\Query\Builder::incrementEach 2 1,842 µs 454 µs 2,480 bytes bytes 1,864 µs 480 µs 5,088 bytes bytes
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan 1 1,779 µs 568 µs 5,776 bytes bytes 1,854 µs 648 µs 9,800 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 2 1,735 µs 1,791 µs 5,928 bytes bytes 4,506 µs 3,808 µs 34,472 bytes bytes
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure} 1 1,686 µs 1,899 µs 9,752 bytes bytes 3,409 µs 3,055 µs 35,640 bytes bytes
App\Services\Vouchers\ExpirationSyncer::getWorkerIndex 1 1,543 µs 986 µs -124,328 bytes bytes 3,874 µs 2,226 µs -110,000 bytes bytes
Illuminate\Database\Eloquent\Builder::Illuminate\Database\Eloquen… 1 1,532 µs 616 µs -720 bytes bytes 1,059,554 µs 21,284 µs -72,664 bytes bytes
App\Models\Tenant\VoucherSerie::attributeValuesToBeLogged 1 1,447 µs 661 µs -232 bytes bytes 1,919 µs 1,152 µs 6,208 bytes bytes
App\Services\Vouchers\CodeGenerator::checkIfCodeExists 1 1,336 µs 270 µs 1,136 bytes bytes 1,336 µs 270 µs 1,136 bytes bytes
Illuminate\Database\Eloquent\Builder::firstOrNew 1 1,122 µs 766 µs 6,048 bytes bytes 1,122 µs 766 µs 6,048 bytes bytes
Illuminate\Database\Eloquent\Relations\HasMany::getResults 1 1,013 µs 595 µs 1,288 bytes bytes 1,013 µs 595 µs 1,288 bytes bytes
App\Models\Tenant\Voucher::attributeValuesToBeLogged 1 956 µs 381 µs 2,144 bytes bytes 1,474 µs 902 µs 14,128 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 835 µs 287 µs -2,848 bytes bytes 1,900 µs 699 µs 5,800 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 812 µs 835 µs 1,424 bytes bytes 816 µs 840 µs 2,152 bytes bytes
App\Services\Vouchers\CodeGenerator::getCodeLength 1 672 µs 271 µs -5,352 bytes bytes 708 µs 308 µs 1,704 bytes bytes
App\Services\Vouchers\CodeGenerator::getChars 1 628 µs 237 µs -5,256 bytes bytes 672 µs 281 µs 1,800 bytes bytes
Stancl\Tenancy\CacheManager::__call 2 556 µs 226 µs 1,800 bytes bytes 1,805 µs 720 µs 23,208 bytes bytes
Illuminate\Redis\Connections\PhpRedisConnection::zadd 1 462 µs 68 µs 848 bytes bytes 462 µs 68 µs 848 bytes bytes
Illuminate\Cache\RedisTaggedCache::put 1 456 µs 99 µs 536 bytes bytes 1,127 µs 375 µs 11,456 bytes bytes
load::settings/localization_php 3 447 µs 449 µs 94,608 bytes bytes 447 µs 449 µs 94,608 bytes bytes
Carbon\Carbon::isoFormat 12 403 µs 396 µs 5,864 bytes bytes 578 µs 587 µs 8,216 bytes bytes
App\Models\Tenant\VoucherSerie::logChanges 2 373 µs 370 µs 9,832 bytes bytes 719 µs 722 µs 14,312 bytes bytes
App\Models\Tenant\Voucher::logChanges 1 338 µs 338 µs 3,632 bytes bytes 495 µs 496 µs 9,456 bytes bytes
Carbon\Carbon::toISOString 12 239 µs 224 µs -5,016 bytes bytes 916 µs 925 µs 12,864 bytes bytes
Illuminate\Database\Eloquent\Builder::create 1 179 µs 179 µs 3,392 bytes bytes 1,059,733 µs 21,463 µs -69,272 bytes bytes
Carbon\Carbon::getPaddedUnit 36 160 µs 169 µs 1,800 bytes bytes 160 µs 169 µs 1,800 bytes bytes
App\Models\Tenant\Voucher::triggerSyncEvent 1 158 µs 378 µs -2,600 bytes bytes 1,233 µs 1,036 µs 3,272 bytes bytes
load::settings/captive_portal_php 2 154 µs 157 µs 14,880 bytes bytes 154 µs 157 µs 14,880 bytes bytes
load::settings/finance_php 4 153 µs 157 µs 28,192 bytes bytes 153 µs 157 µs 28,192 bytes bytes
App\Models\Tenant\VoucherSerie::isRestoring 1 131 µs 132 µs 664 bytes bytes 135 µs 137 µs 1,264 bytes bytes
App\Services\Vouchers\ExpirationSyncer::syncVoucher 1 129 µs 127 µs -5,856 bytes bytes 4,174 µs 2,671 µs -110,232 bytes bytes
App\Models\Tenant\Voucher::customer 1 128 µs 129 µs 8,808 bytes bytes 128 µs 129 µs 8,808 bytes bytes
Illuminate\Database\Eloquent\Model::incrementOrDecrement 2 127 µs 122 µs 1,616 bytes bytes 2,101 µs 714 µs 9,880 bytes bytes
App\Models\Tenant\Voucher::getExpireTime 1 103 µs 101 µs -376 bytes bytes 162 µs 310 µs 4,744 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 102 µs 119 µs 792 bytes bytes 102 µs 119 µs 792 bytes bytes
load::settings/status_page_notifications_php 3 94 µs 97 µs 16,976 bytes bytes 94 µs 97 µs 16,976 bytes bytes
load::settings/customers_php 2 86 µs 87 µs 10,048 bytes bytes 86 µs 87 µs 10,048 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogEvent 1 81 µs 81 µs 696 bytes bytes 216 µs 218 µs 1,960 bytes bytes
Illuminate\Database\Eloquent\Model::Illuminate\Database\Eloquent\… 2 74 µs 77 µs 1,384 bytes bytes 74 µs 77 µs 1,384 bytes bytes
Illuminate\Cache\TaggedCache::event 4 72 µs 66 µs 1,296 bytes bytes 83 µs 83 µs 2,448 bytes bytes
Carbon\Carbon::utc 12 71 µs 81 µs 552 bytes bytes 71 µs 81 µs 552 bytes bytes
Illuminate\Cache\RedisTagSet::addEntry 1 67 µs 62 µs -984 bytes bytes 585 µs 188 µs 9,560 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 63 µs 61 µs -1,024 bytes bytes 1,989 µs 787 µs 5,824 bytes bytes
App\Models\Tenant\Voucher::macs 1 62 µs 63 µs 4,584 bytes bytes 62 µs 63 µs 4,584 bytes bytes
App\Services\Vouchers\ExpirationSyncer::App\Services\Vouchers\{cl… 1 62 µs 58 µs -3,280 bytes bytes 2,323 µs 1,230 µs 13,776 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 60 µs 62 µs 6,032 bytes bytes 60 µs 62 µs 6,032 bytes bytes
Illuminate\Database\Eloquent\Model::serializeDate 12 59 µs 58 µs 3,160 bytes bytes 1,016 µs 1,020 µs 8,128 bytes bytes
load::settings/splynx_integration_php 2 58 µs 61 µs 12,752 bytes bytes 58 µs 61 µs 12,752 bytes bytes
load::settings/finance_notifications_php 2 54 µs 56 µs 8,944 bytes bytes 54 µs 56 µs 8,944 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 26 54 µs 57 µs 632 bytes bytes 54 µs 57 µs 632 bytes bytes
load::settings/portal_php 2 51 µs 54 µs 6,368 bytes bytes 51 µs 54 µs 6,368 bytes bytes
load::settings/voucher_limit_notifications_php 2 48 µs 50 µs 12,080 bytes bytes 48 µs 50 µs 12,080 bytes bytes
App\Models\Tenant\VoucherSerie::initializeSoftDeletes 6 45 µs 35 µs 1,960 bytes bytes 67 µs 69 µs 2,592 bytes bytes
App\Models\Tenant\Voucher::triggerExpirationSync 1 45 µs 39 µs 760 bytes bytes 1,053,380 µs 16,577 µs -110,856 bytes bytes
Carbon\Carbon::toJSON 12 41 µs 37 µs -7,896 bytes bytes 957 µs 962 µs 4,968 bytes bytes
App\Models\Tenant\VoucherSerie::getActivitylogOptions 4 39 µs 38 µs 6,384 bytes bytes 50 µs 57 µs 7,584 bytes bytes
App\Models\Tenant\VoucherSerie::attributesToBeLogged 3 36 µs 45 µs 1,136 bytes bytes 75 µs 91 µs 4,400 bytes bytes
App\Models\Tenant\VoucherSerie::eventsToBeRecorded 2 34 µs 36 µs 1,256 bytes bytes 34 µs 36 µs 1,256 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::buildIdentityKey 1 33 µs 34 µs 688 bytes bytes 33 µs 34 µs 688 bytes bytes
App\Services\RedirectFlow\VoucherCreator::getSeriePrefixByPlan 1 32 µs 35 µs 1,312 bytes bytes 32 µs 35 µs 1,312 bytes bytes
App\Models\Tenant\VoucherSerie::getDeletedAtColumn 14 28 µs 42 µs 1,864 bytes bytes 28 µs 42 µs 1,864 bytes bytes
Carbon\Carbon::avoidMutation 12 28 µs 33 µs 9,112 bytes bytes 28 µs 33 µs 9,112 bytes bytes
Carbon\CarbonInterval::fromString 2 27 µs 25 µs 2,024 bytes bytes 46 µs 47 µs 4,728 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 27 µs 24 µs 768 bytes bytes 2,743 µs 883 µ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
Illuminate\Cache\Repository::tags 2 26 µs 20 µs 760 bytes bytes 64 µs 63 µs 4,848 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::tryLock 1 26 µs 24 µs 520 bytes bytes 1,864 µs 778 µs 24,416 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 26 µs 27 µs 1,048 bytes bytes 26 µs 27 µs 1,048 bytes bytes
App\Models\Tenant\Voucher::getActivitylogOptions 3 21 µs 17 µs 2,032 bytes bytes 29 µs 31 µs 3,232 bytes bytes
App\Models\Tenant\Voucher::getLogNameToUse 1 21 µs 22 µs 632 bytes bytes 21 µs 22 µs 632 bytes bytes
App\Events\Voucher\VoucherActivated::__construct 1 21 µs 65 µs 632 bytes bytes 21 µs 65 µs 632 bytes bytes
Carbon\Carbon::rawAddUnit 2 20 µs 18 µs -872 bytes bytes 74 µs 222 µs 4,976 bytes bytes
Illuminate\Cache\TagSet::tagIds 4 19 µs 22 µs 2,080 bytes bytes 25 µs 29 µs 2,840 bytes bytes
App\Models\Tenant\Voucher::shouldLogEvent 1 18 µs 17 µs 696 bytes bytes 30 µs 31 µs 6,912 bytes bytes
Carbon\Carbon::addUnit 2 17 µs 17 µs 4,176 bytes bytes 91 µs 239 µs 9,152 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::__construct 1 17 µs 18 µs 1,344 bytes bytes 17 µs 18 µs 1,344 bytes bytes
Illuminate\Cache\TaggedCache::taggedItemKey 3 16 µs 17 µs 792 bytes bytes 50 µs 53 µs 2,784 bytes bytes
Carbon\CarbonInterval::__construct 2 16 µs 18 µs 1,288 bytes bytes 16 µs 18 µs 1,288 bytes bytes
Carbon\Carbon::getIsoUnits 12 15 µs 22 µs 552 bytes bytes 15 µs 22 µs 552 bytes bytes
Illuminate\Routing\UrlGenerator::Stancl\Tenancy\Bootstrappers\{cl… 3 14 µs 16 µs 1,136 bytes bytes 14 µs 16 µs 1,136 bytes bytes
Illuminate\Cache\TaggedCache::__construct 2 14 µs 14 µs 584 bytes bytes 14 µs 14 µs 584 bytes bytes
Illuminate\Cache\RedisStore::tags 2 14 µs 14 µs 1,752 bytes bytes 32 µs 33 µs 2,920 bytes bytes
App\Models\Tenant\VoucherSerie::getQualifiedDeletedAtColumn 1 14 µs 14 µs 752 bytes bytes 16 µs 17 µs 1,384 bytes bytes
App\Models\Tenant\Voucher::attributesToBeLogged 2 14 µs 14 µs 1,088 bytes bytes 33 µs 36 µs 2,736 bytes bytes
Illuminate\Database\Query\Builder::increment 2 14 µs 11 µs 464 bytes bytes 1,878 µs 491 µs 5,552 bytes bytes
Illuminate\Cache\TagSet::getNamespace 3 13 µs 12 µs bytes bytes 34 µs 36 µs 1,992 bytes bytes
Illuminate\Database\Eloquent\Builder::increment 2 13 µs 12 µs 696 bytes bytes 1,891 µs 503 µs 6,248 bytes bytes
App\Models\Tenant\Voucher::isRestoring 1 12 µs 14 µs 6,216 bytes bytes 12 µs 14 µs 6,216 bytes bytes
Illuminate\Database\Eloquent\Model::increment 2 12 µs µs 1,360 bytes bytes 2,113 µs 723 µs 11,240 bytes bytes
App\Models\Tenant\VoucherSerie::getLogNameToUse 1 12 µs 13 µs 632 bytes bytes 12 µs 13 µs 632 bytes bytes
Illuminate\Cache\TaggedCache::itemKey 3 11 µs µs 1,232 bytes bytes 61 µs 61 µs 4,016 bytes bytes
Xhgui\Profiler\Profiler::disable 1 11 µs µs 776 bytes bytes 16 µs 17 µs 1,944 bytes bytes
Spatie\Activitylog\LogOptions::logFillable 7 10 µs 19 µs 1,200 bytes bytes 10 µs 19 µs 1,200 bytes bytes
Spatie\Activitylog\LogOptions::logOnlyDirty 7 µs 14 µs 1,200 bytes bytes µs 14 µs 1,200 bytes bytes
Illuminate\Database\Eloquent\Model::getKey 1 µs µs 600 bytes bytes µs µs 600 bytes bytes
Illuminate\Database\Eloquent\Model::isClassDeviable 4 µs 12 µs 632 bytes bytes µs 12 µs 632 bytes bytes
Illuminate\Database\Query\Builder::raw 2 µs µs 664 bytes bytes 19 µs 20 µs 2,008 bytes bytes
App\Services\Vouchers\ExpirationSyncer::createKafkaMessage 1 µs µs 880 bytes bytes 3,883 µs 2,234 µs -109,120 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handleVouc… 1 µs 10 µs 584 bytes bytes 2,814 µs 1,637 µs 8,560 bytes bytes
Carbon\Carbon::isModifiableUnit 2 µs µs 1,168 bytes bytes µs µs 1,168 bytes bytes
Illuminate\Database\Connection::raw 2 µs µs 760 bytes bytes 10 µs 12 µs 1,344 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handle 1 µs µs 696 bytes bytes 2,822 µs 1,642 µs 9,256 bytes bytes
Illuminate\Cache\Events\CacheEvent::setTags 4 µs µs 584 bytes bytes µs µs 584 bytes bytes
Illuminate\Cache\RedisTagSet::tagId 4 µs µs 760 bytes bytes µs µs 760 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::__construct 1 µs µs 568 bytes bytes µs µs 568 bytes bytes
Carbon\Carbon::parse 1 µs µs 632 bytes bytes µs µs 1,896 bytes bytes
App\Providers\GoRendererServiceProvider::App\Providers\{closure} 1 µs µs 752 bytes bytes µs µs 1,384 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\TagSet::getNames 4 µs µs 568 bytes bytes µs µs 568 bytes bytes
Carbon\CarbonInterval::invert 2 µs 151 µs 568 bytes bytes µs 151 µs 568 bytes bytes
Carbon\Carbon::rawAdd 2 µs µs 552 bytes bytes µs µs 552 bytes bytes
App\Models\VoucherExpireSchedule::getEmptyWorkerValues 1 µs µs 1,224 bytes bytes µs µs 1,224 bytes bytes
Illuminate\Support\Collection::only 1 µs µs 1,072 bytes bytes µs µs 1,072 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 µs µs 728 bytes bytes µs µs 728 bytes bytes
Xhgui\Profiler\ProfilingData::__construct 1 µ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
Carbon\CarbonInterval::withOriginal 2 µs µs 1,416 bytes bytes µs µs 1,416 bytes bytes
App\Models\Tenant\Voucher::shouldLogUnguarded 2 µs µs 600 bytes bytes µs µs 600 bytes bytes
Carbon\Carbon::rawParse 1 µs µs 1,264 bytes bytes µs µs 1,264 bytes bytes
Illuminate\Database\Query\Expression::getValue 2 µs µs 600 bytes bytes µs µs 600 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogUnguarded 3 µ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\Vouchers\NextReactivateTimeCalculator::calc 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Database\Eloquent\Relations\Pivot::getUpdatedAtColumn 2 µs 16 µs 632 bytes bytes µs 16 µs 632 bytes bytes
App\Models\Tenant\Voucher::isLogEmpty 1 µs µs 600 bytes bytes µs µs 600 bytes bytes
Illuminate\Database\Query\Expression::__construct 2 µs µs 584 bytes bytes µs µs 584 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\Services\RedirectFlow\VoucherCreator::__construct 1 µs µs 568 bytes bytes µs µs 568 bytes bytes
App\Models\Tenant\Voucher::getDescriptionForEvent 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
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