Profile data for GET http://isizwe.powerlynx.app/portal/api/redirect-flow/order-plan/1?hash=bba1c0c3bd2c72dc7b2819f98be18fb3

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\Query\Builder::aggregate
1,116,877 µs
App\Events\Voucher\VoucherExpirationTrack::handle
1,047,302 µs
main()
14,771 µs
App\Services\RedirectFlow\VoucherCreator::createVoucher
9,297 µs
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderPlan
6,138 µs
App\Listeners\Voucher\SendStatusPageSmsNotification::handle
3,758 µs

Memory Hogs

load::settings/localization_php
95,208 bytes
load::Vouchers/CodeGenerator_php
89,216 bytes
load::Tenant/VoucherSerie_php
48,416 bytes
Illuminate\Database\Query\Builder::aggregate
45,920 bytes
load::Models/VoucherExpireSchedule_php
38,512 bytes
load::RedirectFlow/VoucherCreator_php
34,968 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\Query\Builder::aggregate 1 1,116,877 µs 1,389 µs 45,920 bytes bytes 1,116,928 µs 1,442 µs 53,224 bytes bytes
App\Events\Voucher\VoucherExpirationTrack::handle 1 1,047,302 µs 14,460 µs -7,008 bytes bytes 1,052,391 µs 18,356 µs -57,360 bytes bytes
main() 1 14,771 µs 6,342 µs -55,784 bytes bytes 2,230,567 µs 58,362 µs 600,480 bytes bytes
App\Services\RedirectFlow\VoucherCreator::createVoucher 1 9,297 µs 6,806 µs 3,960 bytes bytes 2,204,326 µs 45,451 µs 421,152 bytes bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderP… 1 6,138 µs 3,275 µs -36,048 bytes bytes 2,214,987 µs 51,202 µs 545,112 bytes bytes
App\Listeners\Voucher\SendStatusPageSmsNotification::handle 1 3,758 µs 3,559 µs -2,576 bytes bytes 4,573 µs 4,387 µs 104,000 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 6 2,511 µs 2,604 µs 12,176 bytes bytes 4,448 µs 3,968 µs 36,528 bytes bytes
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure} 1 2,441 µs 2,499 µs 7,240 bytes bytes 3,954 µs 3,372 µs 25,728 bytes bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity 1 2,340 µs 1,206 µs 2,424 bytes bytes 1,123,714 µs 6,608 µs 83,736 bytes bytes
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan 1 2,034 µs 701 µs 22,752 bytes bytes 2,448 µs 1,122 µs 92,680 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 1,861 µs 676 µs 2,464 bytes bytes 1,893 µs 710 µs 3,512 bytes bytes
App\Services\Vouchers\ExpirationSyncer::getWorkerIndex 1 1,486 µs 1,145 µs -124,328 bytes bytes 3,899 µs 2,726 µs -79,416 bytes bytes
App\Services\Vouchers\CodeGenerator::checkIfCodeExists 1 1,309 µs 279 µs 1,136 bytes bytes 1,309 µs 279 µs 1,136 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlan… 1 1,259 µs 438 µs 2,064 bytes bytes 1,259 µs 438 µs 2,064 bytes bytes
App\Services\Vouchers\ExpirationSyncer::App\Services\Vouchers\{cl… 1 1,200 µs 624 µs -3,512 bytes bytes 2,406 µs 1,572 µs 44,360 bytes bytes
App\Models\Tenant\VoucherSerie::attributeValuesToBeLogged 1 1,090 µs 502 µs -232 bytes bytes 1,364 µs 785 µs 6,208 bytes bytes
App\Models\Tenant\Voucher::attributeValuesToBeLogged 1 1,072 µs 425 µs 2,080 bytes bytes 1,458 µs 814 µs 14,488 bytes bytes
Illuminate\Database\Eloquent\Builder::firstOrNew 1 958 µs 695 µs 6,128 bytes bytes 958 µs 695 µs 6,128 bytes bytes
Illuminate\Database\Eloquent\Relations\HasMany::getResults 1 907 µs 652 µs 1,288 bytes bytes 907 µs 652 µs 1,288 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handleVouc… 1 820 µs 1,076 µs -584 bytes bytes 2,802 µs 1,876 µs 6,688 bytes bytes
App\Services\Vouchers\CodeGenerator::getCodeLength 1 724 µs 228 µs -5,352 bytes bytes 765 µs 270 µs 1,704 bytes bytes
App\Services\Vouchers\ExpirationSyncer::syncVoucher 1 696 µs 578 µs -6,808 bytes bytes 4,892 µs 3,600 µs -79,152 bytes bytes
Stancl\Tenancy\CacheManager::__call 2 693 µs 213 µs 1,800 bytes bytes 2,639 µs 1,405 µs 78,200 bytes bytes
App\Services\Vouchers\CodeGenerator::getChars 1 692 µs 245 µs -5,256 bytes bytes 739 µs 293 µs 1,800 bytes bytes
App\Models\Tenant\VoucherSerie::logChanges 2 543 µs 546 µs 11,648 bytes bytes 577 µs 581 µs 14,088 bytes bytes
Illuminate\Redis\Connections\PhpRedisConnection::zadd 1 514 µs 68 µs 848 bytes bytes 514 µs 68 µs 848 bytes bytes
load::settings/localization_php 3 433 µs 437 µs 95,208 bytes bytes 433 µs 437 µs 95,208 bytes bytes
Illuminate\Cache\RedisTaggedCache::put 1 392 µs 81 µs 536 bytes bytes 1,250 µs 494 µs 11,608 bytes bytes
App\Models\Tenant\Voucher::logChanges 1 364 µs 365 µs 9,672 bytes bytes 376 µs 378 µs 10,480 bytes bytes
load::Tenant/VoucherSerie_php 1 298 µs 301 µs 48,416 bytes bytes 298 µs 301 µs 48,416 bytes bytes
load::Voucher/SendStatusPageSmsNotification_php 1 284 µs 287 µs 31,664 bytes bytes 284 µs 287 µs 31,664 bytes bytes
load::RedirectFlow/VoucherCreator_php 1 267 µs 268 µs 34,968 bytes bytes 267 µs 268 µs 34,968 bytes bytes
load::TrialSessions/TrialSessionsMaker_php 1 228 µs 230 µs 16,584 bytes bytes 228 µs 230 µs 16,584 bytes bytes
load::src/ProfilingData_php 1 219 µs 220 µs 18,784 bytes bytes 219 µs 220 µs 18,784 bytes bytes
load::Models/VoucherExpireSchedule_php 1 204 µs 207 µs 38,512 bytes bytes 204 µs 207 µs 38,512 bytes bytes
load::Vouchers/ExpirationSyncer_php 1 197 µs 296 µs 28,800 bytes bytes 197 µs 296 µs 28,800 bytes bytes
load::Templates/GoRenderer_php 1 190 µs 192 µs 18,840 bytes bytes 190 µs 192 µs 18,840 bytes bytes
App\Models\Tenant\Voucher::getExpireTime 1 163 µs 163 µs 272 bytes bytes 223 µs 223 µs 3,496 bytes bytes
load::Voucher/ActivatedVoucherStatisticUpdate_php 1 156 µs 158 µs 7,760 bytes bytes 156 µs 158 µs 7,760 bytes bytes
load::Cache/RedisTaggedCache_php 1 152 µs 153 µs 16,136 bytes bytes 152 µs 153 µs 16,136 bytes bytes
App\Models\Tenant\Voucher::triggerSyncEvent 1 151 µs 147 µs -2,600 bytes bytes 1,121 µs 864 µs 3,648 bytes bytes
load::settings/finance_php 4 150 µs 154 µs 28,192 bytes bytes 150 µs 154 µs 28,192 bytes bytes
Illuminate\Cache\RedisTagSet::addEntry 1 140 µs 136 µs -952 bytes bytes 807 µs 360 µs 9,712 bytes bytes
load::Cache/RedisTagSet_php 1 137 µs 138 µs 19,104 bytes bytes 137 µs 138 µs 19,104 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 137 µs 141 µs 792 bytes bytes 137 µs 141 µs 792 bytes bytes
load::settings/captive_portal_php 2 119 µs 118 µs 14,880 bytes bytes 119 µs 118 µs 14,880 bytes bytes
load::Cache/TagSet_php 1 110 µs 112 µs 12,576 bytes bytes 110 µs 112 µs 12,576 bytes bytes
load::Cache/TaggedCache_php 1 97 µs 99 µs 12,584 bytes bytes 97 µs 99 µs 12,584 bytes bytes
App\Models\Tenant\Voucher::customer 1 97 µs 99 µs 8,808 bytes bytes 97 µs 99 µs 8,808 bytes bytes
load::Voucher/VoucherActivated_php 1 94 µs 94 µs 3,368 bytes bytes 94 µs 94 µs 3,368 bytes bytes
load::Plans/BuyMutex_php 1 93 µs 96 µs 7,296 bytes bytes 93 µs 96 µs 7,296 bytes bytes
load::AggregatedData/ActivatedVouchersAggregatedStatistics_php 1 89 µs 90 µs 3,760 bytes bytes 89 µs 90 µs 3,760 bytes bytes
load::Vouchers/NextReactivateTimeCalculator_php 1 88 µs 89 µs 7,392 bytes bytes 88 µs 89 µs 7,392 bytes bytes
load::Vouchers/CodeGenerator_php 1 87 µs 88 µs 89,216 bytes bytes 87 µs 88 µs 89,216 bytes bytes
load::settings/customers_php 2 84 µs 85 µs 10,048 bytes bytes 84 µs 85 µs 10,048 bytes bytes
Carbon\CarbonInterval::fromString 2 84 µs 83 µs 2,056 bytes bytes 108 µs 110 µs 4,440 bytes bytes
Illuminate\Cache\RedisStore::tags 2 82 µs 76 µs -5,088 bytes bytes 587 µs 588 µs 56,480 bytes bytes
App\Models\Tenant\Voucher::App\Models\Tenant\{closure} 2 81 µs 79 µs 1,160 bytes bytes 1,053,820 µs 19,521 µs -45,856 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogEvent 1 81 µs 82 µs 696 bytes bytes 145 µs 146 µs 1,960 bytes bytes
App\Models\Tenant\Voucher::triggerExpirationSync 1 77 µs 67 µs -1,552 bytes bytes 1,052,601 µs 18,560 µs -51,960 bytes bytes
load::settings/status_page_notifications_php 3 76 µs 79 µs 16,976 bytes bytes 76 µs 79 µs 16,976 bytes bytes
load::Voucher/VoucherTimeExpirationSync_php 1 76 µs 77 µs 3,304 bytes bytes 76 µs 77 µs 3,304 bytes bytes
load::OrderProcess/UserInfo_php 1 74 µs 75 µs 2,496 bytes bytes 74 µs 75 µs 2,496 bytes bytes
App\Models\Tenant\Voucher::macs 1 63 µs 65 µs 4,960 bytes bytes 63 µs 65 µs 4,960 bytes bytes
load::Expiration/ExpirationSyncerPackage_php 1 63 µs 64 µs 2,696 bytes bytes 63 µs 64 µs 2,696 bytes bytes
App\Models\Tenant\VoucherSerie::isRestoring 1 62 µs 60 µs 664 bytes bytes 64 µs 64 µs 1,264 bytes bytes
load::Voucher/VoucherExpirationTrack_php 1 56 µs 58 µs 3,016 bytes bytes 56 µs 58 µs 3,016 bytes bytes
Carbon\Carbon::rawAddUnit 2 51 µs 49 µs -872 bytes bytes 170 µs 172 µs 4,688 bytes bytes
load::settings/splynx_integration_php 2 47 µs 50 µs 12,752 bytes bytes 47 µs 50 µs 12,752 bytes bytes
load::settings/portal_php 2 44 µs 45 µs 6,368 bytes bytes 44 µs 45 µs 6,368 bytes bytes
App\Models\Tenant\VoucherSerie::eventsToBeRecorded 3 44 µs 45 µs 2,168 bytes bytes 44 µs 45 µs 2,168 bytes bytes
load::settings/finance_notifications_php 2 43 µs 45 µs 8,944 bytes bytes 43 µs 45 µs 8,944 bytes bytes
Illuminate\Cache\TaggedCache::event 4 43 µs 40 µs 1,296 bytes bytes 52 µs 54 µs 2,448 bytes bytes
load::settings/voucher_limit_notifications_php 2 40 µs 41 µs 12,080 bytes bytes 40 µs 41 µs 12,080 bytes bytes
Illuminate\Cache\Repository::supportsTags 2 39 µs 41 µs 584 bytes bytes 39 µs 41 µs 584 bytes bytes
App\Models\VoucherExpireSchedule::getMinWorkerIndex 1 39 µs 40 µs 2,008 bytes bytes 39 µs 40 µs 2,008 bytes bytes
App\Models\Tenant\VoucherSerie::initializeSoftDeletes 6 36 µs 32 µs 7,592 bytes bytes 60 µs 63 µs 8,224 bytes bytes
Xhgui\Profiler\Profiler::disable 1 34 µs 31 µs -4,224 bytes bytes 262 µs 263 µs 15,728 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 32 µs 34 µs 1,048 bytes bytes 32 µs 34 µs 1,048 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::buildIdentityKey 1 31 µs 32 µs 688 bytes bytes 31 µs 32 µs 688 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 29 µs 28 µs 768 bytes bytes 2,842 µs 870 µs 5,408 bytes bytes
App\Models\Tenant\VoucherSerie::attributesToBeLogged 3 29 µs 26 µs 1,136 bytes bytes 45 µs 47 µs 3,072 bytes bytes
App\Models\Tenant\VoucherSerie::getDeletedAtColumn 14 27 µs 38 µs 1,864 bytes bytes 27 µs 38 µs 1,864 bytes bytes
App\Services\RedirectFlow\VoucherCreator::getSeriePrefixByPlan 1 26 µs 26 µs 2,368 bytes bytes 26 µs 26 µs 2,368 bytes bytes
Carbon\Carbon::addUnit 2 23 µs 23 µs 4,176 bytes bytes 193 µs 195 µs 8,864 bytes bytes
App\Models\Tenant\Voucher::shouldLogEvent 1 23 µs 23 µs 696 bytes bytes 33 µs 33 µs 1,280 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 26 23 µs 30 µs 632 bytes bytes 23 µs 30 µs 632 bytes bytes
Illuminate\Cache\Repository::tags 2 22 µs 20 µs 760 bytes bytes 650 µs 651 µs 58,408 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::tryLock 1 21 µs 21 µs 600 bytes bytes 2,691 µs 1,458 µs 79,488 bytes bytes
App\Providers\GoRendererServiceProvider::App\Providers\{closure} 1 21 µs 20 µs -4,232 bytes bytes 213 µs 214 µs 15,240 bytes bytes
Carbon\CarbonInterval::__construct 2 20 µs 22 µs 2,248 bytes bytes 20 µs 22 µs 2,248 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileAggregate 1 20 µs 21 µs 688 bytes bytes 20 µs 21 µs 688 bytes bytes
App\Models\Tenant\VoucherSerie::bootLogsActivity 1 17 µs 16 µs 448 bytes bytes 47 µs 47 µs 9,736 bytes bytes
App\Models\Tenant\Voucher::attributesToBeLogged 2 17 µs 15 µs 1,088 bytes bytes 22 µs 24 µs 2,736 bytes bytes
Illuminate\Cache\TagSet::tagIds 4 15 µs 15 µs 2,080 bytes bytes 20 µs 23 µs 4,120 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::__construct 1 15 µs 16 µs 1,344 bytes bytes 15 µs 16 µs 1,344 bytes bytes
App\Models\Tenant\Voucher::getFullCode 1 15 µs 15 µs 632 bytes bytes 17 µs 18 µs 1,296 bytes bytes
Illuminate\Database\Query\Builder::count 1 15 µs 10 µs -64 bytes bytes 1,116,943 µs 1,452 µs 53,160 bytes bytes
App\Models\Tenant\VoucherSerie::getActivitylogOptions 4 14 µs 18 µs 2,160 bytes bytes 14 µs 18 µs 2,160 bytes bytes
App\Models\Tenant\Voucher::getLogNameToUse 1 13 µs 14 µs 632 bytes bytes 13 µs 14 µs 632 bytes bytes
Illuminate\Cache\TaggedCache::taggedItemKey 3 12 µs 13 µs 792 bytes bytes 37 µs 39 µs 4,064 bytes bytes
App\Models\Tenant\VoucherSerie::getQualifiedDeletedAtColumn 1 12 µs 11 µs 752 bytes bytes 13 µs 14 µs 1,384 bytes bytes
App\Services\Vouchers\ExpirationSyncer::createKafkaMessage 1 11 µs µs 880 bytes bytes 3,910 µs 2,735 µs -78,536 bytes bytes
Illuminate\Database\Query\Builder::cloneWithout 1 11 µs µs 728 bytes bytes 15 µs 15 µs 2,472 bytes bytes
Illuminate\Routing\UrlGenerator::Stancl\Tenancy\Bootstrappers\{cl… 3 10 µs 12 µs 1,136 bytes bytes 10 µs 12 µs 1,136 bytes bytes
Illuminate\Cache\TagSet::getNamespace 3 10 µs µs bytes bytes 25 µs 26 µs 3,272 bytes bytes
App\Models\Tenant\Voucher::isRestoring 1 10 µs 10 µs 584 bytes bytes 10 µs 10 µs 584 bytes bytes
App\Models\Tenant\VoucherSerie::getLogNameToUse 1 10 µs 11 µs 632 bytes bytes 10 µs 11 µs 632 bytes bytes
Carbon\Carbon::isModifiableUnit 2 µs 10 µs 1,576 bytes bytes µs 10 µs 1,576 bytes bytes
Illuminate\Cache\TaggedCache::itemKey 3 µs µs 1,232 bytes bytes 45 µs 46 µs 5,296 bytes bytes
App\Models\Tenant\Voucher::getActivitylogOptions 3 µs 11 µs 1,904 bytes bytes µs 11 µs 1,904 bytes bytes
Illuminate\Database\Query\Builder::cloneWithoutBindings 1 µs µs 728 bytes bytes 11 µs 11 µs 3,168 bytes bytes
Carbon\Carbon::rawAdd 2 µs µs 552 bytes bytes µs µs 552 bytes bytes
Illuminate\Support\Collection::only 1 µs µs 1,072 bytes bytes µs µs 1,072 bytes bytes
Illuminate\Cache\TagSet::__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\RedisTagSet::tagId 4 µs µs 2,040 bytes bytes µs µs 2,040 bytes bytes
App\Models\Tenant\VoucherSerie::bootSoftDeletes 1 µs µs 1,064 bytes bytes µs µs 1,064 bytes bytes
App\Models\Tenant\Voucher::generateFullCode 2 µs µs 1,344 bytes bytes µs µs 1,344 bytes bytes
App\Models\VoucherExpireSchedule::getEmptyWorkerValues 1 µs µs 1,224 bytes bytes µs µs 1,224 bytes bytes
Illuminate\Database\Query\Builder::setAggregate 1 µs µs 976 bytes bytes µs µs 976 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogUnguarded 3 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handle 1 µs µs 696 bytes bytes 2,807 µs 1,880 µs 7,384 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
App\Dto\BaseData::fromArray 1 µs µs 680 bytes bytes µs µs 680 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
Carbon\Carbon::getMagicParameter 2 µs µs 1,168 bytes bytes µs µs 1,168 bytes bytes
Carbon\CarbonInterval::withOriginal 2 µs µs 136 bytes bytes µs µs 136 bytes bytes
Carbon\CarbonInterval::invert 2 µ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
Illuminate\Database\Query\Builder::Illuminate\Database\Query\{clo… 2 µs µs 1,960 bytes bytes µs µs 1,960 bytes bytes
Xhgui\Profiler\Profilers\XHProf::disable 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
Illuminate\Database\Query\Builder::clone 2 µs µs 2,224 bytes bytes µs µs 2,224 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::__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
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\Voucher::shouldLogUnguarded 2 µs µs 600 bytes bytes µs µs 600 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\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
App\Events\Voucher\VoucherActivated::__construct 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Services\Templates\GoRenderer::__construct 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::calc 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Listeners\Voucher\VoucherTimeExpirationSync::__construct 1 µs µs 632 bytes bytes µs µs 632 bytes bytes