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

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

Illuminate\Database\Eloquent\Builder::Illuminate\Database\Eloquent\{closure}
5,582,865 µs
App\Models\Tenant\VoucherSerie::recalculateQuantity
1,668,996 µs
main()
16,919 µs
App\Services\RedirectFlow\VoucherCreator::createVoucher
16,319 µs
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderPlan
6,946 µs
Stancl\Tenancy\CacheManager::__call
6,470 µs

Memory Hogs

load::settings/localization_php
95,208 bytes
load::Tenant/VoucherSerie_php
48,416 bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity
44,768 bytes
load::RedirectFlow/VoucherCreator_php
34,928 bytes
load::settings/finance_php
33,808 bytes
App\Services\RedirectFlow\VoucherCreator::createVoucher
23,776 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
Illuminate\Database\Eloquent\Builder::Illuminate\Database\Eloquen… 1 5,582,865 µs 41,574 µs -127,792 bytes bytes 5,586,992 µs 44,995 µs -110,392 bytes bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity 1 1,668,996 µs 3,714 µs 44,768 bytes bytes 1,674,972 µs 8,970 µs 73,248 bytes bytes
main() 1 16,919 µs 7,325 µs 4,608 bytes bytes 7,333,207 µs 84,276 µs 412,600 bytes bytes
App\Services\RedirectFlow\VoucherCreator::createVoucher 1 16,319 µs 11,848 µs 23,776 bytes bytes 7,285,594 µs 69,807 µs 179,808 bytes bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderP… 1 6,946 µs 3,591 µs -34,520 bytes bytes 7,315,248 µs 75,901 µs 296,840 bytes bytes
Stancl\Tenancy\CacheManager::__call 2 6,470 µs 213 µs 1,800 bytes bytes 18,458 µs 1,310 µs 71,712 bytes bytes
Illuminate\Redis\Connections\PhpRedisConnection::zadd 1 6,085 µs 82 µs 848 bytes bytes 6,085 µs 82 µs 848 bytes bytes
Illuminate\Cache\RedisTaggedCache::put 1 5,012 µs 120 µs 536 bytes bytes 11,254 µs 359 µs 4,488 bytes bytes
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure} 1 4,100 µs 3,391 µs 16,184 bytes bytes 4,110 µs 3,403 µs 16,816 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlan… 1 3,494 µs 428 µs 2,064 bytes bytes 3,494 µs 428 µs 2,064 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 6 3,314 µs 3,395 µs 12,176 bytes bytes 6,017 µs 5,300 µs 36,856 bytes bytes
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan 1 2,524 µs 1,089 µs 22,752 bytes bytes 3,211 µs 1,782 µs 86,408 bytes bytes
App\Models\Tenant\VoucherSerie::attributeValuesToBeLogged 1 1,501 µs 670 µs 176 bytes bytes 1,949 µs 1,138 µs 5,544 bytes bytes
App\Services\Vouchers\CodeGenerator::getChars 1 1,165 µs 329 µs -5,256 bytes bytes 1,214 µs 378 µs 1,800 bytes bytes
App\Services\Vouchers\CodeGenerator::checkIfCodeExists 1 1,026 µs 341 µs 1,136 bytes bytes 1,026 µs 341 µs 1,136 bytes bytes
App\Services\Vouchers\CodeGenerator::getCodeLength 1 847 µs 321 µs -5,352 bytes bytes 890 µs 365 µs 7,336 bytes bytes
App\Models\Tenant\VoucherSerie::logChanges 2 766 µs 769 µs 12,640 bytes bytes 803 µs 808 µs 15,080 bytes bytes
load::settings/localization_php 3 455 µs 460 µs 95,208 bytes bytes 455 µs 460 µs 95,208 bytes bytes
load::RedirectFlow/VoucherCreator_php 1 412 µs 414 µs 34,928 bytes bytes 412 µs 414 µs 34,928 bytes bytes
load::Tenant/VoucherSerie_php 1 382 µs 384 µs 48,416 bytes bytes 382 µs 384 µs 48,416 bytes bytes
load::TrialSessions/TrialSessionsMaker_php 1 236 µs 237 µs 16,584 bytes bytes 236 µs 237 µs 16,584 bytes bytes
Illuminate\Database\Eloquent\Builder::create 1 236 µs 231 µs 4,576 bytes bytes 5,587,228 µs 45,226 µs -105,816 bytes bytes
load::src/ProfilingData_php 1 201 µs 203 µs 18,784 bytes bytes 201 µs 203 µs 18,784 bytes bytes
load::Cache/RedisTagSet_php 1 178 µs 180 µs 19,104 bytes bytes 178 µs 180 µs 19,104 bytes bytes
load::settings/captive_portal_php 2 158 µs 159 µs 14,880 bytes bytes 158 µs 159 µs 14,880 bytes bytes
load::settings/finance_php 4 155 µs 156 µs 33,808 bytes bytes 155 µs 156 µs 33,808 bytes bytes
load::Cache/RedisTaggedCache_php 1 150 µs 151 µs 16,136 bytes bytes 150 µs 151 µs 16,136 bytes bytes
load::Plans/BuyMutex_php 1 131 µs 132 µs 7,296 bytes bytes 131 µs 132 µs 7,296 bytes bytes
load::settings/status_page_notifications_php 3 129 µs 131 µs 16,944 bytes bytes 129 µs 131 µs 16,944 bytes bytes
load::Vouchers/CodeGenerator_php 1 126 µs 126 µs 7,264 bytes bytes 126 µs 126 µs 7,264 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 123 µs 239 µs 792 bytes bytes 123 µs 239 µs 792 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogEvent 1 118 µs 119 µs 696 bytes bytes 199 µs 201 µs 1,960 bytes bytes
load::Cache/TagSet_php 1 116 µs 118 µs 12,576 bytes bytes 116 µs 118 µs 12,576 bytes bytes
load::Cache/TaggedCache_php 1 100 µs 102 µs 12,584 bytes bytes 100 µs 102 µs 12,584 bytes bytes
load::settings/voucher_limit_notifications_php 2 99 µs 143 µs 12,080 bytes bytes 99 µs 143 µs 12,080 bytes bytes
App\Models\Tenant\VoucherSerie::eventsToBeRecorded 3 98 µs 102 µs 2,168 bytes bytes 98 µs 102 µs 2,168 bytes bytes
App\Models\Tenant\VoucherSerie::initializeSoftDeletes 6 95 µs 87 µs 1,960 bytes bytes 173 µs 177 µs 2,592 bytes bytes
Illuminate\Cache\RedisStore::tags 2 89 µs 82 µs -5,088 bytes bytes 640 µs 642 µs 56,480 bytes bytes
load::settings/customers_php 2 87 µs 88 µs 10,032 bytes bytes 87 µs 88 µs 10,032 bytes bytes
App\Models\Tenant\VoucherSerie::getDeletedAtColumn 14 84 µs 99 µs 1,864 bytes bytes 84 µs 99 µs 1,864 bytes bytes
Illuminate\Cache\RedisTagSet::addEntry 1 79 µs 77 µs 312 bytes bytes 6,170 µs 166 µs 2,592 bytes bytes
App\Models\Tenant\VoucherSerie::isRestoring 1 77 µs 77 µs 664 bytes bytes 81 µs 82 µs 1,264 bytes bytes
App\Services\RedirectFlow\VoucherCreator::getSeriePrefixByPlan 1 65 µs 66 µs 1,728 bytes bytes 65 µs 66 µs 1,728 bytes bytes
Illuminate\Cache\TaggedCache::event 4 63 µs 58 µs 1,296 bytes bytes 73 µs 75 µs 2,448 bytes bytes
load::settings/splynx_integration_php 2 50 µs 52 µs 12,752 bytes bytes 50 µs 52 µs 12,752 bytes bytes
load::settings/finance_notifications_php 2 47 µs 47 µs 8,944 bytes bytes 47 µs 47 µs 8,944 bytes bytes
load::settings/portal_php 2 44 µs 47 µs 6,368 bytes bytes 44 µs 47 µs 6,368 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::buildIdentityKey 1 40 µs 41 µs 688 bytes bytes 40 µs 41 µs 688 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 26 38 µs 51 µs 632 bytes bytes 38 µs 51 µs 632 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 37 µs 34 µs 768 bytes bytes 3,167 µs 1,118 µs 11,040 bytes bytes
App\Models\Tenant\VoucherSerie::attributesToBeLogged 3 34 µs 30 µs 1,136 bytes bytes 52 µs 55 µs 3,072 bytes bytes
Xhgui\Profiler\Profiler::disable 1 28 µs 25 µs -4,224 bytes bytes 237 µs 237 µs 15,728 bytes bytes
Illuminate\Routing\UrlGenerator::Stancl\Tenancy\Bootstrappers\{cl… 3 24 µs 25 µs 1,168 bytes bytes 24 µs 25 µs 1,168 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::tryLock 1 23 µs 23 µs 600 bytes bytes 18,521 µs 1,374 µs 73,000 bytes bytes
App\Models\Tenant\VoucherSerie::bootLogsActivity 1 23 µs 19 µs 448 bytes bytes 82 µs 82 µs 9,736 bytes bytes
Illuminate\Cache\Repository::tags 2 22 µs 21 µs 760 bytes bytes 671 µs 672 µs 58,408 bytes bytes
Illuminate\Cache\TagSet::tagIds 4 19 µs 18 µs 2,080 bytes bytes 24 µs 27 µs 4,120 bytes bytes
App\Models\Tenant\VoucherSerie::getQualifiedDeletedAtColumn 1 19 µs 18 µs 752 bytes bytes 21 µs 22 µs 1,384 bytes bytes
Illuminate\Cache\TaggedCache::taggedItemKey 3 16 µs 14 µs 792 bytes bytes 47 µs 49 µs 4,064 bytes bytes
App\Models\Tenant\VoucherSerie::getActivitylogOptions 4 16 µs 22 µs 2,160 bytes bytes 16 µs 22 µs 2,160 bytes bytes
App\Models\Tenant\VoucherSerie::getLogNameToUse 1 14 µs 15 µs 632 bytes bytes 14 µs 15 µs 632 bytes bytes
Illuminate\Cache\TagSet::getNamespace 3 11 µs 13 µs bytes bytes 31 µs 35 µs 3,272 bytes bytes
Illuminate\Cache\TaggedCache::itemKey 3 10 µs 11 µs 1,232 bytes bytes 57 µs 60 µs 5,296 bytes bytes
Illuminate\Database\Eloquent\Model::getKey 1 10 µs 12 µs 632 bytes bytes 10 µs 12 µs 632 bytes bytes
Symfony\Component\HttpFoundation\Request::get 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
App\Models\Tenant\VoucherSerie::bootSoftDeletes 1 µs µs 1,064 bytes bytes µs µs 1,064 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogUnguarded 3 µs µs 632 bytes bytes µs µs 632 bytes bytes
Xhgui\Profiler\Profiler::registerShutdownHandler 1 µs µs 1,200 bytes bytes µs µs 1,200 bytes bytes
Illuminate\Http\Request::get 1 µs µs 664 bytes bytes 12 µs 13 µs 1,248 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
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
Illuminate\Cache\Repository::set 1 µs µs 632 bytes bytes 11,259 µs 363 µs 5,120 bytes bytes
Illuminate\Database\Eloquent\Relations\Pivot::getUpdatedAtColumn 2 µs µs 632 bytes bytes µs µs 632 bytes bytes
Xhgui\Profiler\ProfilingData::__construct 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\Repository::setDefaultCacheTime 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
App\Models\Tenant\VoucherSerie::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
App\Services\RedirectFlow\Plans\BuyMutex::__construct 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\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\Models\Tenant\VoucherSerie::isLogEmpty 1 µs µs 632 bytes bytes µs µs 632 bytes bytes