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

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,482,139 µs
App\Services\Vouchers\ExpirationSyncer::syncVoucher
1,053,613 µs
App\Services\Vouchers\ExpirationSyncer::getWorkerIndex
1,052,293 µs
main()
13,642 µs
App\Services\RedirectFlow\VoucherCreator::createVoucher
10,063 µs
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderPlan
6,721 µs

Memory Hogs

load::settings/localization_php
95,208 bytes
load::Voucher/ActivatedVoucherStatisticUpdate_php
89,680 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,482,139 µs 2,547 µs 44,768 bytes bytes 1,486,448 µs 6,160 µs 77,048 bytes bytes
App\Services\Vouchers\ExpirationSyncer::syncVoucher 1 1,053,613 µs 11,378 µs -800 bytes bytes 2,109,059 µs 25,207 µs -77,944 bytes bytes
App\Services\Vouchers\ExpirationSyncer::getWorkerIndex 1 1,052,293 µs 12,482 µs -132,696 bytes bytes 1,055,188 µs 13,570 µs -85,224 bytes bytes
main() 1 13,642 µs 5,513 µs -7,968 bytes bytes 3,648,674 µs 58,656 µs 617,904 bytes bytes
App\Services\RedirectFlow\VoucherCreator::createVoucher 1 10,063 µs 6,170 µs 3,616 bytes bytes 3,624,264 µs 47,000 µs 390,120 bytes bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderP… 1 6,721 µs 3,075 µs -36,040 bytes bytes 3,634,338 µs 52,440 µs 514,720 bytes bytes
App\Listeners\Voucher\SendStatusPageSmsNotification::handle 1 3,485 µs 1,614 µs -2,408 bytes bytes 4,074 µs 2,213 µs 104,168 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 6 2,262 µs 2,265 µs 12,176 bytes bytes 4,325 µs 3,632 µs 40,656 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 2,191 µs 638 µs 2,464 bytes bytes 2,217 µs 665 µs 3,512 bytes bytes
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan 1 2,152 µs 584 µs 22,752 bytes bytes 2,549 µs 986 µs 92,680 bytes bytes
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure} 1 1,816 µs 1,879 µs 7,240 bytes bytes 3,646 µs 2,569 µs 25,768 bytes bytes
App\Models\Tenant\Voucher::attributeValuesToBeLogged 1 1,530 µs 383 µs 2,080 bytes bytes 1,788 µs 643 µs 14,528 bytes bytes
App\Services\Vouchers\CodeGenerator::checkIfCodeExists 1 1,502 µs 247 µs 1,136 bytes bytes 1,502 µs 247 µs 1,136 bytes bytes
Illuminate\Database\Eloquent\Builder::firstOrNew 1 1,358 µs 395 µs 6,128 bytes bytes 1,358 µs 395 µs 6,128 bytes bytes
App\Services\Vouchers\ExpirationSyncer::App\Services\Vouchers\{cl… 1 1,296 µs 447 µs -952 bytes bytes 2,884 µs 1,074 µs 46,920 bytes bytes
App\Models\Tenant\VoucherSerie::attributeValuesToBeLogged 1 1,202 µs 494 µs -232 bytes bytes 1,633 µs 932 µs 10,304 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlan… 1 1,143 µs 415 µs 2,064 bytes bytes 1,143 µs 415 µs 2,064 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handleVouc… 1 869 µs 287 µs -584 bytes bytes 3,153 µs 1,021 µs 6,688 bytes bytes
App\Services\Vouchers\CodeGenerator::getChars 1 855 µs 235 µs -5,256 bytes bytes 895 µs 275 µs 1,800 bytes bytes
Illuminate\Database\Eloquent\Relations\HasMany::getResults 1 833 µs 418 µs 1,288 bytes bytes 833 µs 418 µs 1,288 bytes bytes
App\Services\Vouchers\CodeGenerator::getCodeLength 1 805 µs 239 µs -5,352 bytes bytes 843 µs 279 µs 1,704 bytes bytes
App\Models\Tenant\VoucherSerie::logChanges 2 411 µs 412 µs 11,680 bytes bytes 437 µs 438 µs 14,120 bytes bytes
load::RedirectFlow/VoucherCreator_php 1 297 µs 298 µs 34,968 bytes bytes 297 µs 298 µs 34,968 bytes bytes
Stancl\Tenancy\CacheManager::__call 2 296 µs 222 µs 1,800 bytes bytes 1,536 µs 1,272 µs 78,832 bytes bytes
load::settings/localization_php 3 292 µs 296 µs 95,208 bytes bytes 292 µs 296 µs 95,208 bytes bytes
load::Tenant/VoucherSerie_php 1 288 µs 289 µs 48,416 bytes bytes 288 µs 289 µs 48,416 bytes bytes
load::Voucher/SendStatusPageSmsNotification_php 1 265 µs 267 µs 31,504 bytes bytes 265 µs 267 µs 31,504 bytes bytes
App\Models\Tenant\Voucher::logChanges 1 237 µs 238 µs 9,712 bytes bytes 248 µs 249 µs 10,520 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 26 199 µs 204 µs 632 bytes bytes 199 µs 204 µs 632 bytes bytes
load::Models/VoucherExpireSchedule_php 1 186 µs 186 µs 38,512 bytes bytes 186 µs 186 µs 38,512 bytes bytes
load::Templates/GoRenderer_php 1 185 µs 186 µs 18,840 bytes bytes 185 µs 186 µs 18,840 bytes bytes
Illuminate\Redis\Connections\PhpRedisConnection::zadd 1 183 µs 62 µs 848 bytes bytes 183 µs 62 µs 848 bytes bytes
load::src/ProfilingData_php 1 183 µs 185 µs 18,784 bytes bytes 183 µs 185 µs 18,784 bytes bytes
Illuminate\Cache\RedisTagSet::addEntry 1 173 µs 169 µs -952 bytes bytes 471 µs 350 µs 9,712 bytes bytes
load::TrialSessions/TrialSessionsMaker_php 1 165 µs 166 µs 16,584 bytes bytes 165 µs 166 µs 16,584 bytes bytes
load::Cache/RedisTaggedCache_php 1 154 µs 156 µs 16,136 bytes bytes 154 µs 156 µs 16,136 bytes bytes
App\Models\Tenant\Voucher::triggerSyncEvent 1 140 µs 139 µs -2,600 bytes bytes 1,025 µs 858 µs 3,648 bytes bytes
Illuminate\Cache\RedisTaggedCache::put 1 139 µs 68 µs 536 bytes bytes 658 µs 466 µs 11,608 bytes bytes
load::settings/finance_php 4 127 µs 130 µs 28,192 bytes bytes 127 µs 130 µs 28,192 bytes bytes
load::Cache/RedisTagSet_php 1 118 µs 119 µs 19,104 bytes bytes 118 µs 119 µs 19,104 bytes bytes
load::Voucher/ActivatedVoucherStatisticUpdate_php 1 108 µs 109 µs 89,680 bytes bytes 108 µs 109 µs 89,680 bytes bytes
load::Voucher/VoucherActivated_php 1 101 µs 102 µs 3,368 bytes bytes 101 µs 102 µs 3,368 bytes bytes
App\Models\Tenant\Voucher::getExpireTime 1 100 µs 99 µs 272 bytes bytes 158 µs 159 µs 3,496 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 98 µs 102 µs 792 bytes bytes 98 µs 102 µs 792 bytes bytes
load::Plans/BuyMutex_php 1 95 µs 97 µs 7,296 bytes bytes 95 µs 97 µs 7,296 bytes bytes
load::settings/captive_portal_php 2 94 µs 96 µs 14,880 bytes bytes 94 µs 96 µs 14,880 bytes bytes
load::Cache/TaggedCache_php 1 90 µs 91 µs 12,584 bytes bytes 90 µs 91 µs 12,584 bytes bytes
load::Vouchers/NextReactivateTimeCalculator_php 1 88 µs 89 µs 7,392 bytes bytes 88 µs 89 µs 7,392 bytes bytes
load::Vouchers/CodeGenerator_php 1 81 µs 82 µs 7,296 bytes bytes 81 µs 82 µs 7,296 bytes bytes
Carbon\CarbonInterval::fromString 2 78 µs 76 µs 2,056 bytes bytes 101 µs 102 µs 4,440 bytes bytes
App\Models\Tenant\Voucher::customer 1 77 µs 78 µs 8,808 bytes bytes 77 µs 78 µs 8,808 bytes bytes
load::settings/status_page_notifications_php 3 76 µs 78 µs 16,976 bytes bytes 76 µs 78 µs 16,976 bytes bytes
load::settings/customers_php 2 72 µs 73 µs 10,048 bytes bytes 72 µs 73 µs 10,048 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::buildIdentityKey 1 70 µs 71 µs 688 bytes bytes 70 µs 71 µs 688 bytes bytes
load::OrderProcess/UserInfo_php 1 68 µs 68 µs 2,496 bytes bytes 68 µs 68 µs 2,496 bytes bytes
load::Voucher/VoucherTimeExpirationSync_php 1 67 µs 67 µs 3,304 bytes bytes 67 µs 67 µs 3,304 bytes bytes
App\Models\Tenant\Voucher::triggerExpirationSync 1 67 µs 66 µs -1,552 bytes bytes 2,109,268 µs 25,412 µs -72,872 bytes bytes
load::AggregatedData/ActivatedVouchersAggregatedStatistics_php 1 67 µs 69 µs 3,760 bytes bytes 67 µs 69 µs 3,760 bytes bytes
App\Models\Tenant\VoucherSerie::eventsToBeRecorded 3 65 µs 67 µs 2,168 bytes bytes 65 µs 67 µs 2,168 bytes bytes
Illuminate\Cache\RedisStore::tags 2 64 µs 58 µs -5,088 bytes bytes 494 µs 495 µs 56,480 bytes bytes
load::Cache/TagSet_php 1 61 µs 62 µs 12,576 bytes bytes 61 µs 62 µs 12,576 bytes bytes
load::Expiration/ExpirationSyncerPackage_php 1 57 µs 57 µs 2,696 bytes bytes 57 µs 57 µs 2,696 bytes bytes
load::Voucher/VoucherExpirationTrack_php 1 54 µs 55 µs 2,976 bytes bytes 54 µs 55 µs 2,976 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogEvent 1 53 µs 52 µs 696 bytes bytes 107 µs 107 µs 1,960 bytes bytes
App\Models\Tenant\Voucher::macs 1 52 µs 301 µs 4,960 bytes bytes 52 µs 301 µs 4,960 bytes bytes
App\Models\Tenant\VoucherSerie::isRestoring 1 51 µs 51 µs 664 bytes bytes 54 µs 55 µs 1,264 bytes bytes
Illuminate\Cache\TaggedCache::event 4 42 µs 41 µs 1,296 bytes bytes 53 µs 54 µs 2,448 bytes bytes
App\Models\Tenant\VoucherSerie::initializeSoftDeletes 6 42 µs 33 µs 6,056 bytes bytes 62 µs 65 µs 12,320 bytes bytes
load::settings/splynx_integration_php 2 40 µs 42 µs 12,752 bytes bytes 40 µs 42 µs 12,752 bytes bytes
App\Models\VoucherExpireSchedule::getMinWorkerIndex 1 40 µs 41 µs 2,008 bytes bytes 40 µs 41 µs 2,008 bytes bytes
load::settings/finance_notifications_php 2 37 µs 38 µs 8,944 bytes bytes 37 µs 38 µs 8,944 bytes bytes
load::settings/voucher_limit_notifications_php 2 35 µs 36 µs 12,080 bytes bytes 35 µs 36 µs 12,080 bytes bytes
Junges\Kafka\Factory::publish 1 32 µs 33 µs 1,008 bytes bytes 32 µs 33 µs 1,008 bytes bytes
load::settings/portal_php 2 31 µs 32 µs 6,368 bytes bytes 31 µs 32 µs 6,368 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 26 µs 26 µs 768 bytes bytes 3,266 µs 827 µs 5,408 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
Xhgui\Profiler\Profiler::disable 1 26 µs 23 µs -4,224 bytes bytes 218 µs 219 µs 15,728 bytes bytes
Carbon\Carbon::addUnit 2 25 µs 24 µs 4,176 bytes bytes 157 µs 158 µs 8,864 bytes bytes
Illuminate\Cache\Repository::tags 2 24 µs 20 µs 760 bytes bytes 525 µs 525 µs 58,408 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::tryLock 1 24 µs 23 µs 600 bytes bytes 1,630 µs 1,366 µs 80,120 bytes bytes
App\Models\Tenant\VoucherSerie::getDeletedAtColumn 14 24 µs 38 µs 7,496 bytes bytes 24 µs 38 µs 7,496 bytes bytes
App\Services\RedirectFlow\VoucherCreator::getSeriePrefixByPlan 1 23 µs 24 µs 2,368 bytes bytes 23 µs 24 µs 2,368 bytes bytes
Carbon\Carbon::rawAddUnit 2 22 µs 20 µs -872 bytes bytes 132 µs 134 µs 4,688 bytes bytes
App\Models\Tenant\VoucherSerie::attributesToBeLogged 3 22 µs 20 µs 1,136 bytes bytes 35 µs 36 µs 3,072 bytes bytes
Carbon\CarbonInterval::__construct 2 19 µs 20 µs 2,248 bytes bytes 19 µs 20 µs 2,248 bytes bytes
App\Events\Voucher\VoucherExpirationTrack::handle 1 19 µs 15 µs -288 bytes bytes 2,109,078 µs 25,222 µs -78,232 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::__construct 1 18 µs 19 µs 1,344 bytes bytes 18 µs 19 µs 1,344 bytes bytes
Illuminate\Routing\UrlGenerator::Stancl\Tenancy\Bootstrappers\{cl… 3 16 µs 20 µs 1,136 bytes bytes 16 µs 20 µs 1,136 bytes bytes
App\Models\Tenant\Voucher::shouldLogEvent 1 16 µs 17 µs 696 bytes bytes 26 µs 27 µs 1,280 bytes bytes
App\Models\Tenant\Voucher::attributesToBeLogged 2 16 µs 14 µs 1,088 bytes bytes 21 µs 22 µs 2,736 bytes bytes
Illuminate\Cache\TagSet::tagIds 4 15 µs 13 µs 2,080 bytes bytes 21 µs 22 µs 4,120 bytes bytes
App\Models\Tenant\VoucherSerie::bootLogsActivity 1 15 µs 11 µs 448 bytes bytes 43 µs 43 µs 9,736 bytes bytes
App\Providers\GoRendererServiceProvider::App\Providers\{closure} 1 15 µs 14 µs -4,232 bytes bytes 201 µs 202 µs 15,240 bytes bytes
Illuminate\Cache\TagSet::getNamespace 3 12 µs 12 µs bytes bytes 29 µs 30 µs 3,272 bytes bytes
Illuminate\Cache\TaggedCache::taggedItemKey 3 11 µs 12 µs 792 bytes bytes 40 µs 42 µs 4,064 bytes bytes
App\Services\Vouchers\ExpirationSyncer::createKafkaMessage 1 11 µs 10 µs 880 bytes bytes 1,055,199 µs 13,580 µs -84,344 bytes bytes
App\Models\Tenant\VoucherSerie::getActivitylogOptions 4 11 µs 15 µs 2,160 bytes bytes 11 µs 15 µs 2,160 bytes bytes
App\Models\Tenant\VoucherSerie::getLogNameToUse 1 11 µs 11 µs 632 bytes bytes 11 µs 11 µs 632 bytes bytes
App\Models\Tenant\Voucher::isRestoring 1 10 µs 10 µs 584 bytes bytes 10 µs 10 µs 584 bytes bytes
Carbon\Carbon::isModifiableUnit 2 µs 11 µs 1,576 bytes bytes µs 11 µs 1,576 bytes bytes
App\Models\Tenant\VoucherSerie::getQualifiedDeletedAtColumn 1 µs µs 752 bytes bytes 10 µs 11 µs 1,384 bytes bytes
Illuminate\Cache\TaggedCache::itemKey 3 µs µs 1,232 bytes bytes 48 µs 49 µs 5,296 bytes bytes
App\Models\Tenant\Voucher::getActivitylogOptions 3 µs 10 µs 1,904 bytes bytes µs 10 µs 1,904 bytes bytes
App\Models\Tenant\Voucher::getLogNameToUse 1 µs µs 632 bytes bytes µs µs 632 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 2,040 bytes bytes µs µs 2,040 bytes bytes
Carbon\Carbon::rawAdd 2 µs µs 552 bytes bytes µs µs 552 bytes bytes
Illuminate\Database\Eloquent\Relations\Pivot::getUpdatedAtColumn 2 µ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
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
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handle 1 µs µs 696 bytes bytes 3,158 µs 1,025 µs 7,384 bytes bytes
Xhgui\Profiler\ProfilingData::__construct 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
App\Dto\BaseData::fromArray 1 µs µs 680 bytes bytes µs µs 680 bytes bytes
Illuminate\Cache\TaggedCache::__construct 2 µs µs 584 bytes bytes µs µs 584 bytes bytes
Carbon\CarbonInterval::withOriginal 2 µs µs 136 bytes bytes µs µs 136 bytes bytes
Illuminate\Cache\Repository::set 1 µs µs 632 bytes bytes 662 µs 470 µs 12,240 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
Xhgui\Profiler\Profilers\XHProf::disable 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\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\VoucherSerie::bootSoftDeletes 1 µs µs 1,064 bytes bytes µs µs 1,064 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::__construct 1 µ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
Carbon\Carbon::getMagicParameter 2 µs µs 1,168 bytes bytes µs µs 1,168 bytes bytes
App\Services\RedirectFlow\VoucherCreator::__construct 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Models\Tenant\Voucher::shouldLogUnguarded 2 µs µs 600 bytes bytes µs µs 600 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
Illuminate\Cache\RedisStore::getPrefix 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
App\Models\Tenant\VoucherSerie::restored 1 µs µs 928 bytes bytes µs µs 928 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\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