Profile data for GET http://meshtelecom.powerlynx.app/portal/api/redirect-flow/order-plan/11?hash=f38f538aaf7a0a02a3f966f5875790fa

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}
1,056,389 µs
App\Models\Tenant\VoucherSerie::recalculateQuantity
190,177 µs
main()
19,935 µs
App\Services\RedirectFlow\VoucherCreator::createVoucher
15,934 µs
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderPlan
8,649 µs
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure}
4,212 µs

Memory Hogs

load::settings/localization_php
95,208 bytes
load::Tenant/VoucherSerie_php
48,416 bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity
44,776 bytes
load::RedirectFlow/VoucherCreator_php
34,928 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
Illuminate\Database\Eloquent\Builder::Illuminate\Database\Eloquen… 1 1,056,389 µs 17,468 µs -115,856 bytes bytes 1,060,623 µs 21,037 µs -98,376 bytes bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity 1 190,177 µs 2,760 µs 44,776 bytes bytes 195,017 µs 7,025 µs 71,976 bytes bytes
main() 1 19,935 µs 8,293 µs -18,320 bytes bytes 1,312,506 µs 60,723 µs 387,816 bytes bytes
App\Services\RedirectFlow\VoucherCreator::createVoucher 1 15,934 µs 11,085 µs 10,880 bytes bytes 1,278,299 µs 43,975 µs 178,840 bytes bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderP… 1 8,649 µs 4,782 µs -33,528 bytes bytes 1,291,389 µs 51,234 µs 294,984 bytes bytes
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure} 1 4,212 µs 3,544 µs 16,264 bytes bytes 4,223 µs 3,556 µs 16,896 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 6 2,479 µs 2,632 µs 12,176 bytes bytes 4,859 µs 4,288 µs 35,576 bytes bytes
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan 1 1,816 µs 882 µs 22,752 bytes bytes 2,290 µs 1,363 µs 85,768 bytes bytes
App\Services\Vouchers\CodeGenerator::checkIfCodeExists 1 1,408 µs 374 µs 1,136 bytes bytes 1,408 µs 374 µs 1,136 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlan… 1 1,400 µs 499 µs 2,064 bytes bytes 1,400 µs 499 µs 2,064 bytes bytes
App\Models\Tenant\VoucherSerie::attributeValuesToBeLogged 1 1,361 µs 613 µs 176 bytes bytes 1,661 µs 929 µs 5,544 bytes bytes
App\Services\Vouchers\CodeGenerator::getChars 1 904 µs 321 µs -5,256 bytes bytes 945 µs 362 µs 1,800 bytes bytes
App\Services\Vouchers\CodeGenerator::getCodeLength 1 832 µs 282 µs -5,352 bytes bytes 868 µs 319 µs 1,704 bytes bytes
App\Models\Tenant\VoucherSerie::logChanges 2 682 µs 682 µs 11,360 bytes bytes 719 µs 721 µs 13,800 bytes bytes
Stancl\Tenancy\CacheManager::__call 2 634 µs 256 µs 1,816 bytes bytes 2,291 µs 1,220 µs 71,096 bytes bytes
load::settings/localization_php 3 481 µs 555 µs 95,208 bytes bytes 481 µs 555 µs 95,208 bytes bytes
Illuminate\Redis\Connections\PhpRedisConnection::zadd 1 443 µs 75 µs 848 bytes bytes 443 µs 75 µs 848 bytes bytes
Illuminate\Cache\RedisTaggedCache::put 1 418 µs 91 µs 536 bytes bytes 1,015 µs 319 µs 4,488 bytes bytes
load::Tenant/VoucherSerie_php 1 344 µs 347 µs 48,416 bytes bytes 344 µs 347 µs 48,416 bytes bytes
load::RedirectFlow/VoucherCreator_php 1 315 µs 317 µs 34,928 bytes bytes 315 µs 317 µs 34,928 bytes bytes
load::src/ProfilingData_php 1 292 µs 296 µs 18,784 bytes bytes 292 µs 296 µs 18,784 bytes bytes
load::TrialSessions/TrialSessionsMaker_php 1 270 µs 271 µs 16,584 bytes bytes 270 µs 271 µs 16,584 bytes bytes
Illuminate\Database\Eloquent\Builder::create 1 236 µs 231 µs 4,576 bytes bytes 1,060,859 µs 21,268 µs -93,800 bytes bytes
load::settings/captive_portal_php 2 227 µs 1,213 µs 14,880 bytes bytes 227 µs 1,213 µs 14,880 bytes bytes
load::settings/customers_php 2 200 µs 203 µs 10,032 bytes bytes 200 µs 203 µs 10,032 bytes bytes
load::Plans/BuyMutex_php 1 192 µs 194 µs 6,656 bytes bytes 192 µs 194 µs 6,656 bytes bytes
load::settings/finance_php 4 183 µs 185 µs 28,176 bytes bytes 183 µs 185 µs 28,176 bytes bytes
load::Cache/RedisTaggedCache_php 1 171 µs 172 µs 16,136 bytes bytes 171 µs 172 µs 16,136 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 142 µs 274 µs 776 bytes bytes 142 µs 274 µs 776 bytes bytes
load::Cache/RedisTagSet_php 1 138 µs 140 µs 19,104 bytes bytes 138 µs 140 µs 19,104 bytes bytes
load::settings/status_page_notifications_php 3 108 µs 113 µs 16,944 bytes bytes 108 µs 113 µs 16,944 bytes bytes
App\Models\Tenant\VoucherSerie::isRestoring 1 93 µs 93 µs 664 bytes bytes 96 µs 97 µs 1,264 bytes bytes
Illuminate\Cache\RedisTagSet::addEntry 1 90 µs 88 µs 312 bytes bytes 540 µs 171 µs 2,592 bytes bytes
load::Cache/TagSet_php 1 89 µs 90 µs 12,576 bytes bytes 89 µs 90 µs 12,576 bytes bytes
load::Vouchers/CodeGenerator_php 1 89 µs 90 µs 7,264 bytes bytes 89 µs 90 µs 7,264 bytes bytes
load::Cache/TaggedCache_php 1 84 µs 85 µs 12,584 bytes bytes 84 µs 85 µs 12,584 bytes bytes
Illuminate\Cache\RedisStore::tags 2 74 µs 68 µs -5,088 bytes bytes 562 µs 562 µs 56,480 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogEvent 1 69 µs 69 µs 696 bytes bytes 165 µs 166 µs 1,960 bytes bytes
load::settings/splynx_integration_php 2 68 µs 72 µs 12,752 bytes bytes 68 µs 72 µs 12,752 bytes bytes
load::settings/voucher_limit_notifications_php 2 68 µs 70 µs 12,080 bytes bytes 68 µs 70 µs 12,080 bytes bytes
load::settings/finance_notifications_php 2 66 µs 69 µs 8,944 bytes bytes 66 µs 69 µs 8,944 bytes bytes
load::settings/portal_php 2 56 µs 59 µs 6,368 bytes bytes 56 µs 59 µs 6,368 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::buildIdentityKey 1 56 µs 57 µs 1,328 bytes bytes 56 µs 57 µs 1,328 bytes bytes
App\Models\Tenant\VoucherSerie::eventsToBeRecorded 3 53 µs 55 µs 2,168 bytes bytes 53 µs 55 µs 2,168 bytes bytes
Illuminate\Cache\TaggedCache::event 4 50 µs 49 µs 1,296 bytes bytes 59 µs 61 µs 2,448 bytes bytes
App\Format\FormatManager::toSystemTimezone 1 48 µs 49 µs 1,840 bytes bytes 48 µs 49 µs 1,840 bytes bytes
App\Models\Tenant\VoucherSerie::initializeSoftDeletes 6 42 µs 35 µs 1,960 bytes bytes 62 µs 65 µs 2,592 bytes bytes
Xhgui\Profiler\Profiler::disable 1 39 µs 34 µs -4,224 bytes bytes 340 µs 340 µs 15,728 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 36 µs 32 µs 6,400 bytes bytes 3,257 µs 1,087 µs 11,040 bytes bytes
App\Services\RedirectFlow\VoucherCreator::getSeriePrefixByPlan 1 32 µs 33 µs 1,088 bytes bytes 32 µs 33 µs 1,088 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 26 31 µs 42 µs 632 bytes bytes 31 µs 42 µs 632 bytes bytes
App\Models\Tenant\VoucherSerie::attributesToBeLogged 3 30 µs 28 µs 1,136 bytes bytes 47 µs 51 µs 3,072 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::tryLock 1 25 µs 25 µs 584 bytes bytes 2,372 µs 1,302 µs 73,008 bytes bytes
App\Models\Tenant\VoucherSerie::getDeletedAtColumn 14 25 µs 37 µs 1,864 bytes bytes 25 µs 37 µs 1,864 bytes bytes
Illuminate\Cache\Repository::tags 2 21 µs 19 µs 760 bytes bytes 590 µs 591 µs 58,408 bytes bytes
App\Models\Tenant\VoucherSerie::bootLogsActivity 1 21 µs 17 µs 448 bytes bytes 54 µs 55 µs 9,736 bytes bytes
Illuminate\Routing\UrlGenerator::Stancl\Tenancy\Bootstrappers\{cl… 3 17 µs 20 µs 1,168 bytes bytes 17 µs 20 µs 1,168 bytes bytes
Illuminate\Cache\TagSet::tagIds 4 17 µs 17 µs 2,080 bytes bytes 23 µs 25 µs 2,840 bytes bytes
Illuminate\Cache\TaggedCache::taggedItemKey 3 16 µs 14 µs 792 bytes bytes 42 µs 42 µs 4,064 bytes bytes
App\Models\Tenant\VoucherSerie::getActivitylogOptions 4 16 µs 20 µs 2,160 bytes bytes 16 µs 20 µs 2,160 bytes bytes
App\Models\Tenant\VoucherSerie::getLogNameToUse 1 12 µs 13 µs 632 bytes bytes 12 µs 13 µs 632 bytes bytes
App\Models\Tenant\VoucherSerie::getQualifiedDeletedAtColumn 1 11 µs 12 µs 752 bytes bytes 13 µs 15 µs 1,384 bytes bytes
Illuminate\Database\Eloquent\Model::getKey 1 11 µs 12 µs 632 bytes bytes 11 µs 12 µs 632 bytes bytes
Illuminate\Cache\TagSet::getNamespace 3 µs µs 1,280 bytes bytes 26 µs 28 µs 3,272 bytes bytes
Illuminate\Cache\TaggedCache::itemKey 3 µs µs 1,232 bytes bytes 50 µs 50 µs 5,296 bytes bytes
Illuminate\Cache\RedisTagSet::tagId 4 µs µs 760 bytes bytes µs µs 760 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\Events\CacheEvent::setTags 4 µs µs 584 bytes bytes µs µs 584 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogUnguarded 3 µs µs 632 bytes bytes µs µs 632 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
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
Xhgui\Profiler\Profiler::registerShutdownHandler 1 µs µs 1,200 bytes bytes µs µs 1,200 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\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\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::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