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

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

App\Events\Voucher\VoucherExpirationTrack::handle
1,047,168 µs
main()
38,507 µs
Illuminate\Database\Query\Builder::aggregate
26,310 µs
App\Services\RedirectFlow\VoucherCreator::createVoucher
9,623 µs
App\Listeners\Voucher\SendStatusPageSmsNotification::handle
4,811 µs
App\Models\Tenant\VoucherSerie::recalculateQuantity
2,769 µs

Memory Hogs

load::settings/localization_php
94,608 bytes
Illuminate\Database\Query\Builder::aggregate
41,832 bytes
load::settings/finance_php
28,192 bytes
load::settings/status_page_notifications_php
16,976 bytes
load::settings/captive_portal_php
14,880 bytes
App\Services\RedirectFlow\VoucherCreator::createVoucher
14,456 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
App\Events\Voucher\VoucherExpirationTrack::handle 1 1,047,168 µs 12,731 µs -2,016 bytes bytes 1,051,543 µs 16,056 µs -115,928 bytes bytes
main() 1 38,507 µs 12,168 µs -12,576 bytes bytes 1,159,523 µs 59,514 µs 269,280 bytes bytes
Illuminate\Database\Query\Builder::aggregate 1 26,310 µs 1,472 µs 41,832 bytes bytes 26,362 µs 1,529 µs 49,136 bytes bytes
App\Services\RedirectFlow\VoucherCreator::createVoucher 1 9,623 µs 7,531 µs 14,456 bytes bytes 1,118,330 µs 45,767 µs 150,056 bytes bytes
App\Listeners\Voucher\SendStatusPageSmsNotification::handle 1 4,811 µs 2,855 µs -1,360 bytes bytes 5,363 µs 3,622 µs 91,360 bytes bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity 1 2,769 µs 1,606 µs 1,688 bytes bytes 34,374 µs 7,798 µs 85,232 bytes bytes
Illuminate\Database\Query\Builder::incrementEach 2 2,703 µs 533 µs 2,480 bytes bytes 2,730 µs 562 µs 5,088 bytes bytes
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure} 1 2,518 µs 2,634 µs 9,752 bytes bytes 4,487 µs 3,944 µs 35,640 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 2 2,463 µs 2,550 µs 10,024 bytes bytes 5,231 µs 4,654 µs 34,472 bytes bytes
Illuminate\Database\Eloquent\Builder::Illuminate\Database\Eloquen… 1 1,665 µs 562 µs -1,128 bytes bytes 1,059,316 µs 22,033 µs -74,384 bytes bytes
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan 1 1,541 µs 683 µs 5,816 bytes bytes 1,613 µs 757 µs 9,840 bytes bytes
App\Services\Vouchers\ExpirationSyncer::getWorkerIndex 1 1,440 µs 1,259 µs -125,424 bytes bytes 4,012 µs 2,964 µs -111,752 bytes bytes
App\Services\Vouchers\CodeGenerator::checkIfCodeExists 1 1,429 µs 343 µs 1,136 bytes bytes 1,429 µs 343 µs 1,136 bytes bytes
App\Models\Tenant\VoucherSerie::attributeValuesToBeLogged 1 1,327 µs 653 µs -232 bytes bytes 1,884 µs 1,213 µs 6,208 bytes bytes
Illuminate\Database\Eloquent\Builder::firstOrNew 1 1,277 µs 1,180 µs 6,048 bytes bytes 1,277 µs 1,180 µs 6,048 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 1,220 µs 386 µs -2,848 bytes bytes 3,162 µs 913 µs 5,800 bytes bytes
App\Models\Tenant\Voucher::attributeValuesToBeLogged 1 1,169 µs 503 µs 2,144 bytes bytes 1,621 µs 958 µs 19,760 bytes bytes
Illuminate\Database\Eloquent\Relations\HasMany::getResults 1 1,166 µs 906 µs 1,288 bytes bytes 1,166 µs 906 µs 1,288 bytes bytes
App\Services\Vouchers\CodeGenerator::getChars 1 853 µs 308 µs -5,256 bytes bytes 937 µs 393 µs 1,800 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 838 µs 271 µs 1,424 bytes bytes 842 µs 276 µs 2,152 bytes bytes
App\Services\Vouchers\CodeGenerator::getCodeLength 1 806 µs 338 µs -5,352 bytes bytes 850 µs 383 µs 1,704 bytes bytes
Stancl\Tenancy\CacheManager::__call 2 620 µs 259 µs 1,816 bytes bytes 1,833 µs 717 µs 17,536 bytes bytes
Carbon\Carbon::isoFormat 12 551 µs 534 µs 5,832 bytes bytes 735 µs 747 µs 8,216 bytes bytes
load::settings/localization_php 3 547 µs 670 µs 94,608 bytes bytes 547 µs 670 µs 94,608 bytes bytes
Illuminate\Redis\Connections\PhpRedisConnection::zadd 1 464 µs 67 µs 848 bytes bytes 464 µs 67 µs 848 bytes bytes
Illuminate\Cache\RedisTaggedCache::put 1 442 µs 87 µs 536 bytes bytes 1,104 µs 352 µs 5,768 bytes bytes
App\Models\Tenant\VoucherSerie::logChanges 2 436 µs 433 µs 9,832 bytes bytes 773 µs 774 µs 14,312 bytes bytes
Carbon\Carbon::toISOString 12 329 µs 306 µs -5,016 bytes bytes 1,221 µs 2,124 µs 12,864 bytes bytes
App\Models\Tenant\Voucher::logChanges 1 265 µs 264 µs 3,632 bytes bytes 405 µs 406 µs 9,456 bytes bytes
App\Models\Tenant\Voucher::triggerSyncEvent 1 244 µs 240 µs -2,648 bytes bytes 1,466 µs 1,203 µs 3,224 bytes bytes
App\Models\Tenant\Voucher::getExpireTime 1 202 µs 201 µs 920 bytes bytes 210 µs 211 µs 2,816 bytes bytes
load::settings/finance_php 4 200 µs 204 µs 28,192 bytes bytes 200 µs 204 µs 28,192 bytes bytes
Illuminate\Database\Eloquent\Builder::create 1 194 µs 194 µs 3,392 bytes bytes 1,059,510 µs 22,227 µs -70,992 bytes bytes
Carbon\Carbon::getPaddedUnit 36 164 µs 182 µs 1,832 bytes bytes 164 µs 182 µs 1,832 bytes bytes
load::settings/captive_portal_php 2 163 µs 165 µs 14,880 bytes bytes 163 µs 165 µs 14,880 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 148 µs 153 µs 776 bytes bytes 148 µs 153 µs 776 bytes bytes
App\Services\Vouchers\ExpirationSyncer::syncVoucher 1 142 µs 142 µs -5,856 bytes bytes 4,375 µs 3,325 µs -113,912 bytes bytes
Illuminate\Database\Eloquent\Model::incrementOrDecrement 2 137 µs 131 µs 1,616 bytes bytes 2,986 µs 803 µs 9,880 bytes bytes
Illuminate\Cache\RedisTagSet::addEntry 1 134 µs 132 µs 1,592 bytes bytes 606 µs 208 µs 3,872 bytes bytes
App\Services\Vouchers\ExpirationSyncer::App\Services\Vouchers\{cl… 1 128 µs 125 µs -2,776 bytes bytes 2,562 µs 1,695 µs 13,120 bytes bytes
App\Models\Tenant\VoucherSerie::isRestoring 1 102 µs 103 µs 664 bytes bytes 105 µs 107 µs 1,264 bytes bytes
load::settings/customers_php 2 95 µs 98 µs 10,048 bytes bytes 95 µs 98 µs 10,048 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 94 µs 96 µs 6,032 bytes bytes 94 µs 96 µs 6,032 bytes bytes
App\Models\Tenant\Voucher::App\Models\Tenant\{closure} 2 93 µs 93 µs 1,120 bytes bytes 1,053,164 µs 17,527 µs -108,896 bytes bytes
load::settings/status_page_notifications_php 3 91 µs 96 µs 16,976 bytes bytes 91 µs 96 µs 16,976 bytes bytes
Carbon\Carbon::utc 12 91 µs 99 µs 552 bytes bytes 91 µs 99 µs 552 bytes bytes
Illuminate\Database\Eloquent\Model::serializeDate 12 85 µs 79 µs 3,160 bytes bytes 1,360 µs 2,255 µs 8,128 bytes bytes
load::settings/finance_notifications_php 2 84 µs 87 µs 8,944 bytes bytes 84 µs 87 µs 8,944 bytes bytes
App\Models\Tenant\Voucher::customer 1 83 µs 84 µs 8,808 bytes bytes 83 µs 84 µs 8,808 bytes bytes
Carbon\Carbon::avoidMutation 12 66 µs 972 µs 9,112 bytes bytes 66 µs 972 µs 9,112 bytes bytes
load::settings/splynx_integration_php 2 58 µs 59 µs 12,752 bytes bytes 58 µs 59 µs 12,752 bytes bytes
App\Models\Tenant\Voucher::macs 1 56 µs 57 µs 4,584 bytes bytes 56 µs 57 µs 4,584 bytes bytes
Carbon\Carbon::toJSON 12 54 µs 52 µs -7,896 bytes bytes 1,275 µs 2,176 µs 4,968 bytes bytes
Illuminate\Database\Eloquent\Model::Illuminate\Database\Eloquent\… 2 54 µs 57 µs 1,384 bytes bytes 54 µs 57 µs 1,384 bytes bytes
load::settings/portal_php 2 53 µs 136 µs 6,368 bytes bytes 53 µs 136 µs 6,368 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogEvent 1 52 µs 51 µs 696 bytes bytes 157 µs 158 µs 1,960 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 26 52 µs 51 µs 632 bytes bytes 52 µs 51 µs 632 bytes bytes
load::settings/voucher_limit_notifications_php 2 51 µs 52 µs 12,080 bytes bytes 51 µs 52 µs 12,080 bytes bytes
Illuminate\Cache\TaggedCache::event 4 50 µs 46 µs 1,296 bytes bytes 59 µs 60 µs 2,448 bytes bytes
App\Models\Tenant\VoucherSerie::initializeSoftDeletes 6 49 µs 38 µs 1,960 bytes bytes 74 µs 74 µs 2,592 bytes bytes
App\Models\Tenant\VoucherSerie::eventsToBeRecorded 2 42 µs 44 µs 1,256 bytes bytes 42 µs 44 µs 1,256 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::buildIdentityKey 1 41 µs 41 µs 688 bytes bytes 41 µs 41 µs 688 bytes bytes
App\Models\Tenant\Voucher::triggerExpirationSync 1 41 µs 153 µs 760 bytes bytes 1,051,586 µs 16,211 µs -114,536 bytes bytes
App\Models\Tenant\Voucher::getActivitylogOptions 3 37 µs 21 µs 2,032 bytes bytes 48 µs 50 µs 3,232 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 35 µs 31 µs 768 bytes bytes 3,251 µs 1,150 µs 5,408 bytes bytes
Illuminate\Database\Eloquent\Model::isClassDeviable 4 35 µs 25 µs 632 bytes bytes 35 µs 25 µs 632 bytes bytes
App\Models\Tenant\VoucherSerie::getActivitylogOptions 4 33 µs 31 µs 2,288 bytes bytes 44 µs 51 µs 3,488 bytes bytes
App\Models\Tenant\VoucherSerie::getDeletedAtColumn 14 31 µs 44 µs 1,864 bytes bytes 31 µs 44 µs 1,864 bytes bytes
Illuminate\Cache\Repository::tags 2 28 µs 20 µs 760 bytes bytes 55 µs 50 µs 4,848 bytes bytes
App\Models\Tenant\VoucherSerie::attributesToBeLogged 3 28 µs 22 µs 1,136 bytes bytes 64 µs 67 µs 4,400 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 28 µs 30 µs 1,048 bytes bytes 28 µs 30 µs 1,048 bytes bytes
App\Models\Tenant\VoucherSerie::getLogNameToUse 1 26 µs 27 µs 632 bytes bytes 26 µs 27 µs 632 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::tryLock 1 24 µs 21 µs 504 bytes bytes 1,898 µs 779 µs 18,728 bytes bytes
App\Services\RedirectFlow\VoucherCreator::getSeriePrefixByPlan 1 24 µs 25 µs 1,312 bytes bytes 24 µs 25 µs 1,312 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::__construct 1 22 µs 23 µs 1,344 bytes bytes 22 µs 23 µs 1,344 bytes bytes
Carbon\Carbon::getIsoUnits 12 20 µs 31 µs 552 bytes bytes 20 µs 31 µs 552 bytes bytes
App\Models\Tenant\Voucher::shouldLogEvent 1 19 µs 18 µs 696 bytes bytes 31 µs 32 µs 1,280 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileAggregate 1 19 µs 20 µs 688 bytes bytes 19 µs 20 µs 688 bytes bytes
Illuminate\Routing\UrlGenerator::Stancl\Tenancy\Bootstrappers\{cl… 3 17 µs 18 µs 1,136 bytes bytes 17 µs 18 µs 1,136 bytes bytes
App\Models\Tenant\Voucher::getFullCode 1 17 µs 16 µs 632 bytes bytes 19 µs 20 µs 1,296 bytes bytes
App\Models\Tenant\Voucher::attributesToBeLogged 2 17 µs 17 µs 1,088 bytes bytes 56 µs 58 µs 2,736 bytes bytes
Illuminate\Cache\TagSet::tagIds 4 16 µs 19 µs 2,080 bytes bytes 24 µs 27 µs 2,840 bytes bytes
App\Models\Tenant\VoucherSerie::getQualifiedDeletedAtColumn 1 16 µs 16 µs 752 bytes bytes 19 µs 20 µs 1,384 bytes bytes
Illuminate\Database\Eloquent\Builder::increment 2 16 µs 15 µs 696 bytes bytes 2,760 µs 590 µs 6,248 bytes bytes
Illuminate\Cache\RedisStore::tags 2 14 µs 12 µs 1,752 bytes bytes 21 µs 22 µs 2,920 bytes bytes
Illuminate\Database\Query\Builder::increment 2 14 µs 13 µs 464 bytes bytes 2,744 µs 575 µs 5,552 bytes bytes
Illuminate\Database\Eloquent\Model::increment 2 14 µs 12 µs 1,360 bytes bytes 3,000 µs 815 µs 11,240 bytes bytes
Xhgui\Profiler\Profiler::disable 1 14 µs 11 µs 776 bytes bytes 20 µs 21 µs 1,944 bytes bytes
Illuminate\Cache\TaggedCache::taggedItemKey 3 13 µs 14 µs 792 bytes bytes 41 µs 44 µs 2,784 bytes bytes
App\Models\Tenant\Voucher::getLogNameToUse 1 13 µs 14 µs 632 bytes bytes 13 µs 14 µs 632 bytes bytes
App\Models\Tenant\Voucher::isRestoring 1 12 µs 14 µs 584 bytes bytes 12 µs 14 µs 584 bytes bytes
Illuminate\Database\Query\Builder::cloneWithout 1 12 µs µs 728 bytes bytes 16 µs 17 µs 2,472 bytes bytes
Illuminate\Database\Query\Builder::count 1 12 µs µs -64 bytes bytes 26,374 µs 1,538 µs 49,072 bytes bytes
Illuminate\Cache\TagSet::getNamespace 3 11 µs 11 µs bytes bytes 28 µs 30 µs 1,992 bytes bytes
Spatie\Activitylog\LogOptions::logFillable 7 11 µs 18 µs 1,200 bytes bytes 11 µs 18 µs 1,200 bytes bytes
Spatie\Activitylog\LogOptions::logOnlyDirty 7 11 µs 31 µs 1,200 bytes bytes 11 µs 31 µs 1,200 bytes bytes
Illuminate\Database\Eloquent\Model::getKey 1 11 µs 12 µs 6,232 bytes bytes 11 µs 12 µs 6,232 bytes bytes
Illuminate\Database\Query\Builder::raw 2 11 µs µs 664 bytes bytes 24 µs 25 µs 2,008 bytes bytes
App\Services\Vouchers\ExpirationSyncer::createKafkaMessage 1 11 µs µs 880 bytes bytes 4,023 µs 2,972 µs -110,872 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 11 µs 10 µs -1,024 bytes bytes 3,201 µs 953 µs 5,824 bytes bytes
Illuminate\Cache\TaggedCache::itemKey 3 10 µs µs 1,232 bytes bytes 51 µs 53 µs 4,016 bytes bytes
Illuminate\Database\Connection::raw 2 10 µs 11 µs 760 bytes bytes 13 µs 16 µs 1,344 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handleVouc… 1 10 µs µs 584 bytes bytes 4,053 µs 1,238 µs 8,560 bytes bytes
Illuminate\Database\Query\Builder::cloneWithoutBindings 1 µs µs 728 bytes bytes 13 µs 14 µs 3,168 bytes bytes
Illuminate\Cache\RedisTagSet::tagId 4 µs µs 760 bytes bytes µs µs 760 bytes bytes
App\Models\Tenant\Voucher::generateFullCode 2 µs µs 1,344 bytes bytes µs µs 1,344 bytes bytes
Carbon\Carbon::parse 1 µs µs 632 bytes bytes µs 10 µs 1,896 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handle 1 µs µs 696 bytes bytes 4,059 µs 1,243 µs 9,256 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::__construct 1 µ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
App\Models\VoucherExpireSchedule::getEmptyWorkerValues 1 µs µs 1,224 bytes bytes µs µs 1,224 bytes bytes
Illuminate\Support\Collection::only 1 µs µs 1,072 bytes bytes µs µs 1,072 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\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
Illuminate\Cache\TagSet::getNames 4 µs µs 568 bytes bytes µs µs 568 bytes bytes
App\Models\Tenant\Voucher::shouldLogUnguarded 2 µs µs 600 bytes bytes µs µs 600 bytes bytes
Illuminate\Database\Query\Builder::clone 2 µs µs 2,224 bytes bytes µs µs 2,224 bytes bytes
Illuminate\Database\Query\Builder::Illuminate\Database\Query\{clo… 2 µs µs 1,960 bytes bytes µs µs 1,960 bytes bytes
Illuminate\Database\Query\Builder::setAggregate 1 µs µs 976 bytes bytes µs µs 976 bytes bytes
App\Providers\GoRendererServiceProvider::App\Providers\{closure} 1 µs µs 752 bytes bytes µs µs 1,384 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 µs µs 728 bytes bytes µs µs 728 bytes bytes
Illuminate\Cache\TagSet::__construct 2 µs µs 584 bytes bytes µs µs 584 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::calc 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Database\Query\Expression::__construct 2 µs µs 584 bytes bytes µs µs 584 bytes bytes
Illuminate\Database\Query\Expression::getValue 2 µs µs 600 bytes bytes µs µs 600 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogUnguarded 3 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Events\Voucher\VoucherActivated::__construct 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Cache\Repository::setDefaultCacheTime 2 µs µs 584 bytes bytes µs µs 584 bytes bytes
App\Services\RedirectFlow\VoucherCreator::__construct 1 µs µs 568 bytes bytes µs µs 568 bytes bytes
Illuminate\Database\Eloquent\Relations\Pivot::getUpdatedAtColumn 2 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Models\Tenant\Voucher::getDescriptionForEvent 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Models\Tenant\Voucher::isLogEmpty 1 µs µs 600 bytes bytes µs µs 600 bytes bytes
App\Listeners\Voucher\VoucherTimeExpirationSync::__construct 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
Carbon\Carbon::rawParse 1 µs µs 1,264 bytes bytes µs µs 1,264 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
Illuminate\Cache\RedisStore::getPrefix 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
App\Services\Templates\GoRenderer::__construct 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