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

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\Services\Vouchers\ExpirationSyncer::syncVoucher
5,405,531 µs
Illuminate\Database\Query\Builder::aggregate
1,459,675 µs
main()
22,697 µs
App\Services\RedirectFlow\VoucherCreator::createVoucher
7,758 µs
App\Listeners\Voucher\SendStatusPageSmsNotification::handle
3,421 µs
Illuminate\Database\Query\Builder::incrementEach
2,316 µs

Memory Hogs

load::settings/localization_php
94,608 bytes
Illuminate\Database\Query\Builder::aggregate
41,824 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
App\Services\Vouchers\ExpirationSyncer::syncVoucher 1 5,405,531 µs 32,469 µs -130,376 bytes bytes 5,407,184 µs 33,119 µs -116,320 bytes bytes
Illuminate\Database\Query\Builder::aggregate 1 1,459,675 µs 1,573 µs 41,824 bytes bytes 1,459,727 µs 1,628 µs 49,128 bytes bytes
main() 1 22,697 µs 10,209 µs -28,664 bytes bytes 6,926,078 µs 68,298 µs 256,824 bytes bytes
App\Services\RedirectFlow\VoucherCreator::createVoucher 1 7,758 µs 5,880 µs 14,856 bytes bytes 6,900,891 µs 56,929 µs 148,000 bytes bytes
App\Listeners\Voucher\SendStatusPageSmsNotification::handle 1 3,421 µs 2,350 µs -2,456 bytes bytes 4,000 µs 2,983 µs 90,264 bytes bytes
Illuminate\Database\Query\Builder::incrementEach 2 2,316 µs 554 µs 2,480 bytes bytes 2,347 µs 587 µs 5,088 bytes bytes
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan 1 2,267 µs 548 µs 5,776 bytes bytes 2,332 µs 613 µs 9,800 bytes bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity 1 2,153 µs 1,177 µs 1,688 bytes bytes 1,466,049 µs 6,418 µs 85,224 bytes bytes
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure} 1 2,101 µs 2,158 µs 9,752 bytes bytes 3,766 µs 3,228 µs 29,344 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 2 1,929 µs 2,031 µs 5,928 bytes bytes 4,155 µs 3,603 µs 34,472 bytes bytes
Illuminate\Database\Eloquent\Builder::Illuminate\Database\Eloquen… 1 1,511 µs 472 µs -1,128 bytes bytes 5,413,979 µs 38,327 µs -75,712 bytes bytes
App\Services\Vouchers\CodeGenerator::checkIfCodeExists 1 1,394 µs 396 µs 1,136 bytes bytes 1,394 µs 396 µs 1,136 bytes bytes
App\Models\Tenant\VoucherSerie::attributeValuesToBeLogged 1 1,158 µs 483 µs -232 bytes bytes 1,485 µs 822 µs 6,208 bytes bytes
Illuminate\Database\Eloquent\Relations\HasMany::getResults 1 1,106 µs 885 µs 1,288 bytes bytes 1,106 µs 885 µs 1,288 bytes bytes
App\Models\Tenant\Voucher::attributeValuesToBeLogged 1 1,049 µs 449 µs 2,080 bytes bytes 1,395 µs 796 µs 13,464 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 926 µs 259 µs -2,848 bytes bytes 2,143 µs 717 µs 5,800 bytes bytes
App\Services\Vouchers\CodeGenerator::getCodeLength 1 879 µs 300 µs -5,352 bytes bytes 929 µs 351 µs 1,704 bytes bytes
App\Services\Vouchers\CodeGenerator::getChars 1 869 µs 307 µs -5,256 bytes bytes 921 µs 360 µs 1,800 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 754 µs 251 µs 1,424 bytes bytes 757 µs 254 µs 2,152 bytes bytes
Stancl\Tenancy\CacheManager::__call 2 661 µs 190 µs 1,800 bytes bytes 1,917 µs 578 µs 23,208 bytes bytes
Illuminate\Redis\Connections\PhpRedisConnection::zadd 1 590 µs 64 µs 848 bytes bytes 590 µs 64 µs 848 bytes bytes
Illuminate\Cache\RedisTaggedCache::put 1 425 µs 81 µs 536 bytes bytes 1,167 µs 298 µs 11,456 bytes bytes
Carbon\Carbon::isoFormat 12 382 µs 372 µs 5,864 bytes bytes 539 µs 545 µs 8,216 bytes bytes
App\Models\Tenant\VoucherSerie::logChanges 2 371 µs 375 µs 9,832 bytes bytes 620 µs 621 µs 18,408 bytes bytes
load::settings/localization_php 3 360 µs 364 µs 94,608 bytes bytes 360 µs 364 µs 94,608 bytes bytes
Carbon\Carbon::toISOString 12 218 µs 205 µs -5,016 bytes bytes 849 µs 853 µs 12,864 bytes bytes
App\Models\Tenant\Voucher::logChanges 1 217 µs 217 µs 3,632 bytes bytes 333 µs 333 µs 9,456 bytes bytes
Illuminate\Database\Eloquent\Model::incrementOrDecrement 2 202 µs 197 µs 2,024 bytes bytes 2,652 µs 890 µs 10,288 bytes bytes
App\Models\Tenant\Voucher::triggerSyncEvent 1 188 µs 123 µs -2,632 bytes bytes 1,364 µs 1,359 µs 3,240 bytes bytes
load::settings/finance_php 4 172 µs 175 µs 28,192 bytes bytes 172 µs 175 µs 28,192 bytes bytes
Illuminate\Database\Eloquent\Builder::create 1 171 µs 170 µs 3,392 bytes bytes 5,414,150 µs 38,497 µs -72,320 bytes bytes
Carbon\Carbon::getPaddedUnit 36 141 µs 151 µs 1,800 bytes bytes 141 µs 151 µs 1,800 bytes bytes
load::settings/captive_portal_php 2 138 µs 140 µs 14,880 bytes bytes 138 µs 140 µs 14,880 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 115 µs 118 µs 792 bytes bytes 115 µs 118 µs 792 bytes bytes
App\Models\Tenant\Voucher::customer 1 93 µs 96 µs 8,808 bytes bytes 93 µs 96 µs 8,808 bytes bytes
load::settings/customers_php 2 89 µs 90 µs 10,048 bytes bytes 89 µs 90 µs 10,048 bytes bytes
load::settings/splynx_integration_php 2 89 µs 92 µs 12,752 bytes bytes 89 µs 92 µs 12,752 bytes bytes
App\Models\Tenant\Voucher::App\Models\Tenant\{closure} 2 89 µs 88 µs 6,752 bytes bytes 5,408,702 µs 34,627 µs -103,928 bytes bytes
App\Models\Tenant\Voucher::getExpireTime 1 85 µs 84 µs 272 bytes bytes 131 µs 131 µs 3,496 bytes bytes
load::settings/status_page_notifications_php 3 83 µs 126 µs 16,976 bytes bytes 83 µs 126 µs 16,976 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogEvent 1 71 µs 77 µs 696 bytes bytes 122 µs 128 µs 1,960 bytes bytes
App\Models\Tenant\Voucher::macs 1 70 µs 351 µs 4,584 bytes bytes 70 µs 351 µs 4,584 bytes bytes
Illuminate\Database\Eloquent\Model::serializeDate 12 67 µs 51 µs 3,160 bytes bytes 952 µs 942 µs 8,128 bytes bytes
Carbon\Carbon::utc 12 66 µs 73 µs 552 bytes bytes 66 µs 73 µs 552 bytes bytes
load::settings/finance_notifications_php 2 64 µs 65 µs 8,944 bytes bytes 64 µs 65 µs 8,944 bytes bytes
Illuminate\Database\Eloquent\Model::Illuminate\Database\Eloquent\… 2 61 µs 63 µs 1,384 bytes bytes 61 µs 63 µs 1,384 bytes bytes
App\Models\Tenant\VoucherSerie::isRestoring 1 49 µs 48 µs 664 bytes bytes 51 µs 51 µs 1,264 bytes bytes
Illuminate\Cache\RedisTagSet::addEntry 1 47 µs 45 µs -984 bytes bytes 690 µs 164 µs 9,560 bytes bytes
Illuminate\Cache\TaggedCache::event 4 46 µs 42 µs 1,296 bytes bytes 54 µs 55 µs 2,448 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 46 µs 45 µs 768 bytes bytes 3,290 µs 1,152 µs 5,408 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 45 µs 46 µs 6,032 bytes bytes 45 µs 46 µs 6,032 bytes bytes
load::settings/portal_php 2 43 µs 44 µs 6,368 bytes bytes 43 µs 44 µs 6,368 bytes bytes
load::settings/voucher_limit_notifications_php 2 42 µs 43 µs 12,080 bytes bytes 42 µs 43 µs 12,080 bytes bytes
App\Models\Tenant\VoucherSerie::initializeSoftDeletes 6 40 µs 32 µs 1,960 bytes bytes 59 µs 60 µs 2,592 bytes bytes
Carbon\Carbon::toJSON 12 36 µs 38 µs -7,896 bytes bytes 885 µs 891 µs 4,968 bytes bytes
App\Models\Tenant\VoucherSerie::getActivitylogOptions 4 36 µs 36 µs 6,384 bytes bytes 47 µs 52 µs 7,584 bytes bytes
App\Models\Tenant\Voucher::triggerExpirationSync 1 30 µs 30 µs 760 bytes bytes 5,407,229 µs 33,160 µs -115,216 bytes bytes
App\Models\Tenant\VoucherSerie::eventsToBeRecorded 2 28 µs 28 µs 1,256 bytes bytes 28 µs 28 µs 1,256 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::buildIdentityKey 1 26 µs 27 µs 688 bytes bytes 26 µs 27 µs 688 bytes bytes
Carbon\Carbon::avoidMutation 12 26 µs 30 µs 9,112 bytes bytes 26 µs 30 µs 9,112 bytes bytes
Carbon\CarbonInterval::fromString 2 25 µs 23 µs 2,024 bytes bytes 43 µs 45 µs 4,728 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 26 24 µs 34 µs 632 bytes bytes 24 µs 34 µs 632 bytes bytes
App\Models\Tenant\VoucherSerie::getDeletedAtColumn 14 23 µs 35 µs 1,864 bytes bytes 23 µs 35 µs 1,864 bytes bytes
App\Services\RedirectFlow\VoucherCreator::getSeriePrefixByPlan 1 22 µs 22 µs 1,312 bytes bytes 22 µs 22 µs 1,312 bytes bytes
App\Models\Tenant\VoucherSerie::attributesToBeLogged 3 22 µs 17 µs 1,136 bytes bytes 64 µs 67 µs 8,496 bytes bytes
Carbon\Carbon::rawAddUnit 2 20 µs 16 µs -872 bytes bytes 70 µs 72 µs 4,976 bytes bytes
App\Models\Tenant\Voucher::getActivitylogOptions 3 20 µs 16 µs 2,032 bytes bytes 26 µs 28 µs 3,232 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 19 µs 20 µs 1,048 bytes bytes 19 µs 20 µs 1,048 bytes bytes
Illuminate\Cache\Repository::tags 2 18 µs 12 µs 760 bytes bytes 39 µs 38 µs 4,848 bytes bytes
Junges\Kafka\Factory::publish 1 18 µs 18 µs 1,008 bytes bytes 18 µs 18 µs 1,008 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileAggregate 1 18 µs 18 µs 688 bytes bytes 18 µs 18 µs 688 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::tryLock 1 17 µs 17 µs 520 bytes bytes 1,960 µs 622 µs 24,416 bytes bytes
App\Models\Tenant\Voucher::getFullCode 1 17 µs 16 µs 632 bytes bytes 20 µs 20 µs 1,296 bytes bytes
Illuminate\Cache\TagSet::tagIds 4 16 µs 15 µs 2,080 bytes bytes 21 µs 22 µs 2,840 bytes bytes
Carbon\CarbonInterval::__construct 2 16 µs 17 µs 1,288 bytes bytes 16 µs 17 µs 1,288 bytes bytes
Carbon\Carbon::getIsoUnits 12 16 µs 22 µs 552 bytes bytes 16 µs 22 µs 552 bytes bytes
Illuminate\Database\Query\Builder::increment 2 16 µs 12 µs 464 bytes bytes 2,363 µs 599 µs 5,552 bytes bytes
Carbon\Carbon::addUnit 2 15 µs 15 µs 4,176 bytes bytes 85 µs 87 µs 9,152 bytes bytes
App\Models\Tenant\VoucherSerie::getQualifiedDeletedAtColumn 1 15 µs 13 µs 752 bytes bytes 17 µs 17 µs 1,384 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::__construct 1 15 µs 16 µs 1,344 bytes bytes 15 µs 16 µs 1,344 bytes bytes
App\Models\Tenant\Voucher::shouldLogEvent 1 15 µs 14 µs 696 bytes bytes 23 µs 23 µs 1,280 bytes bytes
Illuminate\Database\Eloquent\Builder::increment 2 15 µs 17 µs 696 bytes bytes 2,378 µs 616 µs 6,248 bytes bytes
Illuminate\Database\Eloquent\Model::increment 2 15 µs 12 µs 1,328 bytes bytes 2,667 µs 902 µs 11,616 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::taggedItemKey 3 14 µs 14 µs 792 bytes bytes 39 µs 41 µs 2,784 bytes bytes
App\Models\Tenant\Voucher::attributesToBeLogged 2 14 µs 14 µs 1,088 bytes bytes 33 µs 35 µs 2,736 bytes bytes
App\Events\Voucher\VoucherExpirationTrack::handle 1 14 µs 10 µs -288 bytes bytes 5,407,198 µs 33,129 µs -116,608 bytes bytes
Illuminate\Database\Query\Builder::count 1 14 µs 10 µs -64 bytes bytes 1,459,741 µs 1,638 µs 49,064 bytes bytes
Illuminate\Database\Connection::raw 2 12 µs 13 µs 760 bytes bytes 15 µs 18 µs 1,344 bytes bytes
Illuminate\Database\Query\Builder::raw 2 12 µs 11 µs 664 bytes bytes 27 µs 29 µs 2,008 bytes bytes
Illuminate\Database\Query\Builder::cloneWithout 1 12 µs µs 728 bytes bytes 17 µs 18 µs 2,472 bytes bytes
App\Models\Tenant\Voucher::getLogNameToUse 1 11 µs 13 µs 632 bytes bytes 11 µs 13 µs 632 bytes bytes
Illuminate\Database\Eloquent\Model::isClassDeviable 4 11 µs 14 µs 632 bytes bytes 11 µs 14 µs 632 bytes bytes
Illuminate\Cache\RedisStore::tags 2 10 µs 13 µs 1,752 bytes bytes 17 µs 19 µs 2,920 bytes bytes
Xhgui\Profiler\Profiler::disable 1 10 µs µs 776 bytes bytes 17 µs 17 µs 1,944 bytes bytes
Illuminate\Cache\TaggedCache::itemKey 3 µs µs 1,232 bytes bytes 48 µs 50 µs 4,016 bytes bytes
Spatie\Activitylog\LogOptions::logOnlyDirty 7 µs 13 µs 1,200 bytes bytes µs 13 µs 1,200 bytes bytes
Illuminate\Database\Query\Builder::cloneWithoutBindings 1 µs µs 728 bytes bytes 13 µs 15 µs 3,168 bytes bytes
App\Models\Tenant\VoucherSerie::getLogNameToUse 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handleVouc… 1 µs µs 584 bytes bytes 2,935 µs 1,003 µs 8,560 bytes bytes
Illuminate\Cache\TagSet::getNamespace 3 µs µs bytes bytes 25 µs 27 µs 1,992 bytes bytes
Spatie\Activitylog\LogOptions::logFillable 7 µs 15 µs 1,200 bytes bytes µs 15 µs 1,200 bytes bytes
App\Models\Tenant\Voucher::isRestoring 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
Carbon\Carbon::isModifiableUnit 2 µs µs 1,168 bytes bytes µs µs 1,168 bytes bytes
App\Models\Tenant\Voucher::generateFullCode 2 µs µs 1,344 bytes bytes µs µs 1,344 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 µs µs -1,024 bytes bytes 2,169 µs 743 µs 5,824 bytes bytes
Illuminate\Cache\RedisTagSet::tagId 4 µs µs 760 bytes bytes µs µs 760 bytes bytes
Illuminate\Database\Query\Builder::clone 2 µs µs 2,224 bytes bytes µs µs 2,224 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
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
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\Carbon::rawAdd 2 µs µs 552 bytes bytes µs µs 552 bytes bytes
Illuminate\Database\Query\Expression::getValue 2 µs µs 600 bytes bytes µs µs 600 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\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
App\Providers\GoRendererServiceProvider::App\Providers\{closure} 1 µs µs 752 bytes bytes µs µs 1,384 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handle 1 µs µs 696 bytes bytes 2,939 µs 1,008 µs 9,256 bytes bytes
Illuminate\Cache\TagSet::__construct 2 µ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\Tenant\Voucher::shouldLogUnguarded 2 µ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
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
Illuminate\Cache\Repository::supportsTags 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
Carbon\CarbonInterval::withOriginal 2 µs µs 1,416 bytes bytes µs µs 1,416 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::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\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
Illuminate\Cache\RedisStore::getPrefix 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
App\Listeners\Voucher\VoucherTimeExpirationSync::__construct 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