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

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,421,498 µs
App\Services\RedirectFlow\VoucherCreator::createVoucher
1,070,431 µs
main()
26,175 µs
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure}
3,656 µs
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan
2,429 µs
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closure}
2,290 µs

Memory Hogs

load::settings/localization_php
94,608 bytes
load::Tenant/VoucherSerie_php
48,416 bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity
44,768 bytes
load::RedirectFlow/VoucherCreator_php
34,848 bytes
load::settings/finance_php
28,176 bytes
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan
22,752 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,421,498 µs 2,862 µs 44,768 bytes bytes 1,426,110 µs 6,786 µs 73,248 bytes bytes
App\Services\RedirectFlow\VoucherCreator::createVoucher 1 1,070,431 µs 27,926 µs -101,512 bytes bytes 2,507,077 µs 41,065 µs 177,616 bytes bytes
main() 1 26,175 µs 12,037 µs -73,216 bytes bytes 2,537,201 µs 56,090 µs 345,640 bytes bytes
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure} 1 3,656 µs 3,188 µs 16,088 bytes bytes 3,656 µs 3,188 µs 16,088 bytes bytes
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan 1 2,429 µs 829 µs 22,752 bytes bytes 2,932 µs 1,337 µs 87,048 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 6 2,290 µs 2,359 µs 12,176 bytes bytes 4,630 µs 3,946 µs 36,856 bytes bytes
App\Services\Vouchers\CodeGenerator::checkIfCodeExists 1 1,437 µs 347 µs 1,136 bytes bytes 1,437 µs 347 µs 1,136 bytes bytes
App\Models\Tenant\VoucherSerie::attributeValuesToBeLogged 1 1,344 µs 568 µs 176 bytes bytes 1,753 µs 989 µs 5,544 bytes bytes
App\Services\Vouchers\CodeGenerator::getChars 1 856 µs 326 µs -5,256 bytes bytes 906 µs 378 µs 1,800 bytes bytes
App\Services\Vouchers\CodeGenerator::getCodeLength 1 792 µs 270 µs -5,352 bytes bytes 846 µs 326 µs 1,704 bytes bytes
App\Models\Tenant\VoucherSerie::logChanges 2 677 µs 679 µs 12,640 bytes bytes 708 µs 712 µs 15,080 bytes bytes
Stancl\Tenancy\CacheManager::__call 2 625 µs 284 µs 3,080 bytes bytes 2,247 µs 1,243 µs 71,720 bytes bytes
Illuminate\Redis\Connections\PhpRedisConnection::zadd 1 450 µs 79 µs 848 bytes bytes 450 µs 79 µs 848 bytes bytes
load::settings/localization_php 3 430 µs 435 µs 94,608 bytes bytes 430 µs 435 µs 94,608 bytes bytes
Illuminate\Cache\RedisTaggedCache::put 1 384 µs 89 µs 536 bytes bytes 991 µs 325 µs 4,488 bytes bytes
load::Tenant/VoucherSerie_php 1 364 µs 367 µs 48,416 bytes bytes 364 µs 367 µs 48,416 bytes bytes
load::RedirectFlow/VoucherCreator_php 1 325 µs 327 µs 34,848 bytes bytes 325 µs 327 µs 34,848 bytes bytes
load::src/ProfilingData_php 1 312 µs 317 µs 18,784 bytes bytes 312 µs 317 µs 18,784 bytes bytes
load::Plans/BuyMutex_php 1 263 µs 294 µs 6,592 bytes bytes 263 µs 294 µs 6,592 bytes bytes
load::settings/finance_php 4 192 µs 197 µs 28,176 bytes bytes 192 µs 197 µs 28,176 bytes bytes
load::Cache/RedisTaggedCache_php 1 173 µs 175 µs 16,136 bytes bytes 173 µs 175 µs 16,136 bytes bytes
load::settings/captive_portal_php 2 147 µs 148 µs 14,880 bytes bytes 147 µs 148 µs 14,880 bytes bytes
load::Cache/RedisTagSet_php 1 139 µs 141 µs 19,104 bytes bytes 139 µs 141 µs 19,104 bytes bytes
load::Vouchers/CodeGenerator_php 1 135 µs 137 µs 7,264 bytes bytes 135 µs 137 µs 7,264 bytes bytes
load::settings/status_page_notifications_php 3 109 µs 114 µs 16,944 bytes bytes 109 µs 114 µs 16,944 bytes bytes
load::settings/customers_php 2 100 µs 100 µs 10,032 bytes bytes 100 µs 100 µs 10,032 bytes bytes
Illuminate\Cache\RedisTagSet::addEntry 1 95 µs 93 µs 312 bytes bytes 552 µs 179 µs 2,592 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 93 µs 98 µs 792 bytes bytes 93 µs 98 µs 792 bytes bytes
load::Cache/TaggedCache_php 1 83 µs 84 µs 13,224 bytes bytes 83 µs 84 µs 13,224 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogEvent 1 80 µs 81 µs 696 bytes bytes 139 µs 141 µs 1,960 bytes bytes
load::Cache/TagSet_php 1 78 µs 79 µs 12,576 bytes bytes 78 µs 79 µs 12,576 bytes bytes
Illuminate\Cache\RedisStore::tags 2 74 µs 70 µs -5,088 bytes bytes 553 µs 555 µs 57,120 bytes bytes
load::settings/splynx_integration_php 2 63 µs 65 µs 12,752 bytes bytes 63 µs 65 µs 12,752 bytes bytes
load::settings/portal_php 2 62 µs 64 µs 6,368 bytes bytes 62 µs 64 µs 6,368 bytes bytes
load::settings/voucher_limit_notifications_php 2 62 µs 64 µs 12,080 bytes bytes 62 µs 64 µs 12,080 bytes bytes
load::settings/finance_notifications_php 2 59 µs 60 µs 8,944 bytes bytes 59 µs 60 µs 8,944 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::buildIdentityKey 1 57 µs 57 µs 688 bytes bytes 57 µs 57 µs 688 bytes bytes
App\Models\Tenant\VoucherSerie::isRestoring 1 54 µs 53 µs 664 bytes bytes 59 µs 60 µs 1,264 bytes bytes
App\Models\Tenant\VoucherSerie::eventsToBeRecorded 3 51 µs 51 µs 2,168 bytes bytes 51 µs 51 µs 2,168 bytes bytes
Illuminate\Cache\TaggedCache::event 4 49 µs 42 µs 1,296 bytes bytes 56 µs 57 µs 2,448 bytes bytes
App\Models\Tenant\VoucherSerie::initializeSoftDeletes 6 49 µs 37 µs 1,960 bytes bytes 70 µs 72 µs 2,592 bytes bytes
Xhgui\Profiler\Profiler::disable 1 48 µs 42 µs -4,224 bytes bytes 371 µs 371 µs 15,728 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 41 µs 38 µs 768 bytes bytes 3,230 µs 1,089 µs 5,408 bytes bytes
App\Models\Tenant\VoucherSerie::attributesToBeLogged 3 37 µs 35 µs 1,136 bytes bytes 54 µs 57 µs 3,072 bytes bytes
App\Services\RedirectFlow\VoucherCreator::getSeriePrefixByPlan 1 33 µs 33 µs 2,368 bytes bytes 33 µs 33 µs 2,368 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 26 29 µs 38 µs 632 bytes bytes 29 µs 38 µs 632 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::tryLock 1 28 µs 27 µs 536 bytes bytes 2,332 µs 1,327 µs 72,944 bytes bytes
App\Models\Tenant\VoucherSerie::getDeletedAtColumn 14 27 µs 45 µs 1,864 bytes bytes 27 µs 45 µs 1,864 bytes bytes
Illuminate\Cache\Repository::tags 2 22 µs 20 µs 760 bytes bytes 581 µs 583 µs 59,048 bytes bytes
App\Models\Tenant\VoucherSerie::bootLogsActivity 1 21 µs 17 µs 448 bytes bytes 55 µs 55 µs 9,736 bytes bytes
App\Models\Tenant\VoucherSerie::getActivitylogOptions 4 17 µs 23 µs 2,160 bytes bytes 17 µs 23 µs 2,160 bytes bytes
Illuminate\Cache\TagSet::tagIds 4 16 µs 16 µs 2,080 bytes bytes 22 µs 22 µs 2,840 bytes bytes
Illuminate\Routing\UrlGenerator::Stancl\Tenancy\Bootstrappers\{cl… 3 14 µs 17 µs 6,768 bytes bytes 14 µs 17 µs 6,768 bytes bytes
App\Models\Tenant\VoucherSerie::getQualifiedDeletedAtColumn 1 13 µs 11 µs 752 bytes bytes 14 µs 14 µs 1,384 bytes bytes
App\Models\Tenant\VoucherSerie::getLogNameToUse 1 13 µs 15 µs 632 bytes bytes 13 µs 15 µs 632 bytes bytes
Illuminate\Cache\TaggedCache::taggedItemKey 3 12 µs 14 µs 792 bytes bytes 40 µs 42 µs 2,784 bytes bytes
Illuminate\Cache\TagSet::getNamespace 3 11 µs 11 µs bytes bytes 28 µs 28 µs 1,992 bytes bytes
Illuminate\Cache\TaggedCache::itemKey 3 µs µs 1,232 bytes bytes 49 µs 51 µs 4,016 bytes bytes
Xhgui\Profiler\ProfilingData::__construct 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
Illuminate\Cache\RedisTagSet::tagId 4 µs µs 760 bytes bytes µs µs 760 bytes bytes
Xhgui\Profiler\Profiler::registerShutdownHandler 1 µs µs 1,200 bytes bytes µs µs 1,200 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\VoucherSerie::shouldLogUnguarded 3 µs µs 632 bytes bytes µs µs 632 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
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
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
App\Services\RedirectFlow\Plans\BuyMutex::__construct 1 µs µs 568 bytes bytes µs µs 568 bytes bytes
Illuminate\Cache\Repository::setDefaultCacheTime 2 µ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\Models\Tenant\VoucherSerie::restored 1 µs µs 928 bytes bytes µs µs 928 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