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

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

Illuminate\Database\Query\Builder::aggregate
1,532,686 µs
App\Events\Voucher\VoucherExpirationTrack::handle
1,048,230 µs
main()
25,202 µs
App\Services\RedirectFlow\VoucherCreator::createVoucher
8,104 µs
App\Listeners\Voucher\SendStatusPageSmsNotification::handle
3,680 µs
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan
2,452 µs

Memory Hogs

load::settings/localization_php
94,608 bytes
Illuminate\Database\Query\Builder::aggregate
45,920 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,856 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
Illuminate\Database\Query\Builder::aggregate 1 1,532,686 µs 2,401 µs 45,920 bytes bytes 1,532,731 µs 2,451 µs 53,224 bytes bytes
App\Events\Voucher\VoucherExpirationTrack::handle 1 1,048,230 µs 12,757 µs -2,016 bytes bytes 1,052,303 µs 15,860 µs -113,560 bytes bytes
main() 1 25,202 µs 12,095 µs -27,416 bytes bytes 2,648,796 µs 56,740 µs 261,128 bytes bytes
App\Services\RedirectFlow\VoucherCreator::createVoucher 1 8,104 µs 6,220 µs 14,856 bytes bytes 2,621,195 µs 43,220 µs 151,056 bytes bytes
App\Listeners\Voucher\SendStatusPageSmsNotification::handle 1 3,680 µs 3,259 µs -2,448 bytes bytes 4,274 µs 3,962 µs 90,272 bytes bytes
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan 1 2,452 µs 627 µs 5,776 bytes bytes 2,528 µs 706 µs 9,800 bytes bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity 1 2,402 µs 1,255 µs 1,688 bytes bytes 1,539,528 µs 7,645 µs 85,224 bytes bytes
Illuminate\Database\Query\Builder::incrementEach 2 2,021 µs 524 µs 2,416 bytes bytes 2,037 µs 543 µs 3,776 bytes bytes
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure} 1 1,827 µs 1,909 µs 9,752 bytes bytes 4,021 µs 3,108 µs 29,344 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 2 1,780 µs 2,035 µs 5,928 bytes bytes 4,375 µs 3,927 µs 30,376 bytes bytes
App\Models\Tenant\Voucher::attributeValuesToBeLogged 1 1,471 µs 472 µs 2,080 bytes bytes 1,918 µs 920 µs 13,464 bytes bytes
App\Services\Vouchers\ExpirationSyncer::getWorkerIndex 1 1,424 µs 1,213 µs -124,368 bytes bytes 3,707 µs 2,600 µs -111,312 bytes bytes
App\Services\Vouchers\CodeGenerator::checkIfCodeExists 1 1,399 µs 317 µs 1,136 bytes bytes 1,399 µs 317 µs 1,136 bytes bytes
Illuminate\Database\Eloquent\Builder::Illuminate\Database\Eloquen… 1 1,399 µs 525 µs -1,128 bytes bytes 1,059,130 µs 20,618 µs -72,664 bytes bytes
App\Models\Tenant\VoucherSerie::attributeValuesToBeLogged 1 1,269 µs 547 µs -232 bytes bytes 1,597 µs 888 µs 6,208 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 1,229 µs 1,140 µs 1,424 bytes bytes 1,232 µs 1,145 µs 2,152 bytes bytes
Illuminate\Database\Eloquent\Builder::firstOrNew 1 1,051 µs 833 µs 6,048 bytes bytes 1,051 µs 833 µs 6,048 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 1,028 µs 516 µs -2,848 bytes bytes 2,453 µs 1,118 µs 5,800 bytes bytes
Illuminate\Database\Eloquent\Relations\HasMany::getResults 1 989 µs 462 µs 1,288 bytes bytes 989 µs 462 µs 1,288 bytes bytes
App\Services\Vouchers\CodeGenerator::getChars 1 898 µs 325 µs -5,256 bytes bytes 974 µs 401 µs 1,800 bytes bytes
App\Services\Vouchers\CodeGenerator::getCodeLength 1 762 µs 263 µs -5,352 bytes bytes 808 µs 310 µs 1,704 bytes bytes
Stancl\Tenancy\CacheManager::__call 2 517 µs 187 µs 1,800 bytes bytes 1,667 µs 678 µs 23,208 bytes bytes
App\Models\Tenant\VoucherSerie::logChanges 2 499 µs 496 µs 9,832 bytes bytes 839 µs 841 µs 14,312 bytes bytes
Carbon\Carbon::isoFormat 12 479 µs 463 µs 5,864 bytes bytes 623 µs 631 µs 8,216 bytes bytes
Illuminate\Redis\Connections\PhpRedisConnection::zadd 1 428 µs 70 µs 848 bytes bytes 428 µs 70 µs 848 bytes bytes
Illuminate\Cache\RedisTaggedCache::put 1 411 µs 107 µs 536 bytes bytes 1,057 µs 397 µs 11,456 bytes bytes
load::settings/localization_php 3 392 µs 395 µs 94,608 bytes bytes 392 µs 395 µs 94,608 bytes bytes
Carbon\Carbon::toISOString 12 297 µs 286 µs -5,016 bytes bytes 1,025 µs 1,036 µs 12,864 bytes bytes
App\Models\Tenant\Voucher::logChanges 1 253 µs 253 µs 3,632 bytes bytes 432 µs 432 µs 9,456 bytes bytes
load::settings/captive_portal_php 2 219 µs 224 µs 14,880 bytes bytes 219 µs 224 µs 14,880 bytes bytes
load::settings/finance_php 4 215 µs 218 µs 28,192 bytes bytes 215 µs 218 µs 28,192 bytes bytes
Illuminate\Database\Eloquent\Builder::create 1 199 µs 198 µs 3,392 bytes bytes 1,059,329 µs 20,816 µs -69,272 bytes bytes
App\Models\Tenant\Voucher::triggerSyncEvent 1 190 µs 207 µs -2,632 bytes bytes 1,236 µs 959 µs 3,240 bytes bytes
Illuminate\Database\Eloquent\Model::incrementOrDecrement 2 178 µs 173 µs 1,616 bytes bytes 2,360 µs 864 µs 8,568 bytes bytes
App\Services\Vouchers\ExpirationSyncer::syncVoucher 1 176 µs 313 µs -5,856 bytes bytes 4,073 µs 3,103 µs -111,544 bytes bytes
App\Services\Vouchers\ExpirationSyncer::App\Services\Vouchers\{cl… 1 139 µs 134 µs -3,240 bytes bytes 2,273 µs 1,378 µs 12,504 bytes bytes
load::settings/customers_php 2 129 µs 225 µs 10,048 bytes bytes 129 µs 225 µs 10,048 bytes bytes
Carbon\Carbon::getPaddedUnit 36 126 µs 142 µs 1,800 bytes bytes 126 µs 142 µs 1,800 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 120 µs 124 µs 792 bytes bytes 120 µs 124 µs 792 bytes bytes
App\Models\Tenant\Voucher::getExpireTime 1 103 µs 102 µs -376 bytes bytes 178 µs 179 µs 4,744 bytes bytes
App\Models\Tenant\Voucher::App\Models\Tenant\{closure} 2 100 µs 100 µs 6,752 bytes bytes 1,053,710 µs 16,985 µs -100,880 bytes bytes
Illuminate\Database\Eloquent\Model::Illuminate\Database\Eloquent\… 2 93 µs 96 µs 1,384 bytes bytes 93 µs 96 µs 1,384 bytes bytes
load::settings/status_page_notifications_php 3 92 µs 95 µs 16,976 bytes bytes 92 µs 95 µs 16,976 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogEvent 1 88 µs 89 µs 696 bytes bytes 161 µs 162 µs 1,960 bytes bytes
App\Models\Tenant\Voucher::customer 1 87 µs 88 µs 8,808 bytes bytes 87 µs 88 µs 8,808 bytes bytes
Carbon\Carbon::utc 12 79 µs 83 µs 552 bytes bytes 79 µs 83 µs 552 bytes bytes
Illuminate\Database\Eloquent\Model::serializeDate 12 69 µs 72 µs 3,160 bytes bytes 1,138 µs 1,150 µs 8,128 bytes bytes
App\Models\Tenant\VoucherSerie::isRestoring 1 69 µs 67 µs 664 bytes bytes 73 µs 73 µs 1,264 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 69 µs 71 µs 6,032 bytes bytes 69 µs 71 µs 6,032 bytes bytes
Carbon\Carbon::rawAddUnit 2 63 µs 59 µs -872 bytes bytes 123 µs 125 µs 4,976 bytes bytes
Illuminate\Cache\RedisTagSet::addEntry 1 62 µs 59 µs -984 bytes bytes 580 µs 221 µs 9,560 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 58 µs 60 µs 1,048 bytes bytes 58 µs 60 µs 1,048 bytes bytes
App\Models\Tenant\Voucher::macs 1 57 µs 290 µs 4,584 bytes bytes 57 µs 290 µs 4,584 bytes bytes
load::settings/splynx_integration_php 2 54 µs 57 µs 12,752 bytes bytes 54 µs 57 µs 12,752 bytes bytes
App\Models\Tenant\Voucher::triggerExpirationSync 1 53 µs 46 µs 760 bytes bytes 1,052,358 µs 15,909 µs -112,168 bytes bytes
load::settings/finance_notifications_php 2 50 µs 53 µs 8,944 bytes bytes 50 µs 53 µs 8,944 bytes bytes
load::settings/voucher_limit_notifications_php 2 50 µs 53 µs 12,080 bytes bytes 50 µs 53 µs 12,080 bytes bytes
load::settings/portal_php 2 49 µs 50 µs 6,368 bytes bytes 49 µs 50 µs 6,368 bytes bytes
Illuminate\Database\Eloquent\Model::increment 2 49 µs 46 µs 1,360 bytes bytes 2,409 µs 910 µs 9,928 bytes bytes
Illuminate\Cache\TaggedCache::event 4 48 µs 41 µs 1,296 bytes bytes 56 µs 56 µs 2,448 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::buildIdentityKey 1 44 µs 44 µs 688 bytes bytes 44 µs 44 µs 688 bytes bytes
Carbon\Carbon::toJSON 12 44 µs 42 µs -7,896 bytes bytes 1,069 µs 1,078 µs 4,968 bytes bytes
App\Models\Tenant\VoucherSerie::initializeSoftDeletes 6 37 µs 31 µs 1,960 bytes bytes 58 µs 61 µs 2,592 bytes bytes
App\Models\Tenant\Voucher::getActivitylogOptions 3 36 µs 22 µs 2,032 bytes bytes 44 µs 47 µs 3,232 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 35 µs 32 µs 768 bytes bytes 3,216 µs 1,060 µs 5,408 bytes bytes
App\Services\RedirectFlow\VoucherCreator::getSeriePrefixByPlan 1 34 µs 35 µs 1,312 bytes bytes 34 µs 35 µs 1,312 bytes bytes
App\Models\Tenant\VoucherSerie::eventsToBeRecorded 2 33 µs 33 µs 1,256 bytes bytes 33 µs 33 µs 1,256 bytes bytes
App\Models\Tenant\VoucherSerie::getActivitylogOptions 4 32 µs 28 µs 2,288 bytes bytes 44 µs 47 µs 3,488 bytes bytes
Carbon\CarbonInterval::fromString 2 30 µs 28 µs 2,024 bytes bytes 50 µs 52 µs 4,728 bytes bytes
App\Models\Tenant\VoucherSerie::getDeletedAtColumn 14 27 µs 39 µs 1,864 bytes bytes 27 µs 39 µs 1,864 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::__construct 1 27 µs 28 µs 1,344 bytes bytes 27 µs 28 µs 1,344 bytes bytes
Carbon\Carbon::avoidMutation 12 26 µs 36 µs 9,112 bytes bytes 26 µs 36 µs 9,112 bytes bytes
App\Models\VoucherExpireSchedule::getMinWorkerIndex 1 26 µs 26 µs 1,160 bytes bytes 26 µs 26 µs 1,160 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 26 26 µs 35 µs 632 bytes bytes 26 µs 35 µs 632 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::tryLock 1 25 µs 24 µs 520 bytes bytes 1,736 µs 746 µs 24,416 bytes bytes
App\Models\Tenant\VoucherSerie::attributesToBeLogged 3 23 µs 23 µs 1,136 bytes bytes 57 µs 61 µs 4,400 bytes bytes
Illuminate\Database\Query\Builder::count 1 20 µs 12 µs -64 bytes bytes 1,532,751 µs 2,463 µs 53,160 bytes bytes
Illuminate\Cache\TagSet::tagIds 4 19 µs 18 µs 2,080 bytes bytes 24 µs 27 µs 2,840 bytes bytes
Illuminate\Database\Query\Builder::increment 2 19 µs 16 µs 464 bytes bytes 2,056 µs 559 µs 4,240 bytes bytes
Carbon\Carbon::addUnit 2 18 µs 18 µs 4,176 bytes bytes 141 µs 143 µs 9,152 bytes bytes
Carbon\Carbon::getIsoUnits 12 18 µs 26 µs 552 bytes bytes 18 µs 26 µs 552 bytes bytes
Illuminate\Cache\Repository::tags 2 17 µs 16 µs 760 bytes bytes 45 µs 46 µs 4,848 bytes bytes
Carbon\CarbonInterval::__construct 2 17 µs 19 µs 1,288 bytes bytes 17 µs 19 µs 1,288 bytes bytes
Illuminate\Database\Eloquent\Builder::increment 2 17 µs 15 µs 696 bytes bytes 2,073 µs 574 µs 4,936 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileAggregate 1 17 µs 19 µs 688 bytes bytes 17 µs 19 µs 688 bytes bytes
Illuminate\Routing\UrlGenerator::Stancl\Tenancy\Bootstrappers\{cl… 3 16 µs 16 µs 1,136 bytes bytes 16 µs 16 µs 1,136 bytes bytes
Illuminate\Cache\RedisStore::tags 2 16 µs 13 µs 1,752 bytes bytes 22 µs 22 µs 2,920 bytes bytes
App\Models\Tenant\Voucher::attributesToBeLogged 2 16 µs 14 µs 1,088 bytes bytes 51 µs 53 µs 2,736 bytes bytes
Illuminate\Database\Eloquent\Model::isClassDeviable 4 16 µs 21 µs 632 bytes bytes 16 µs 21 µs 632 bytes bytes
Illuminate\Cache\TaggedCache::taggedItemKey 3 15 µs 14 µs 792 bytes bytes 49 µs 50 µs 2,784 bytes bytes
Illuminate\Cache\TagSet::getNamespace 3 14 µs 13 µs bytes bytes 34 µs 36 µs 1,992 bytes bytes
App\Models\Tenant\Voucher::getFullCode 1 14 µs 14 µs 632 bytes bytes 16 µs 17 µs 1,296 bytes bytes
App\Models\Tenant\Voucher::shouldLogEvent 1 14 µs 13 µs 696 bytes bytes 24 µs 24 µs 1,280 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handleVouc… 1 14 µs 13 µs 584 bytes bytes 3,770 µs 2,346 µs 8,560 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 13 µs 10 µs -1,024 bytes bytes 2,524 µs 1,188 µs 5,824 bytes bytes
Xhgui\Profiler\Profiler::disable 1 13 µs 10 µs 776 bytes bytes 19 µs 19 µs 1,944 bytes bytes
Spatie\Activitylog\LogOptions::logFillable 7 12 µs 29 µs 1,200 bytes bytes 12 µs 29 µs 1,200 bytes bytes
Illuminate\Database\Query\Builder::raw 2 12 µs 12 µs 664 bytes bytes 16 µs 19 µs 1,360 bytes bytes
App\Services\Vouchers\ExpirationSyncer::createKafkaMessage 1 12 µs 11 µs 880 bytes bytes 3,719 µs 2,611 µs -110,432 bytes bytes
App\Models\Tenant\VoucherSerie::getQualifiedDeletedAtColumn 1 11 µs 11 µs 752 bytes bytes 13 µs 14 µs 1,384 bytes bytes
App\Models\Tenant\VoucherSerie::getLogNameToUse 1 11 µs 12 µs 632 bytes bytes 11 µs 12 µs 632 bytes bytes
App\Models\Tenant\Voucher::isRestoring 1 10 µs 11 µs 584 bytes bytes 10 µs 11 µs 584 bytes bytes
App\Models\Tenant\Voucher::getLogNameToUse 1 10 µs 11 µs 632 bytes bytes 10 µs 11 µs 632 bytes bytes
Illuminate\Database\Query\Builder::cloneWithout 1 10 µs µs 728 bytes bytes 14 µs 15 µs 2,472 bytes bytes
Illuminate\Cache\TaggedCache::itemKey 3 µs 11 µs 1,232 bytes bytes 58 µs 61 µs 4,016 bytes bytes
Spatie\Activitylog\LogOptions::logOnlyDirty 7 µs 15 µs 1,200 bytes bytes µs 15 µs 1,200 bytes bytes
Illuminate\Database\Query\Builder::cloneWithoutBindings 1 µs µs 728 bytes bytes 11 µs 12 µs 3,168 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handle 1 µs µs 696 bytes bytes 3,778 µs 2,354 µs 9,256 bytes bytes
Carbon\Carbon::isModifiableUnit 2 µs µs 1,168 bytes bytes µs µs 1,168 bytes bytes
Carbon\Carbon::parse 1 µs µs 632 bytes bytes µs µs 1,896 bytes bytes
Carbon\Carbon::rawAdd 2 µs µs 552 bytes bytes µs µs 552 bytes bytes
App\Models\Tenant\Voucher::generateFullCode 2 µs µs 1,344 bytes bytes µs µs 1,344 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::__construct 1 µ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
App\Models\Tenant\VoucherSerie::shouldLogUnguarded 3 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Providers\GoRendererServiceProvider::App\Providers\{closure} 1 µs µs 752 bytes bytes µs µs 1,384 bytes bytes
Xhgui\Profiler\ProfilingData::__construct 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::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
Carbon\CarbonInterval::invert 2 µ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\Connection::raw 2 µs µs 696 bytes bytes µs µs 696 bytes bytes
Illuminate\Database\Query\Builder::Illuminate\Database\Query\{clo… 2 µs µs 1,960 bytes bytes µs µs 1,960 bytes bytes
Illuminate\Support\Collection::only 1 µs µs 1,072 bytes bytes µs µs 1,072 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\TaggedCache::__construct 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
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
Illuminate\Database\Query\Builder::clone 2 µs µs 2,224 bytes bytes µs µs 2,224 bytes bytes
Illuminate\Database\Query\Builder::setAggregate 1 µs µs 976 bytes bytes µs µs 976 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 µs µs 728 bytes bytes µs µs 728 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 µs 632 bytes bytes µs µs 632 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
Carbon\Carbon::rawParse 1 µs µs 1,264 bytes bytes µs µs 1,264 bytes bytes
App\Services\Templates\GoRenderer::__construct 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::isLogEmpty 1 µs µs 600 bytes bytes µs µs 600 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