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

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,447,830 µs
App\Events\Voucher\VoucherExpirationTrack::handle
1,049,987 µs
main()
23,022 µs
App\Services\RedirectFlow\VoucherCreator::createVoucher
7,685 µs
App\Listeners\Voucher\SendStatusPageSmsNotification::handle
3,629 µs
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closure}
2,694 µ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,447,830 µs 3,357 µs 44,032 bytes bytes 1,452,612 µs 8,341 µs 78,504 bytes bytes
App\Events\Voucher\VoucherExpirationTrack::handle 1 1,049,987 µs 9,765 µs -2,016 bytes bytes 1,053,679 µs 12,269 µs -112,248 bytes bytes
main() 1 23,022 µs 8,597 µs -26,968 bytes bytes 2,558,112 µs 46,914 µs 253,560 bytes bytes
App\Services\RedirectFlow\VoucherCreator::createVoucher 1 7,685 µs 5,498 µs 14,872 bytes bytes 2,532,878 µs 37,252 µs 143,040 bytes bytes
App\Listeners\Voucher\SendStatusPageSmsNotification::handle 1 3,629 µs 2,943 µs -2,408 bytes bytes 4,158 µs 3,559 µs 90,312 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 2 2,694 µs 3,622 µs 5,928 bytes bytes 4,782 µs 4,984 µs 34,472 bytes bytes
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan 1 2,377 µs 482 µs 5,776 bytes bytes 2,428 µs 534 µs 9,160 bytes bytes
Illuminate\Database\Query\Builder::incrementEach 2 1,928 µs 786 µs 2,480 bytes bytes 1,950 µs 811 µs 5,088 bytes bytes
Illuminate\Database\Eloquent\Builder::Illuminate\Database\Eloquen… 1 1,599 µs 625 µs -720 bytes bytes 1,059,362 µs 16,124 µs -72,664 bytes bytes
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure} 1 1,491 µs 1,551 µs 9,752 bytes bytes 2,996 µs 2,446 µs 35,640 bytes bytes
App\Services\Vouchers\CodeGenerator::checkIfCodeExists 1 1,465 µs 246 µs 1,136 bytes bytes 1,465 µs 246 µs 1,136 bytes bytes
App\Models\Tenant\VoucherSerie::attributeValuesToBeLogged 1 1,182 µs 440 µs -232 bytes bytes 1,445 µs 714 µs 6,208 bytes bytes
App\Services\Vouchers\ExpirationSyncer::getWorkerIndex 1 1,153 µs 815 µs -124,368 bytes bytes 3,408 µs 2,209 µs -110,000 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 1,074 µs 919 µs -2,848 bytes bytes 2,211 µs 1,391 µs 5,800 bytes bytes
Illuminate\Database\Eloquent\Builder::firstOrNew 1 1,061 µs 642 µs 6,048 bytes bytes 1,061 µs 642 µs 6,048 bytes bytes
App\Models\Tenant\Voucher::attributeValuesToBeLogged 1 998 µs 382 µs 2,144 bytes bytes 1,308 µs 692 µs 14,128 bytes bytes
Illuminate\Database\Eloquent\Relations\HasMany::getResults 1 876 µs 384 µs 1,288 bytes bytes 876 µs 384 µs 1,288 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 839 µs 481 µs 1,424 bytes bytes 842 µs 485 µs 2,152 bytes bytes
App\Services\Vouchers\CodeGenerator::getCodeLength 1 765 µs 232 µs -5,352 bytes bytes 813 µs 280 µs 1,704 bytes bytes
App\Services\Vouchers\CodeGenerator::getChars 1 756 µs 241 µs -5,256 bytes bytes 802 µs 288 µs 1,800 bytes bytes
Stancl\Tenancy\CacheManager::__call 2 667 µs 210 µs 1,800 bytes bytes 1,744 µs 584 µs 23,208 bytes bytes
Illuminate\Redis\Connections\PhpRedisConnection::zadd 1 457 µs 56 µs 848 bytes bytes 457 µs 56 µs 848 bytes bytes
Illuminate\Cache\RedisTaggedCache::put 1 371 µs 72 µs 536 bytes bytes 993 µs 292 µs 11,456 bytes bytes
Carbon\Carbon::isoFormat 12 360 µs 353 µs 5,864 bytes bytes 480 µs 488 µs 8,216 bytes bytes
load::settings/localization_php 3 332 µs 334 µs 94,608 bytes bytes 332 µs 334 µs 94,608 bytes bytes
App\Models\Tenant\VoucherSerie::logChanges 2 284 µs 285 µs 9,832 bytes bytes 526 µs 528 µs 14,312 bytes bytes
Carbon\Carbon::toISOString 12 217 µs 199 µs -5,016 bytes bytes 776 µs 783 µs 12,864 bytes bytes
load::settings/captive_portal_php 2 155 µs 156 µs 14,880 bytes bytes 155 µs 156 µs 14,880 bytes bytes
App\Models\Tenant\Voucher::logChanges 1 148 µs 147 µs 3,632 bytes bytes 288 µs 288 µs 9,456 bytes bytes
load::settings/finance_php 4 147 µs 226 µs 28,192 bytes bytes 147 µs 226 µs 28,192 bytes bytes
App\Services\Vouchers\ExpirationSyncer::syncVoucher 1 137 µs 138 µs -5,856 bytes bytes 3,692 µs 2,504 µs -110,232 bytes bytes
Illuminate\Database\Eloquent\Model::incrementOrDecrement 2 129 µs 121 µs 1,616 bytes bytes 2,183 µs 1,041 µs 9,880 bytes bytes
App\Models\Tenant\Voucher::triggerSyncEvent 1 117 µs 115 µs -2,600 bytes bytes 1,048 µs 751 µs 3,272 bytes bytes
Illuminate\Database\Eloquent\Builder::create 1 111 µs 111 µs 3,360 bytes bytes 1,059,473 µs 16,235 µs -69,304 bytes bytes
Carbon\Carbon::getPaddedUnit 36 105 µs 113 µs 1,800 bytes bytes 105 µs 113 µs 1,800 bytes bytes
App\Models\Tenant\Voucher::getExpireTime 1 89 µs 87 µs -376 bytes bytes 139 µs 151 µs 4,744 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 89 µs 91 µs 792 bytes bytes 89 µs 91 µs 792 bytes bytes
load::settings/customers_php 2 85 µs 86 µs 10,048 bytes bytes 85 µs 86 µs 10,048 bytes bytes
load::settings/status_page_notifications_php 3 82 µs 83 µs 16,976 bytes bytes 82 µs 83 µs 16,976 bytes bytes
App\Models\Tenant\Voucher::customer 1 74 µs 74 µs 8,808 bytes bytes 74 µs 74 µs 8,808 bytes bytes
Illuminate\Database\Eloquent\Model::Illuminate\Database\Eloquent\… 2 71 µs 74 µs 1,384 bytes bytes 71 µs 74 µs 1,384 bytes bytes
Carbon\Carbon::utc 12 59 µs 68 µs 552 bytes bytes 59 µs 68 µs 552 bytes bytes
App\Models\Tenant\Voucher::macs 1 55 µs 252 µs 4,584 bytes bytes 55 µs 252 µs 4,584 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 52 µs 90 µs 6,032 bytes bytes 52 µs 90 µs 6,032 bytes bytes
App\Services\Vouchers\ExpirationSyncer::App\Services\Vouchers\{cl… 1 51 µs 46 µs -3,240 bytes bytes 2,249 µs 1,387 µs 13,816 bytes bytes
Illuminate\Database\Eloquent\Model::serializeDate 12 50 µs 53 µs 3,160 bytes bytes 866 µs 871 µs 8,128 bytes bytes
Illuminate\Cache\TaggedCache::event 4 45 µs 38 µs 1,296 bytes bytes 53 µs 51 µs 2,448 bytes bytes
Illuminate\Cache\RedisTagSet::addEntry 1 44 µs 42 µs -984 bytes bytes 554 µs 152 µs 9,560 bytes bytes
Carbon\Carbon::toJSON 12 40 µs 35 µs -7,896 bytes bytes 816 µs 818 µs 4,968 bytes bytes
App\Models\Tenant\Voucher::triggerExpirationSync 1 39 µs 31 µs 760 bytes bytes 1,053,719 µs 12,302 µs -110,856 bytes bytes
load::settings/splynx_integration_php 2 37 µs 39 µs 12,752 bytes bytes 37 µs 39 µs 12,752 bytes bytes
load::settings/portal_php 2 36 µs 37 µs 6,368 bytes bytes 36 µs 37 µs 6,368 bytes bytes
load::settings/finance_notifications_php 2 35 µs 37 µs 8,944 bytes bytes 35 µs 37 µs 8,944 bytes bytes
load::settings/voucher_limit_notifications_php 2 35 µs 39 µs 12,080 bytes bytes 35 µs 39 µs 12,080 bytes bytes
App\Models\Tenant\VoucherSerie::isRestoring 1 34 µs 33 µs 664 bytes bytes 36 µs 36 µs 1,264 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogEvent 1 34 µs 34 µs 696 bytes bytes 70 µs 70 µs 1,960 bytes bytes
App\Models\Tenant\VoucherSerie::initializeSoftDeletes 6 33 µs 28 µs 1,960 bytes bytes 52 µs 55 µs 2,592 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 32 µs 32 µs 1,048 bytes bytes 32 µs 32 µs 1,048 bytes bytes
Illuminate\Cache\TaggedCache::taggedItemKey 3 31 µs 12 µs 792 bytes bytes 54 µs 56 µs 2,784 bytes bytes
App\Models\Tenant\VoucherSerie::eventsToBeRecorded 2 29 µs 30 µs 1,256 bytes bytes 29 µs 30 µs 1,256 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 27 µs 24 µs 768 bytes bytes 3,107 µs 838 µs 5,408 bytes bytes
Carbon\CarbonInterval::fromString 2 26 µs 23 µs 2,024 bytes bytes 44 µs 44 µs 4,728 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::getActivitylogOptions 4 26 µs 24 µs 6,384 bytes bytes 34 µs 37 µs 7,584 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 26 24 µs 30 µs 632 bytes bytes 24 µs 30 µs 632 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::buildIdentityKey 1 23 µs 24 µs 688 bytes bytes 23 µs 24 µs 688 bytes bytes
App\Models\Tenant\VoucherSerie::getDeletedAtColumn 14 22 µs 32 µs 1,864 bytes bytes 22 µs 32 µs 1,864 bytes bytes
Carbon\Carbon::avoidMutation 12 20 µs 28 µs 9,112 bytes bytes 20 µs 28 µs 9,112 bytes bytes
App\Services\RedirectFlow\VoucherCreator::getSeriePrefixByPlan 1 18 µs 18 µs 672 bytes bytes 18 µs 18 µs 672 bytes bytes
App\Models\Tenant\Voucher::getActivitylogOptions 3 17 µs 14 µs 2,032 bytes bytes 24 µs 26 µs 3,232 bytes bytes
App\Models\Tenant\VoucherSerie::attributesToBeLogged 3 17 µs 16 µs 1,136 bytes bytes 58 µs 60 µs 4,400 bytes bytes
Illuminate\Cache\Repository::tags 2 16 µs 14 µs 760 bytes bytes 36 µs 37 µs 4,848 bytes bytes
Carbon\CarbonInterval::__construct 2 16 µs 17 µs 1,288 bytes bytes 16 µs 17 µs 1,288 bytes bytes
Carbon\Carbon::rawAddUnit 2 16 µs 29 µs -872 bytes bytes 68 µs 82 µs 4,976 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::tryLock 1 16 µs 15 µs 520 bytes bytes 1,783 µs 623 µs 24,416 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogUnguarded 3 16 µs 17 µs 632 bytes bytes 16 µs 17 µs 632 bytes bytes
Illuminate\Cache\TagSet::tagIds 4 15 µs 13 µs 2,080 bytes bytes 20 µs 19 µs 2,840 bytes bytes
Carbon\Carbon::addUnit 2 15 µs 14 µs 4,176 bytes bytes 83 µs 96 µs 9,152 bytes bytes
App\Models\Tenant\Voucher::shouldLogEvent 1 15 µs 13 µs 696 bytes bytes 23 µs 23 µs 6,912 bytes bytes
Carbon\Carbon::getIsoUnits 12 15 µs 22 µs 552 bytes bytes 15 µs 22 µs 552 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::__construct 1 14 µs 16 µs 1,344 bytes bytes 14 µs 16 µs 1,344 bytes bytes
Illuminate\Database\Query\Builder::increment 2 14 µs 11 µs 464 bytes bytes 1,964 µs 822 µs 5,552 bytes bytes
App\Models\Tenant\Voucher::attributesToBeLogged 2 13 µs µs 1,088 bytes bytes 27 µs 27 µs 2,736 bytes bytes
Illuminate\Database\Eloquent\Builder::increment 2 11 µs 11 µs 696 bytes bytes 1,975 µs 833 µs 6,248 bytes bytes
Illuminate\Routing\UrlGenerator::Stancl\Tenancy\Bootstrappers\{cl… 3 10 µs 12 µs 1,136 bytes bytes 10 µs 12 µs 1,136 bytes bytes
Illuminate\Cache\RedisStore::tags 2 10 µs µs 1,752 bytes bytes 16 µs 17 µs 2,920 bytes bytes
Illuminate\Database\Eloquent\Model::increment 2 10 µs 10 µs 1,360 bytes bytes 2,193 µs 1,051 µs 11,240 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handleVouc… 1 10 µs 10 µs 584 bytes bytes 3,103 µs 1,926 µs 8,560 bytes bytes
Xhgui\Profiler\Profiler::disable 1 10 µs 10 µs 776 bytes bytes 17 µs 18 µs 1,944 bytes bytes
Illuminate\Cache\TaggedCache::itemKey 3 µs µs 1,232 bytes bytes 63 µs 62 µs 4,016 bytes bytes
App\Models\Tenant\VoucherSerie::getQualifiedDeletedAtColumn 1 µs µs 752 bytes bytes 10 µs 10 µs 1,384 bytes bytes
Spatie\Activitylog\LogOptions::logFillable 7 µs 12 µs 1,200 bytes bytes µs 12 µs 1,200 bytes bytes
App\Models\Tenant\Voucher::getLogNameToUse 1 µs 10 µs 632 bytes bytes µs 10 µs 632 bytes bytes
Illuminate\Database\Connection::raw 2 µs 10 µs 760 bytes bytes 11 µs 13 µs 1,344 bytes bytes
App\Models\Tenant\Voucher::isRestoring 1 µs 10 µs 6,216 bytes bytes µs 10 µs 6,216 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 13 µs 632 bytes bytes µs 13 µs 632 bytes bytes
Illuminate\Database\Query\Builder::raw 2 µs µs 664 bytes bytes 19 µs 21 µs 2,008 bytes bytes
App\Services\Vouchers\ExpirationSyncer::createKafkaMessage 1 µs µs 880 bytes bytes 3,416 µs 2,215 µs -109,120 bytes bytes
App\Models\Tenant\VoucherSerie::getLogNameToUse 1 µs 10 µs 632 bytes bytes µs 10 µs 632 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 µs µs -1,024 bytes bytes 2,251 µs 1,431 µs 5,824 bytes bytes
Illuminate\Cache\TagSet::getNamespace 3 µs 29 µs bytes bytes 23 µs 44 µs 1,992 bytes bytes
Spatie\Activitylog\LogOptions::logOnlyDirty 7 µs 13 µs 1,200 bytes bytes µs 13 µs 1,200 bytes bytes
Xhgui\Profiler\Profiler::registerShutdownHandler 1 µs µs 1,200 bytes bytes µs µs 1,200 bytes bytes
Illuminate\Cache\RedisTagSet::tagId 4 µs µs 760 bytes bytes µs µs 760 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
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handle 1 µs µs 696 bytes bytes 3,108 µs 1,932 µs 9,256 bytes bytes
Xhgui\Profiler\ProfilingData::__construct 1 µ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
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
Carbon\Carbon::rawAdd 2 µs µs 552 bytes bytes µs µs 552 bytes bytes
App\Providers\GoRendererServiceProvider::App\Providers\{closure} 1 µs µs 752 bytes bytes µs µs 1,384 bytes bytes
Carbon\Carbon::getMagicParameter 2 µs µs 1,168 bytes bytes µs µs 1,168 bytes bytes
Illuminate\Database\Eloquent\Relations\Pivot::getUpdatedAtColumn 2 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Models\VoucherExpireSchedule::getEmptyWorkerValues 1 µs µs 1,224 bytes bytes µs µs 1,224 bytes bytes
Illuminate\Database\Query\Expression::getValue 2 µs µs 600 bytes bytes µs µs 600 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
App\Services\RedirectFlow\Plans\BuyMutex::__construct 1 µs µs 568 bytes bytes µs µs 568 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\Repository::setDefaultCacheTime 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
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::__construct 2 µs µs 584 bytes bytes µs µs 584 bytes bytes
App\Events\Voucher\VoucherActivated::__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\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
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
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
App\Services\Templates\GoRenderer::__construct 1 µs µs 632 bytes bytes µs µs 632 bytes bytes