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

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,611,977 µs
App\Models\Tenant\VoucherSerie::recalculateQuantity
192,114 µs
App\Services\RedirectFlow\VoucherCreator::createVoucher
16,977 µs
main()
16,116 µs
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderPlan
6,996 µs
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure}
4,004 µs

Memory Hogs

App\Services\RedirectFlow\VoucherCreator::createVoucher
132,768 bytes
load::settings/localization_php
95,208 bytes
load::Tenant/VoucherSerie_php
48,448 bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity
44,776 bytes
load::Concerns/AsPivot_php
41,984 bytes
load::RedirectFlow/VoucherCreator_php
35,096 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,611,977 µs 41,408 µs -116,432 bytes 16,704 bytes 5,616,000 µs 44,893 µs -98,952 bytes 39,472 bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity 1 192,114 µs 2,674 µs 44,776 bytes bytes 196,176 µs 6,162 µs 73,576 bytes 4,728 bytes
App\Services\RedirectFlow\VoucherCreator::createVoucher 1 16,977 µs 9,484 µs 132,768 bytes 101,688 bytes 5,836,174 µs 66,065 µs 354,736 bytes 338,616 bytes
main() 1 16,116 µs 6,445 µs -15,640 bytes 15,904 bytes 5,864,957 µs 79,812 µs 583,416 bytes 604,104 bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderP… 1 6,996 µs 3,463 µs -42,568 bytes bytes 5,847,816 µs 72,279 µs 488,040 bytes 492,952 bytes
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure} 1 4,004 µs 3,464 µs 16,264 bytes 22,768 bytes 4,012 µs 3,473 µs 16,896 bytes 22,768 bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 6 2,250 µs 2,311 µs 12,176 bytes 4,728 bytes 4,082 µs 3,512 µs 37,176 bytes 4,728 bytes
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan 1 1,734 µs 820 µs 22,752 bytes bytes 2,333 µs 1,421 µs 91,752 bytes 73,560 bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::getTemporar… 1 1,184 µs 422 µs 112 bytes bytes 1,232 µs 469 µs 4,992 bytes bytes
App\Models\Tenant\VoucherSerie::attributeValuesToBeLogged 1 1,070 µs 418 µs 176 bytes bytes 1,316 µs 676 µs 5,544 bytes bytes
App\Services\Vouchers\CodeGenerator::checkIfCodeExists 1 895 µs 282 µs 1,136 bytes bytes 895 µs 282 µs 1,136 bytes bytes
App\Services\Vouchers\CodeGenerator::getCodeLength 1 882 µs 261 µs -5,352 bytes bytes 917 µs 297 µs 1,704 bytes 1,864 bytes
App\Services\Vouchers\CodeGenerator::getChars 1 845 µs 297 µs -5,256 bytes bytes 890 µs 343 µs 1,800 bytes 2,168 bytes
Stancl\Tenancy\CacheManager::__call 2 608 µs 219 µs 1,816 bytes bytes 2,503 µs 1,365 µs 71,728 bytes 59,608 bytes
App\Models\Tenant\VoucherSerie::logChanges 2 515 µs 518 µs 12,960 bytes bytes 541 µs 544 µs 15,400 bytes bytes
Illuminate\Cache\RedisTaggedCache::put 1 469 µs 99 µs 536 bytes bytes 1,114 µs 365 µs 4,488 bytes bytes
load::settings/localization_php 3 468 µs 473 µs 95,208 bytes 93,608 bytes 468 µs 473 µs 95,208 bytes 93,608 bytes
Illuminate\Redis\Connections\PhpRedisConnection::zadd 1 468 µs 90 µs 848 bytes bytes 468 µs 90 µs 848 bytes bytes
load::Tenant/VoucherSerie_php 1 429 µs 430 µs 48,448 bytes 73,560 bytes 429 µs 430 µs 48,448 bytes 73,560 bytes
load::RedirectFlow/VoucherCreator_php 1 410 µs 412 µs 35,096 bytes 56,824 bytes 410 µs 412 µs 35,096 bytes 56,824 bytes
load::Concerns/AsPivot_php 1 333 µs 335 µs 41,984 bytes 50,608 bytes 333 µs 335 µs 41,984 bytes 50,608 bytes
load::settings/customers_php 2 313 µs 366 µs 10,032 bytes 18,616 bytes 313 µs 366 µs 10,032 bytes 18,616 bytes
load::src/ProfilingData_php 1 274 µs 276 µs 18,816 bytes bytes 274 µs 276 µs 18,816 bytes bytes
load::TrialSessions/TrialSessionsMaker_php 1 260 µs 262 µs 16,416 bytes 22,072 bytes 260 µs 262 µs 16,416 bytes 22,072 bytes
Illuminate\Database\Eloquent\Builder::create 1 253 µs 248 µs 4,576 bytes 1,784 bytes 5,616,253 µs 45,141 µs -94,376 bytes 41,256 bytes
load::settings/finance_php 4 228 µs 956 µs 28,176 bytes 10,000 bytes 228 µs 956 µs 28,176 bytes 10,000 bytes
load::Cache/RedisTagSet_php 1 227 µs 229 µs 19,104 bytes 26,832 bytes 227 µs 229 µs 19,104 bytes 26,832 bytes
load::RedirectFlow/PlansRepository_php 1 182 µs 183 µs 21,288 bytes 1,416 bytes 182 µs 183 µs 21,288 bytes 1,416 bytes
load::settings/captive_portal_php 2 163 µs 165 µs 14,880 bytes bytes 163 µs 165 µs 14,880 bytes bytes
load::Cache/RedisTaggedCache_php 1 156 µs 157 µs 16,136 bytes 20,128 bytes 156 µs 157 µs 16,136 bytes 20,128 bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 143 µs 141 µs 88 bytes bytes 176 µs 176 µs 2,072 bytes bytes
load::settings/status_page_notifications_php 3 120 µs 594 µs 16,944 bytes 12,224 bytes 120 µs 594 µs 16,944 bytes 12,224 bytes
load::settings/portal_php 2 116 µs 99 µs 6,368 bytes 9,760 bytes 116 µs 99 µs 6,368 bytes 9,760 bytes
load::Cache/TagSet_php 1 108 µs 109 µs 12,576 bytes 6,416 bytes 108 µs 109 µs 12,576 bytes 6,416 bytes
load::Plans/BuyMutex_php 1 101 µs 102 µs 6,656 bytes 3,088 bytes 101 µs 102 µs 6,656 bytes 3,088 bytes
load::Cache/TaggedCache_php 1 98 µs 98 µs 12,584 bytes 6,232 bytes 98 µs 98 µs 12,584 bytes 6,232 bytes
load::Vouchers/CodeGenerator_php 1 95 µs 97 µs 7,264 bytes 7,616 bytes 95 µs 97 µs 7,264 bytes 7,616 bytes
Illuminate\Cache\RedisStore::tags 2 93 µs 88 µs -5,088 bytes bytes 691 µs 691 µs 56,480 bytes 59,608 bytes
Illuminate\Cache\RedisTagSet::addEntry 1 80 µs 77 µs 312 bytes bytes 556 µs 176 µs 2,592 bytes bytes
App\Models\Tenant\VoucherSerie::eventsToBeRecorded 3 71 µs 73 µs 2,168 bytes bytes 71 µs 73 µs 2,168 bytes bytes
load::settings/splynx_integration_php 2 63 µs 66 µs 12,752 bytes 9,264 bytes 63 µs 66 µs 12,752 bytes 9,264 bytes
load::Tenant/LocationPlan_php 1 61 µs 63 µs 3,456 bytes bytes 61 µs 63 µs 3,456 bytes bytes
App\Models\Tenant\VoucherSerie::isRestoring 1 60 µs 60 µs 664 bytes bytes 62 µs 63 µs 1,264 bytes bytes
load::settings/finance_notifications_php 2 58 µs 61 µs 8,944 bytes 4,096 bytes 58 µs 61 µs 8,944 bytes 4,096 bytes
Illuminate\Cache\TaggedCache::event 4 53 µs 50 µs 1,296 bytes bytes 64 µs 65 µs 2,448 bytes bytes
load::Relations/Pivot_php 1 48 µs 49 µs 3,136 bytes 1,848 bytes 48 µs 49 µs 3,136 bytes 1,848 bytes
App\Models\Tenant\VoucherSerie::shouldLogEvent 1 48 µs 48 µs 696 bytes bytes 110 µs 111 µs 1,960 bytes bytes
load::settings/voucher_limit_notifications_php 2 44 µs 44 µs 12,080 bytes 6,320 bytes 44 µs 44 µs 12,080 bytes 6,320 bytes
App\Models\Tenant\VoucherSerie::initializeSoftDeletes 6 41 µs 29 µs 1,960 bytes bytes 63 µs 60 µs 2,592 bytes bytes
App\Format\FormatManager::toSystemTimezone 1 41 µs 42 µs 1,840 bytes bytes 41 µs 42 µs 1,840 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::buildIdentityKey 1 38 µs 39 µs 688 bytes bytes 38 µs 39 µs 688 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::App\Reposit… 1 34 µs 34 µs 3,472 bytes bytes 34 µs 34 µs 3,472 bytes bytes
App\Services\RedirectFlow\VoucherCreator::getSeriePrefixByPlan 1 31 µs 33 µs 1,088 bytes bytes 31 µs 33 µs 1,088 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 31 µs 30 µs 768 bytes bytes 2,733 µs 952 µs 5,408 bytes 4,032 bytes
Xhgui\Profiler\Profiler::disable 1 31 µs 29 µs -4,224 bytes bytes 313 µs 313 µs 15,760 bytes bytes
Illuminate\Cache\RedisTagSet::tagId 4 28 µs 31 µs 760 bytes bytes 28 µs 31 µs 760 bytes bytes
App\Models\Tenant\VoucherSerie::getDeletedAtColumn 14 26 µs 37 µs 1,864 bytes bytes 26 µs 37 µs 1,864 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::tryLock 1 25 µs 23 µs 584 bytes bytes 2,566 µs 1,427 µs 73,000 bytes 59,608 bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 26 25 µs 36 µs 632 bytes bytes 25 µs 36 µs 632 bytes bytes
Illuminate\Cache\Repository::tags 2 24 µs 22 µs 760 bytes bytes 722 µs 722 µs 59,688 bytes 59,608 bytes
Illuminate\Support\Collection::put 7 24 µs 21 µs 648 bytes bytes 33 µs 35 µs 1,984 bytes bytes
App\Models\Tenant\VoucherSerie::attributesToBeLogged 3 23 µs 21 µs 1,136 bytes bytes 35 µs 36 µs 3,072 bytes bytes
Illuminate\Cache\TagSet::tagIds 4 20 µs 19 µs 2,080 bytes bytes 48 µs 50 µs 2,840 bytes bytes
App\Models\Tenant\VoucherSerie::bootLogsActivity 1 20 µs 16 µs 448 bytes bytes 83 µs 84 µs 9,736 bytes bytes
Illuminate\Routing\UrlGenerator::Stancl\Tenancy\Bootstrappers\{cl… 3 17 µs 18 µs 1,168 bytes bytes 17 µs 18 µs 1,168 bytes bytes
App\Models\Tenant\VoucherSerie::getQualifiedDeletedAtColumn 1 16 µs 15 µs 6,384 bytes bytes 18 µs 18 µs 7,016 bytes bytes
Illuminate\Cache\TaggedCache::taggedItemKey 3 15 µs 17 µs 792 bytes bytes 69 µs 71 µs 2,784 bytes bytes
App\Helpers\ArrayHelper::merge 1 13 µs 11 µs 912 bytes bytes 16 µs 16 µs 1,496 bytes bytes
Illuminate\Cache\TagSet::getNamespace 3 12 µs 11 µs bytes bytes 54 µs 54 µs 1,992 bytes bytes
Illuminate\Cache\TaggedCache::itemKey 3 11 µs µs 1,232 bytes bytes 80 µs 80 µs 4,016 bytes bytes
App\Models\Tenant\VoucherSerie::getLogNameToUse 1 11 µs 12 µs 632 bytes bytes 11 µs 12 µs 632 bytes bytes
Illuminate\Database\Eloquent\Collection::pluck 1 10 µs µs 728 bytes bytes 14 µs 13 µs 1,408 bytes bytes
App\Models\Tenant\VoucherSerie::getActivitylogOptions 4 10 µs 15 µs 2,160 bytes bytes 10 µs 15 µs 2,160 bytes bytes
Illuminate\Database\Eloquent\Relations\Pivot::getTable 4 µs 12 µs 632 bytes bytes µs 12 µs 632 bytes bytes
Illuminate\Support\Collection::offsetSet 7 µs 14 µs 1,336 bytes bytes µs 14 µs 1,336 bytes bytes
Illuminate\Database\Eloquent\Model::getKey 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
Symfony\Component\HttpFoundation\Request::get 1 µ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\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlan… 1 µs µs 576 bytes bytes 1,238 µs 474 µs 5,568 bytes bytes
App\Models\Tenant\VoucherSerie::bootSoftDeletes 1 µs µs 1,384 bytes bytes µs µs 1,384 bytes bytes
Illuminate\Http\Request::get 1 µs µs 664 bytes bytes 12 µs 12 µs 1,248 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
Xhgui\Profiler\ProfilingData::__construct 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\Support\Collection::toBase 1 µs µs 680 bytes bytes µs µs 680 bytes bytes
Illuminate\Cache\TagSet::__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
Illuminate\Cache\Repository::set 1 µs µs 632 bytes bytes 1,118 µs 369 µs 5,120 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogUnguarded 3 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Database\Eloquent\Relations\Pivot::getCreatedAtColumn 2 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Database\Eloquent\Relations\Pivot::getUpdatedAtColumn 2 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Helpers\ArrayHelper::App\Helpers\{closure} 2 µs µs 584 bytes bytes µs µs 584 bytes bytes
Xhgui\Profiler\Profilers\XHProf::disable 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
Illuminate\Cache\Repository::setDefaultCacheTime 2 µs µs 1,864 bytes bytes µs µs 1,864 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\Services\RedirectFlow\Plans\BuyMutex::__construct 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