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

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}
9,424,368 µs
App\Models\Tenant\VoucherSerie::recalculateQuantity
234,588 µs
main()
14,648 µs
App\Services\RedirectFlow\VoucherCreator::createVoucher
13,986 µs
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderPlan
7,574 µs
Illuminate\Database\Eloquent\Model::performInsert
3,423 µs

Memory Hogs

load::settings/localization_php
95,208 bytes
load::Vouchers/CodeGenerator_php
94,816 bytes
load::Tenant/VoucherSerie_php
48,416 bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity
45,096 bytes
load::RedirectFlow/VoucherCreator_php
34,928 bytes
load::settings/finance_php
28,176 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 9,424,368 µs 52,246 µs -117,400 bytes bytes 9,429,350 µs 55,651 µs -88,080 bytes bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity 1 234,588 µs 2,548 µs 45,096 bytes bytes 238,500 µs 5,901 µs 72,616 bytes bytes
main() 1 14,648 µs 5,877 µs -5,560 bytes bytes 9,715,388 µs 85,927 µs 502,680 bytes bytes
App\Services\RedirectFlow\VoucherCreator::createVoucher 1 13,986 µs 7,619 µs 10,752 bytes bytes 9,688,303 µs 72,364 µs 273,000 bytes bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderP… 1 7,574 µs 3,845 µs -33,912 bytes bytes 9,699,803 µs 79,107 µs 392,992 bytes bytes
Illuminate\Database\Eloquent\Model::performInsert 1 3,423 µs 2,884 µs 12,928 bytes bytes 4,891 µs 3,243 µs 25,384 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 6 2,056 µs 2,116 µs 12,176 bytes bytes 3,932 µs 3,378 µs 35,896 bytes bytes
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan 1 1,884 µs 809 µs 22,752 bytes bytes 2,366 µs 1,298 µs 85,768 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlan… 1 1,560 µs 727 µs 2,064 bytes bytes 1,560 µs 727 µs 2,064 bytes bytes
App\Services\Vouchers\CodeGenerator::checkIfCodeExists 1 1,499 µs 430 µs 1,136 bytes bytes 1,499 µs 430 µs 1,136 bytes bytes
App\Models\Tenant\VoucherSerie::attributeValuesToBeLogged 1 1,120 µs 486 µs 176 bytes bytes 1,337 µs 715 µs 5,544 bytes bytes
Illuminate\Database\MySqlConnection::Illuminate\Database\{closure… 1 1,087 µs 88 µs 5,320 bytes bytes 1,087 µs 88 µs 5,320 bytes bytes
App\Services\Vouchers\CodeGenerator::getChars 1 935 µs 297 µs -5,256 bytes bytes 982 µs 345 µs 1,800 bytes bytes
App\Services\Vouchers\CodeGenerator::getCodeLength 1 769 µs 261 µs -5,352 bytes bytes 808 µs 301 µs 1,704 bytes bytes
App\Models\Tenant\VoucherSerie::logChanges 2 489 µs 488 µs 11,680 bytes bytes 519 µs 520 µs 14,120 bytes bytes
load::settings/localization_php 3 419 µs 423 µs 95,208 bytes bytes 419 µs 423 µs 95,208 bytes bytes
load::RedirectFlow/VoucherCreator_php 1 367 µs 369 µs 34,928 bytes bytes 367 µs 369 µs 34,928 bytes bytes
load::Tenant/VoucherSerie_php 1 345 µs 347 µs 48,416 bytes bytes 345 µs 347 µs 48,416 bytes bytes
Stancl\Tenancy\CacheManager::__call 2 270 µs 211 µs 1,816 bytes bytes 1,606 µs 1,406 µs 75,328 bytes bytes
load::TrialSessions/TrialSessionsMaker_php 1 242 µs 243 µs 16,584 bytes bytes 242 µs 243 µs 16,584 bytes bytes
Illuminate\Database\MySqlConnection::insert 1 223 µs 111 µs -3,832 bytes bytes 1,310 µs 199 µs 1,488 bytes bytes
Illuminate\Cache\RedisTagSet::addEntry 1 189 µs 186 µs -952 bytes bytes 434 µs 333 µs 6,824 bytes bytes
load::Plans/BuyMutex_php 1 188 µs 190 µs 6,656 bytes bytes 188 µs 190 µs 6,656 bytes bytes
load::settings/finance_php 4 184 µs 186 µs 28,176 bytes bytes 184 µs 186 µs 28,176 bytes bytes
load::Cache/RedisTagSet_php 1 182 µs 183 µs 19,104 bytes bytes 182 µs 183 µs 19,104 bytes bytes
load::src/ProfilingData_php 1 180 µs 182 µs 22,880 bytes bytes 180 µs 182 µs 22,880 bytes bytes
Illuminate\Redis\Connections\PhpRedisConnection::zadd 1 177 µs 76 µs 848 bytes bytes 177 µs 76 µs 848 bytes bytes
load::Cache/RedisTaggedCache_php 1 164 µs 165 µs 16,136 bytes bytes 164 µs 165 µs 16,136 bytes bytes
Illuminate\Cache\RedisTaggedCache::put 1 150 µs 102 µs 536 bytes bytes 639 µs 494 µs 8,720 bytes bytes
Illuminate\Database\Eloquent\Builder::create 1 142 µs 139 µs 4,576 bytes bytes 9,429,492 µs 55,790 µs -83,504 bytes bytes
load::settings/captive_portal_php 2 126 µs 126 µs 14,880 bytes bytes 126 µs 126 µs 14,880 bytes bytes
load::Vouchers/CodeGenerator_php 1 114 µs 116 µs 94,816 bytes bytes 114 µs 116 µs 94,816 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 99 µs 102 µs 776 bytes bytes 99 µs 102 µs 776 bytes bytes
load::settings/customers_php 2 95 µs 96 µs 10,032 bytes bytes 95 µs 96 µs 10,032 bytes bytes
load::Cache/TaggedCache_php 1 88 µs 88 µs 12,584 bytes bytes 88 µs 88 µs 12,584 bytes bytes
Carbon\Carbon::rawAddUnit 3 85 µs 81 µs 680 bytes bytes 117 µs 181 µs 1,800 bytes bytes
load::Cache/TagSet_php 1 81 µs 82 µs 12,576 bytes bytes 81 µs 82 µs 12,576 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogEvent 1 78 µs 78 µs 696 bytes bytes 127 µs 128 µs 1,960 bytes bytes
Illuminate\Cache\RedisStore::tags 2 75 µs 71 µs -5,088 bytes bytes 596 µs 597 µs 56,480 bytes bytes
load::settings/status_page_notifications_php 3 74 µs 76 µs 16,944 bytes bytes 74 µs 76 µs 16,944 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileInsert 1 65 µs 64 µs 3,472 bytes bytes 70 µs 70 µs 4,248 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::buildIdentityKey 1 53 µs 54 µs 1,328 bytes bytes 53 µs 54 µs 1,328 bytes bytes
Illuminate\Cache\TaggedCache::event 4 48 µs 48 µs 1,296 bytes bytes 75 µs 78 µs 2,448 bytes bytes
App\Models\Tenant\VoucherSerie::isRestoring 1 47 µs 47 µs 664 bytes bytes 49 µs 50 µs 1,264 bytes bytes
load::settings/portal_php 2 44 µs 46 µs 6,368 bytes bytes 44 µs 46 µs 6,368 bytes bytes
load::settings/splynx_integration_php 2 42 µs 44 µs 12,752 bytes bytes 42 µs 44 µs 12,752 bytes bytes
App\Models\Tenant\VoucherSerie::eventsToBeRecorded 3 42 µs 45 µs 2,168 bytes bytes 42 µs 45 µs 2,168 bytes bytes
load::settings/finance_notifications_php 2 40 µs 42 µs 8,944 bytes bytes 40 µs 42 µs 8,944 bytes bytes
App\Models\Tenant\VoucherSerie::initializeSoftDeletes 6 40 µs 36 µs 1,960 bytes bytes 63 µs 66 µs 2,592 bytes bytes
load::settings/voucher_limit_notifications_php 2 39 µs 41 µs 12,080 bytes bytes 39 µs 41 µs 12,080 bytes bytes
Carbon\Carbon::addUnit 3 39 µs 40 µs 6,280 bytes bytes 156 µs 221 µs 8,080 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 37 µs 31 µs 768 bytes bytes 3,326 µs 1,107 µs 5,408 bytes bytes
App\Services\RedirectFlow\VoucherCreator::getSeriePrefixByPlan 1 33 µs 34 µs 1,088 bytes bytes 33 µs 34 µs 1,088 bytes bytes
Carbon\Carbon::rawAdd 3 27 µs 93 µs 552 bytes bytes 27 µs 93 µs 552 bytes bytes
App\Models\Tenant\VoucherSerie::getDeletedAtColumn 14 27 µs 36 µs 1,864 bytes bytes 27 µs 36 µs 1,864 bytes bytes
App\Models\Tenant\VoucherSerie::attributesToBeLogged 3 26 µs 25 µs 1,136 bytes bytes 39 µs 43 µs 3,072 bytes bytes
Illuminate\Database\Eloquent\Model::insertAndSetId 1 25 µs 26 µs 2,032 bytes bytes 1,449 µs 337 µs 9,728 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::tryLock 1 24 µs 22 µs 584 bytes bytes 1,683 µs 1,482 µs 77,240 bytes bytes
Xhgui\Profiler\Profiler::disable 1 24 µs 21 µs -4,224 bytes bytes 211 µs 211 µs 19,824 bytes bytes
Illuminate\Cache\TagSet::getNames 4 22 µs 24 µs 568 bytes bytes 22 µs 24 µs 568 bytes bytes
App\Models\Tenant\VoucherSerie::bootLogsActivity 1 22 µs 17 µs 448 bytes bytes 57 µs 58 µs 9,736 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 26 22 µs 30 µs 632 bytes bytes 22 µs 30 µs 632 bytes bytes
Illuminate\Cache\Repository::tags 2 20 µs 18 µs 760 bytes bytes 624 µs 626 µs 58,408 bytes bytes
Illuminate\Database\Query\Builder::insertGetId 1 20 µs 20 µs 1,424 bytes bytes 1,424 µs 311 µs 7,696 bytes bytes
Illuminate\Routing\UrlGenerator::Stancl\Tenancy\Bootstrappers\{cl… 3 19 µs 24 µs 1,168 bytes bytes 19 µs 24 µs 1,168 bytes bytes
Illuminate\Cache\TagSet::tagIds 4 18 µs 17 µs 2,080 bytes bytes 23 µs 25 µs 2,840 bytes bytes
Illuminate\Cache\TaggedCache::taggedItemKey 3 17 µs 14 µs 792 bytes bytes 45 µs 45 µs 4,064 bytes bytes
Carbon\Carbon::isModifiableUnit 3 15 µs 17 µs 2,224 bytes bytes 15 µs 17 µs 2,224 bytes bytes
Illuminate\Database\Query\Processors\MySqlProcessor::processInser… 1 13 µs 11 µs 760 bytes bytes 1,325 µs 212 µs 2,880 bytes bytes
App\Models\Tenant\VoucherSerie::getQualifiedDeletedAtColumn 1 12 µs 11 µs 752 bytes bytes 14 µs 14 µs 1,384 bytes bytes
App\Models\Tenant\VoucherSerie::getActivitylogOptions 4 12 µs 16 µs 2,160 bytes bytes 12 µs 16 µs 2,160 bytes bytes
Illuminate\Cache\TagSet::getNamespace 3 11 µs 11 µs 1,280 bytes bytes 28 µs 31 µs 3,272 bytes bytes
Illuminate\Database\Eloquent\Model::getKey 1 10 µs 11 µs 600 bytes bytes 10 µs 11 µs 600 bytes bytes
App\Models\Tenant\VoucherSerie::getLogNameToUse 1 10 µs 11 µs 632 bytes bytes 10 µs 11 µs 632 bytes bytes
Illuminate\Cache\TaggedCache::itemKey 3 µs 11 µs 1,232 bytes bytes 53 µs 56 µs 5,296 bytes bytes
Illuminate\Database\Eloquent\Model::setCreatedAt 1 µs µs 896 bytes bytes µs µs 896 bytes bytes
Carbon\Carbon::getMagicParameter 3 µs µs 1,816 bytes bytes µs µs 1,816 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 760 bytes bytes µs µs 760 bytes bytes
Carbon\CarbonInterval::invert 3 µs µs 568 bytes bytes µs µs 568 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::Illuminate\Database\Q… 1 µs µs 776 bytes bytes µs µs 776 bytes bytes
Illuminate\Database\Query\Grammars\MySqlGrammar::compileInsert 1 µs µs -1,552 bytes bytes 75 µs 75 µs 2,696 bytes bytes
Xhgui\Profiler\Profiler::registerShutdownHandler 1 µs µs 1,200 bytes bytes µs µs 1,200 bytes bytes
Illuminate\Cache\Repository::supportsTags 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
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 79 µs 79 µs 3,392 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogUnguarded 3 µ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\TaggedCache::__construct 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
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
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
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
Illuminate\Cache\RedisStore::getPrefix 1 µs µs 584 bytes bytes µs µs 584 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
App\Models\Tenant\VoucherSerie::isLogEmpty 1 µs µs 632 bytes bytes µs µs 632 bytes bytes