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

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}
3,053,255 µs
App\Models\Tenant\VoucherSerie::recalculateQuantity
200,984 µs
main()
15,886 µs
App\Services\RedirectFlow\VoucherCreator::createVoucher
14,247 µs
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderPlan
6,707 µs
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure}
2,857 µs

Memory Hogs

load::RedirectFlow/VoucherCreator_php
116,848 bytes
load::settings/localization_php
95,208 bytes
load::Tenant/VoucherSerie_php
48,416 bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity
44,776 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 3,053,255 µs 21,257 µs -115,112 bytes bytes 3,057,632 µs 24,060 µs -88,416 bytes bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity 1 200,984 µs 2,227 µs 44,776 bytes bytes 206,044 µs 6,645 µs 73,256 bytes bytes
main() 1 15,886 µs 6,131 µs -18,440 bytes bytes 3,311,902 µs 56,350 µs 481,144 bytes bytes
App\Services\RedirectFlow\VoucherCreator::createVoucher 1 14,247 µs 10,147 µs 10,896 bytes bytes 3,283,918 µs 43,702 µs 190,096 bytes bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderP… 1 6,707 µs 3,316 µs -33,888 bytes bytes 3,295,185 µs 49,395 µs 388,432 bytes bytes
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure} 1 2,857 µs 2,328 µs 16,232 bytes bytes 2,863 µs 2,335 µs 16,864 bytes bytes
App\Models\Tenant\VoucherSerie::attributeValuesToBeLogged 1 2,208 µs 1,443 µs 176 bytes bytes 2,564 µs 1,810 µs 5,544 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 6 2,027 µs 2,136 µs 12,176 bytes bytes 5,075 µs 4,436 µs 36,856 bytes bytes
App\Services\Vouchers\CodeGenerator::checkIfCodeExists 1 1,513 µs 283 µs 6,768 bytes bytes 1,513 µs 283 µs 6,768 bytes bytes
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan 1 1,493 µs 689 µs 22,752 bytes bytes 1,871 µs 1,071 µs 85,768 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlan… 1 1,465 µs 450 µs 2,064 bytes bytes 1,465 µs 450 µs 2,064 bytes bytes
Illuminate\Database\MySqlConnection::Illuminate\Database\{closure… 1 1,034 µs 83 µs 5,320 bytes bytes 1,034 µs 83 µs 5,320 bytes bytes
App\Services\Vouchers\CodeGenerator::getChars 1 875 µs 267 µs -5,256 bytes bytes 914 µs 308 µs 1,800 bytes bytes
App\Services\Vouchers\CodeGenerator::getCodeLength 1 829 µs 261 µs -5,352 bytes bytes 877 µs 310 µs 1,704 bytes bytes
App\Models\Tenant\VoucherSerie::logChanges 2 561 µs 563 µs 12,640 bytes bytes 599 µs 603 µs 15,080 bytes bytes
Stancl\Tenancy\CacheManager::__call 2 538 µs 185 µs 1,816 bytes bytes 2,449 µs 1,274 µs 71,728 bytes bytes
Illuminate\Redis\Connections\PhpRedisConnection::zadd 1 521 µs 67 µs 848 bytes bytes 521 µs 67 µs 848 bytes bytes
Illuminate\Cache\RedisTaggedCache::put 1 467 µs 92 µs 536 bytes bytes 1,147 µs 322 µs 4,488 bytes bytes
load::RedirectFlow/VoucherCreator_php 1 356 µs 357 µs 116,848 bytes bytes 356 µs 357 µs 116,848 bytes bytes
load::settings/localization_php 3 338 µs 340 µs 95,208 bytes bytes 338 µs 340 µs 95,208 bytes bytes
load::Tenant/VoucherSerie_php 1 275 µs 276 µs 48,416 bytes bytes 275 µs 276 µs 48,416 bytes bytes
Illuminate\Database\MySqlConnection::insert 1 260 µs 85 µs -3,832 bytes bytes 1,294 µs 168 µs 1,488 bytes bytes
load::src/ProfilingData_php 1 226 µs 228 µs 18,784 bytes bytes 226 µs 228 µs 18,784 bytes bytes
load::TrialSessions/TrialSessionsMaker_php 1 222 µs 223 µs 16,584 bytes bytes 222 µs 223 µs 16,584 bytes bytes
load::Cache/RedisTaggedCache_php 1 172 µs 174 µs 16,136 bytes bytes 172 µs 174 µs 16,136 bytes bytes
Illuminate\Database\Eloquent\Builder::create 1 158 µs 156 µs 4,576 bytes bytes 3,057,790 µs 24,216 µs -83,840 bytes bytes
load::Cache/RedisTagSet_php 1 156 µs 157 µs 19,104 bytes bytes 156 µs 157 µs 19,104 bytes bytes
load::settings/finance_php 4 144 µs 148 µs 28,176 bytes bytes 144 µs 148 µs 28,176 bytes bytes
load::Cache/TagSet_php 1 135 µs 137 µs 12,576 bytes bytes 135 µs 137 µs 12,576 bytes bytes
load::Cache/TaggedCache_php 1 124 µs 126 µs 12,584 bytes bytes 124 µs 126 µs 12,584 bytes bytes
load::settings/captive_portal_php 2 121 µs 122 µs 14,880 bytes bytes 121 µs 122 µs 14,880 bytes bytes
load::Plans/BuyMutex_php 1 116 µs 118 µs 6,656 bytes bytes 116 µs 118 µs 6,656 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 106 µs 110 µs 776 bytes bytes 106 µs 110 µs 776 bytes bytes
load::Vouchers/CodeGenerator_php 1 97 µs 98 µs 7,264 bytes bytes 97 µs 98 µs 7,264 bytes bytes
load::settings/customers_php 2 95 µs 145 µs 10,032 bytes bytes 95 µs 145 µs 10,032 bytes bytes
Illuminate\Cache\RedisTagSet::addEntry 1 93 µs 94 µs 312 bytes bytes 621 µs 167 µs 2,592 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileInsert 1 89 µs 88 µs 3,472 bytes bytes 94 µs 94 µs 4,248 bytes bytes
Illuminate\Cache\RedisStore::tags 2 84 µs 78 µs -5,088 bytes bytes 679 µs 680 µs 56,480 bytes bytes
load::settings/status_page_notifications_php 3 75 µs 79 µs 16,944 bytes bytes 75 µs 79 µs 16,944 bytes bytes
Illuminate\Cache\TaggedCache::event 4 55 µs 51 µs 1,296 bytes bytes 64 µs 66 µs 2,448 bytes bytes
App\Models\Tenant\VoucherSerie::eventsToBeRecorded 3 50 µs 53 µs 2,168 bytes bytes 50 µs 53 µs 2,168 bytes bytes
Illuminate\Database\Eloquent\Model::performInsert 1 50 µs 45 µs -2,608 bytes bytes 4,368 µs 2,712 µs 26,112 bytes bytes
App\Models\Tenant\VoucherSerie::initializeSoftDeletes 6 47 µs 34 µs 1,960 bytes bytes 70 µs 70 µs 2,592 bytes bytes
load::settings/splynx_integration_php 2 44 µs 44 µs 12,752 bytes bytes 44 µs 44 µs 12,752 bytes bytes
App\Models\Tenant\VoucherSerie::isRestoring 1 44 µs 44 µs 664 bytes bytes 47 µs 47 µs 1,264 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogEvent 1 43 µs 43 µs 696 bytes bytes 90 µs 90 µs 1,960 bytes bytes
load::settings/portal_php 2 40 µs 43 µs 6,368 bytes bytes 40 µs 43 µs 6,368 bytes bytes
load::settings/voucher_limit_notifications_php 2 36 µs 38 µs 12,080 bytes bytes 36 µs 38 µs 12,080 bytes bytes
load::settings/finance_notifications_php 2 35 µs 37 µs 8,944 bytes bytes 35 µs 37 µs 8,944 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::buildIdentityKey 1 34 µs 35 µs 1,328 bytes bytes 34 µs 35 µs 1,328 bytes bytes
Illuminate\Routing\UrlGenerator::Stancl\Tenancy\Bootstrappers\{cl… 3 29 µs 95 µs 1,168 bytes bytes 29 µs 95 µs 1,168 bytes bytes
Xhgui\Profiler\Profiler::disable 1 29 µs 26 µs -4,224 bytes bytes 262 µs 262 µs 15,728 bytes bytes
App\Models\Tenant\VoucherSerie::getDeletedAtColumn 14 27 µs 40 µs 1,864 bytes bytes 27 µs 40 µs 1,864 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 27 µs 24 µs 768 bytes bytes 3,331 µs 925 µs 11,040 bytes bytes
App\Format\FormatManager::toSystemTimezone 1 27 µs 28 µs 1,840 bytes bytes 27 µs 28 µs 1,840 bytes bytes
App\Models\Tenant\VoucherSerie::attributesToBeLogged 3 27 µs 23 µs 1,136 bytes bytes 46 µs 50 µs 3,072 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 26 27 µs 32 µs 632 bytes bytes 27 µs 32 µs 632 bytes bytes
App\Models\Tenant\VoucherSerie::getLogNameToUse 1 23 µs 24 µs 632 bytes bytes 23 µs 24 µs 632 bytes bytes
App\Services\RedirectFlow\VoucherCreator::getSeriePrefixByPlan 1 22 µs 23 µs 1,088 bytes bytes 22 µs 23 µs 1,088 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::tryLock 1 21 µs 20 µs 584 bytes bytes 2,504 µs 1,329 µs 73,640 bytes bytes
Illuminate\Database\Query\Builder::insertGetId 1 21 µs 22 µs 1,424 bytes bytes 1,428 µs 303 µs 7,696 bytes bytes
Illuminate\Cache\Repository::tags 2 18 µs 17 µs 760 bytes bytes 703 µs 705 µs 58,408 bytes bytes
Illuminate\Database\Eloquent\Model::insertAndSetId 1 18 µs 18 µs 2,032 bytes bytes 1,446 µs 321 µs 9,728 bytes bytes
Illuminate\Cache\TagSet::tagIds 4 17 µs 17 µs 2,080 bytes bytes 21 µs 23 µs 2,840 bytes bytes
App\Models\Tenant\VoucherSerie::bootLogsActivity 1 17 µs 13 µs 448 bytes bytes 43 µs 43 µs 9,736 bytes bytes
App\Models\Tenant\VoucherSerie::getActivitylogOptions 4 16 µs 23 µs 2,160 bytes bytes 16 µs 23 µs 2,160 bytes bytes
Illuminate\Cache\TaggedCache::taggedItemKey 3 14 µs 14 µs 792 bytes bytes 42 µs 44 µs 4,064 bytes bytes
Illuminate\Cache\TagSet::getNamespace 3 12 µs 12 µs 1,280 bytes bytes 28 µs 30 µs 3,272 bytes bytes
Illuminate\Database\Query\Processors\MySqlProcessor::processInser… 1 11 µs 11 µs 760 bytes bytes 1,306 µs 180 µs 2,880 bytes bytes
Illuminate\Cache\TaggedCache::itemKey 3 µs 11 µs 1,232 bytes bytes 51 µs 55 µs 5,296 bytes bytes
App\Models\Tenant\VoucherSerie::getQualifiedDeletedAtColumn 1 µs 10 µs 752 bytes bytes 10 µs 11 µs 1,384 bytes bytes
Illuminate\Database\Eloquent\Model::setCreatedAt 1 µs µs 896 bytes bytes µs µs 896 bytes bytes
Illuminate\Database\Eloquent\Model::getKey 1 µ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
Xhgui\Profiler\Profiler::registerShutdownHandler 1 µs µs 1,200 bytes bytes µs µs 1,200 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
Illuminate\Cache\Repository::set 1 µs µs 632 bytes bytes 1,152 µs 326 µs 5,120 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::Illuminate\Database\Q… 1 µs µs 776 bytes bytes µs µs 776 bytes bytes
Illuminate\Cache\TagSet::getNames 4 µs µs 568 bytes bytes µs µs 568 bytes bytes
Illuminate\Cache\RedisTagSet::tagId 4 µs µs 760 bytes bytes µs µs 760 bytes bytes
App\Models\Tenant\VoucherSerie::bootSoftDeletes 1 µs µs 1,064 bytes bytes µs µs 1,064 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileInsertGetId 1 µs µs 696 bytes bytes 101 µs 101 µs 3,392 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\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\Database\Eloquent\Relations\Pivot::getUpdatedAtColumn 2 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Database\Query\Grammars\MySqlGrammar::compileInsert 1 µs µs -1,552 bytes bytes 97 µs 98 µs 2,696 bytes bytes
Xhgui\Profiler\Profilers\XHProf::disable 1 µ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\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
App\Services\RedirectFlow\Plans\BuyMutex::__construct 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Services\RedirectFlow\VoucherCreator::__construct 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Database\Eloquent\Model::usesUniqueIds 1 µs µs 600 bytes bytes µs µs 600 bytes bytes
Illuminate\Database\Eloquent\Model::getAttributesForInsert 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Database\MySqlConnection::getLastInsertId 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