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

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,563,830 µs
App\Events\Voucher\VoucherExpirationTrack::handle
1,043,262 µs
App\Services\RedirectFlow\VoucherCreator::createVoucher
16,081 µs
main()
15,128 µs
App\Listeners\Voucher\SendStatusPageSmsNotification::handle
8,085 µs
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderPlan
7,287 µs

Memory Hogs

App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan
105,312 bytes
load::settings/localization_php
95,208 bytes
load::Tenant/VoucherSerie_php
48,416 bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity
44,768 bytes
load::Models/VoucherExpireSchedule_php
38,512 bytes
load::RedirectFlow/VoucherCreator_php
34,968 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,563,830 µs 2,652 µs 44,768 bytes bytes 1,568,882 µs 7,681 µs 77,048 bytes bytes
App\Events\Voucher\VoucherExpirationTrack::handle 1 1,043,262 µs 12,686 µs -2,016 bytes bytes 1,049,187 µs 17,633 µs -78,232 bytes bytes
App\Services\RedirectFlow\VoucherCreator::createVoucher 1 16,081 µs 9,417 µs 3,776 bytes bytes 2,678,292 µs 53,702 µs 390,112 bytes bytes
main() 1 15,128 µs 7,467 µs -7,208 bytes bytes 2,705,865 µs 67,739 µs 618,016 bytes bytes
App\Listeners\Voucher\SendStatusPageSmsNotification::handle 1 8,085 µs 5,955 µs -2,576 bytes bytes 8,784 µs 6,955 µs 104,000 bytes bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderP… 1 7,287 µs 3,375 µs -36,048 bytes bytes 2,689,778 µs 59,305 µs 514,072 bytes bytes
App\Services\Vouchers\CodeGenerator::getCodeLength 1 6,671 µs 287 µs -5,352 bytes bytes 6,734 µs 351 µs 1,704 bytes bytes
App\Services\Vouchers\CodeGenerator::checkIfCodeExists 1 5,796 µs 330 µs 1,136 bytes bytes 5,796 µs 330 µs 1,136 bytes bytes
App\Models\Tenant\Voucher::attributeValuesToBeLogged 1 4,952 µs 503 µs 2,080 bytes bytes 5,359 µs 912 µs 14,528 bytes bytes
Illuminate\Database\Eloquent\Relations\HasMany::getResults 1 4,313 µs 2,069 µs 1,288 bytes bytes 4,313 µs 2,069 µs 1,288 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 4,199 µs 2,456 µs 2,464 bytes bytes 4,238 µs 2,497 µs 3,512 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 6 3,016 µs 3,653 µs 12,176 bytes bytes 5,067 µs 5,048 µs 40,656 bytes bytes
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan 1 2,552 µs 629 µs 105,312 bytes bytes 2,922 µs 1,005 µs 174,600 bytes bytes
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure} 1 2,181 µs 2,328 µs 7,240 bytes bytes 7,629 µs 3,332 µs 25,768 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlan… 1 2,121 µs 447 µs 2,064 bytes bytes 2,121 µs 447 µs 2,064 bytes bytes
App\Services\Vouchers\ExpirationSyncer::App\Services\Vouchers\{cl… 1 2,009 µs 1,884 µs -680 bytes bytes 3,550 µs 2,434 µs 47,192 bytes bytes
App\Services\Vouchers\ExpirationSyncer::getWorkerIndex 1 1,854 µs 1,993 µs -123,952 bytes bytes 5,412 µs 4,435 µs -76,208 bytes bytes
Illuminate\Database\Eloquent\Builder::firstOrNew 1 1,379 µs 386 µs 6,128 bytes bytes 1,379 µs 386 µs 6,128 bytes bytes
App\Models\Tenant\VoucherSerie::attributeValuesToBeLogged 1 1,224 µs 548 µs -232 bytes bytes 1,491 µs 828 µs 10,304 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handleVouc… 1 1,061 µs 444 µs -584 bytes bytes 5,402 µs 3,046 µs 6,688 bytes bytes
App\Services\Vouchers\CodeGenerator::getChars 1 915 µs 270 µs -5,256 bytes bytes 955 µs 311 µs 1,800 bytes bytes
App\Models\Tenant\VoucherSerie::logChanges 2 606 µs 609 µs 11,680 bytes bytes 636 µs 641 µs 14,120 bytes bytes
load::settings/localization_php 3 398 µs 481 µs 95,208 bytes bytes 398 µs 481 µs 95,208 bytes bytes
App\Models\Tenant\Voucher::logChanges 1 384 µs 384 µs 9,712 bytes bytes 395 µs 396 µs 10,520 bytes bytes
load::Voucher/SendStatusPageSmsNotification_php 1 321 µs 322 µs 31,504 bytes bytes 321 µs 322 µs 31,504 bytes bytes
load::RedirectFlow/VoucherCreator_php 1 317 µs 319 µs 34,968 bytes bytes 317 µs 319 µs 34,968 bytes bytes
Stancl\Tenancy\CacheManager::__call 2 312 µs 187 µs 1,800 bytes bytes 1,420 µs 1,120 µs 78,200 bytes bytes
App\Models\Tenant\Voucher::triggerSyncEvent 1 275 µs 273 µs -2,600 bytes bytes 4,640 µs 2,394 µs 3,648 bytes bytes
load::Tenant/VoucherSerie_php 1 269 µs 270 µs 48,416 bytes bytes 269 µs 270 µs 48,416 bytes bytes
load::TrialSessions/TrialSessionsMaker_php 1 235 µs 235 µs 16,584 bytes bytes 235 µs 235 µs 16,584 bytes bytes
load::src/ProfilingData_php 1 232 µs 234 µs 18,784 bytes bytes 232 µs 234 µs 18,784 bytes bytes
App\Services\Vouchers\ExpirationSyncer::syncVoucher 1 231 µs 230 µs -7,080 bytes bytes 5,925 µs 4,947 µs -76,216 bytes bytes
load::settings/finance_php 4 177 µs 179 µs 28,192 bytes bytes 177 µs 179 µs 28,192 bytes bytes
Illuminate\Redis\Connections\PhpRedisConnection::zadd 1 169 µs 60 µs 848 bytes bytes 169 µs 60 µs 848 bytes bytes
load::Voucher/ActivatedVoucherStatisticUpdate_php 1 161 µs 162 µs 7,760 bytes bytes 161 µs 162 µs 7,760 bytes bytes
App\Models\Tenant\Voucher::getExpireTime 1 151 µs 151 µs 272 bytes bytes 211 µs 212 µs 3,496 bytes bytes
load::Templates/GoRenderer_php 1 151 µs 151 µs 18,840 bytes bytes 151 µs 151 µs 18,840 bytes bytes
load::Vouchers/NextReactivateTimeCalculator_php 1 145 µs 110 µs 7,392 bytes bytes 145 µs 110 µs 7,392 bytes bytes
Illuminate\Cache\RedisTagSet::addEntry 1 142 µs 139 µs -952 bytes bytes 422 µs 313 µs 9,712 bytes bytes
load::settings/captive_portal_php 2 139 µs 141 µs 14,880 bytes bytes 139 µs 141 µs 14,880 bytes bytes
Illuminate\Cache\RedisTaggedCache::put 1 136 µs 65 µs 536 bytes bytes 601 µs 424 µs 11,608 bytes bytes
load::settings/customers_php 2 132 µs 136 µs 10,048 bytes bytes 132 µs 136 µs 10,048 bytes bytes
load::Cache/RedisTaggedCache_php 1 119 µs 119 µs 16,136 bytes bytes 119 µs 119 µs 16,136 bytes bytes
load::Models/VoucherExpireSchedule_php 1 117 µs 118 µs 38,512 bytes bytes 117 µs 118 µs 38,512 bytes bytes
load::Voucher/VoucherActivated_php 1 116 µs 116 µs 3,368 bytes bytes 116 µs 116 µs 3,368 bytes bytes
load::Cache/RedisTagSet_php 1 112 µs 112 µs 19,104 bytes bytes 112 µs 112 µs 19,104 bytes bytes
load::Voucher/VoucherTimeExpirationSync_php 1 110 µs 111 µs 3,304 bytes bytes 110 µs 111 µs 3,304 bytes bytes
load::AggregatedData/ActivatedVouchersAggregatedStatistics_php 1 103 µs 105 µs 3,760 bytes bytes 103 µs 105 µs 3,760 bytes bytes
load::Vouchers/CodeGenerator_php 1 102 µs 102 µs 7,296 bytes bytes 102 µs 102 µs 7,296 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 102 µs 109 µs 792 bytes bytes 102 µs 109 µs 792 bytes bytes
App\Models\Tenant\Voucher::customer 1 92 µs 93 µs 8,808 bytes bytes 92 µs 93 µs 8,808 bytes bytes
load::settings/status_page_notifications_php 3 90 µs 191 µs 16,976 bytes bytes 90 µs 191 µs 16,976 bytes bytes
App\Models\Tenant\Voucher::triggerExpirationSync 1 87 µs 81 µs -1,552 bytes bytes 1,049,452 µs 17,893 µs -72,872 bytes bytes
load::OrderProcess/UserInfo_php 1 81 µs 81 µs 2,496 bytes bytes 81 µs 81 µs 2,496 bytes bytes
load::Plans/BuyMutex_php 1 79 µs 80 µs 7,296 bytes bytes 79 µs 80 µs 7,296 bytes bytes
Carbon\CarbonInterval::fromString 2 79 µs 77 µs 2,056 bytes bytes 100 µs 103 µs 4,440 bytes bytes
load::Voucher/VoucherExpirationTrack_php 1 66 µs 66 µs 2,976 bytes bytes 66 µs 66 µs 2,976 bytes bytes
load::Cache/TaggedCache_php 1 61 µs 62 µs 12,584 bytes bytes 61 µs 62 µs 12,584 bytes bytes
load::Cache/TagSet_php 1 59 µs 60 µs 12,576 bytes bytes 59 µs 60 µs 12,576 bytes bytes
App\Models\Tenant\Voucher::shouldLogEvent 1 57 µs 57 µs 696 bytes bytes 68 µs 69 µs 1,280 bytes bytes
load::Expiration/ExpirationSyncerPackage_php 1 57 µs 58 µs 2,696 bytes bytes 57 µs 58 µs 2,696 bytes bytes
App\Models\Tenant\Voucher::macs 1 52 µs 52 µs 4,960 bytes bytes 52 µs 52 µs 4,960 bytes bytes
load::settings/voucher_limit_notifications_php 2 50 µs 162 µs 12,080 bytes bytes 50 µs 162 µs 12,080 bytes bytes
Illuminate\Cache\RedisStore::tags 2 49 µs 60 µs -5,088 bytes bytes 406 µs 420 µs 56,480 bytes bytes
load::settings/splynx_integration_php 2 47 µs 49 µs 12,752 bytes bytes 47 µs 49 µs 12,752 bytes bytes
Illuminate\Cache\Repository::tags 2 45 µs 30 µs 760 bytes bytes 458 µs 459 µs 58,408 bytes bytes
load::settings/finance_notifications_php 2 44 µs 46 µs 8,944 bytes bytes 44 µs 46 µs 8,944 bytes bytes
Illuminate\Cache\TaggedCache::event 4 41 µs 38 µs 1,296 bytes bytes 48 µs 50 µs 2,448 bytes bytes
App\Models\VoucherExpireSchedule::getMinWorkerIndex 1 41 µs 41 µs 2,008 bytes bytes 41 µs 41 µs 2,008 bytes bytes
App\Models\Tenant\VoucherSerie::eventsToBeRecorded 3 39 µs 43 µs 6,264 bytes bytes 39 µs 43 µs 6,264 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogEvent 1 39 µs 37 µs 696 bytes bytes 77 µs 77 µs 1,960 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 39 µs 41 µs 1,048 bytes bytes 39 µs 41 µs 1,048 bytes bytes
load::settings/portal_php 2 36 µs 37 µs 6,368 bytes bytes 36 µs 37 µs 6,368 bytes bytes
App\Models\Tenant\VoucherSerie::initializeSoftDeletes 6 35 µs 27 µs 7,592 bytes bytes 54 µs 57 µs 8,224 bytes bytes
App\Models\Tenant\VoucherSerie::isRestoring 1 35 µs 37 µs 664 bytes bytes 38 µs 40 µs 1,264 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 31 µs 26 µs 768 bytes bytes 13,516 µs 1,018 µs 5,408 bytes bytes
Xhgui\Profiler\Profiler::disable 1 31 µs 27 µs -4,224 bytes bytes 271 µs 270 µs 15,728 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::buildIdentityKey 1 28 µs 28 µs 688 bytes bytes 28 µs 28 µs 688 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 26 27 µs 32 µs 632 bytes bytes 27 µs 32 µs 632 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::__construct 1 26 µs 27 µs 1,344 bytes bytes 26 µs 27 µs 1,344 bytes bytes
Carbon\Carbon::rawAddUnit 2 23 µs 19 µs -872 bytes bytes 134 µs 136 µs 4,688 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 23 µs 23 µs 1,728 bytes bytes 23 µs 23 µs 1,728 bytes bytes
App\Models\Tenant\VoucherSerie::attributesToBeLogged 3 23 µs 23 µs 1,136 bytes bytes 38 µs 42 µs 3,072 bytes bytes
Carbon\Carbon::addUnit 2 20 µs 19 µs 4,176 bytes bytes 154 µs 155 µs 8,864 bytes bytes
Carbon\CarbonInterval::__construct 2 19 µs 22 µs 2,248 bytes bytes 19 µs 22 µs 2,248 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::tryLock 1 18 µs 16 µs 600 bytes bytes 1,466 µs 1,164 µs 79,488 bytes bytes
App\Models\Tenant\Voucher::attributesToBeLogged 2 16 µs 15 µs 1,088 bytes bytes 23 µs 25 µs 2,736 bytes bytes
Illuminate\Routing\UrlGenerator::Stancl\Tenancy\Bootstrappers\{cl… 3 15 µs 15 µs 1,136 bytes bytes 15 µs 15 µs 1,136 bytes bytes
Illuminate\Cache\TagSet::tagIds 4 15 µs 15 µs 2,080 bytes bytes 20 µs 21 µs 4,120 bytes bytes
App\Models\Tenant\VoucherSerie::bootLogsActivity 1 15 µs 11 µs 448 bytes bytes 41 µs 42 µs 9,736 bytes bytes
App\Services\Vouchers\ExpirationSyncer::createKafkaMessage 1 14 µs 12 µs 880 bytes bytes 5,426 µs 4,447 µs -75,328 bytes bytes
App\Models\Tenant\VoucherSerie::getActivitylogOptions 4 14 µs 17 µs 2,160 bytes bytes 14 µs 17 µs 2,160 bytes bytes
App\Providers\GoRendererServiceProvider::App\Providers\{closure} 1 14 µs 15 µs -4,232 bytes bytes 167 µs 168 µs 15,240 bytes bytes
Illuminate\Cache\TaggedCache::taggedItemKey 3 12 µs 11 µs 792 bytes bytes 37 µs 38 µs 4,064 bytes bytes
App\Models\Tenant\Voucher::isRestoring 1 11 µs 12 µs 584 bytes bytes 11 µs 12 µs 584 bytes bytes
App\Models\Tenant\Voucher::getLogNameToUse 1 11 µs 11 µs 632 bytes bytes 11 µs 11 µs 632 bytes bytes
App\Models\Tenant\VoucherSerie::getLogNameToUse 1 10 µs 10 µs 632 bytes bytes 10 µs 10 µs 632 bytes bytes
Illuminate\Cache\TagSet::getNamespace 3 µs 11 µs bytes bytes 25 µs 27 µs 3,272 bytes bytes
Carbon\Carbon::isModifiableUnit 2 µs 10 µs 1,576 bytes bytes µs 10 µs 1,576 bytes bytes
App\Models\Tenant\VoucherSerie::getQualifiedDeletedAtColumn 1 µs µs 752 bytes bytes 10 µs 11 µs 1,384 bytes bytes
App\Models\Tenant\Voucher::getActivitylogOptions 3 µs 13 µs 1,904 bytes bytes µs 13 µs 1,904 bytes bytes
Illuminate\Cache\TaggedCache::itemKey 3 µs µs 1,232 bytes bytes 44 µs 46 µs 5,296 bytes bytes
Carbon\Carbon::rawAdd 2 µs µs 552 bytes bytes µs µs 552 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 2,040 bytes bytes µs µs 2,040 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handle 1 µs µs 696 bytes bytes 5,407 µs 3,051 µs 7,384 bytes bytes
Xhgui\Profiler\ProfilingData::__construct 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
Illuminate\Cache\Repository::supportsTags 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
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\Tenant\Voucher::shouldLogUnguarded 2 µs µs 600 bytes bytes µs µs 600 bytes bytes
App\Models\VoucherExpireSchedule::getEmptyWorkerValues 1 µs µs 1,224 bytes bytes µs µs 1,224 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogUnguarded 3 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Support\Collection::only 1 µs µs 1,072 bytes bytes µs µs 1,072 bytes bytes
App\Dto\BaseData::fromArray 1 µs µs 680 bytes bytes µs µs 680 bytes bytes
Illuminate\Cache\Repository::setDefaultCacheTime 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
App\Models\Tenant\VoucherSerie::bootSoftDeletes 1 µs µs 1,064 bytes bytes µs µs 1,064 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
Xhgui\Profiler\Profilers\XHProf::disable 1 µ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
Carbon\Carbon::getMagicParameter 2 µs µs 1,168 bytes bytes µs µs 1,168 bytes bytes
Carbon\CarbonInterval::withOriginal 2 µs µs 136 bytes bytes µs µs 136 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 632 bytes bytes µs µs 632 bytes bytes
App\Models\Tenant\VoucherSerie::restored 1 µs µs 928 bytes bytes µs µs 928 bytes bytes
App\Listeners\Voucher\VoucherTimeExpirationSync::__construct 1 µ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\Services\Templates\GoRenderer::__construct 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::__construct 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::calc 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\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