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

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\Services\Vouchers\ExpirationSyncer::syncVoucher
2,739,594 µs
App\Services\Vouchers\ExpirationSyncer::getWorkerIndex
2,260,790 µs
Illuminate\Database\Query\Builder::aggregate
1,566,705 µs
main()
18,794 µs
App\Services\RedirectFlow\VoucherCreator::createVoucher
11,200 µs
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderPlan
7,654 µs

Memory Hogs

load::settings/localization_php
95,208 bytes
Illuminate\Database\Query\Builder::aggregate
41,824 bytes
load::settings/finance_php
28,192 bytes
load::settings/status_page_notifications_php
16,976 bytes
App\Services\RedirectFlow\VoucherCreator::createVoucher
15,928 bytes
load::settings/captive_portal_php
14,880 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\Services\Vouchers\ExpirationSyncer::syncVoucher 1 2,739,594 µs 18,020 µs 424 bytes bytes 5,003,241 µs 35,856 µs -119,992 bytes bytes
App\Services\Vouchers\ExpirationSyncer::getWorkerIndex 1 2,260,790 µs 16,689 µs -132,736 bytes bytes 2,263,345 µs 17,547 µs -125,800 bytes bytes
Illuminate\Database\Query\Builder::aggregate 1 1,566,705 µs 1,866 µs 41,824 bytes bytes 1,566,746 µs 1,912 µs 49,128 bytes bytes
main() 1 18,794 µs 8,832 µs -4,624 bytes bytes 6,640,386 µs 77,278 µs 241,392 bytes bytes
App\Services\RedirectFlow\VoucherCreator::createVoucher 1 11,200 µs 7,721 µs 15,928 bytes bytes 6,609,600 µs 62,003 µs 128,704 bytes bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderP… 1 7,654 µs 4,181 µs -23,712 bytes bytes 6,621,049 µs 67,891 µs 165,232 bytes bytes
App\Listeners\Voucher\SendStatusPageSmsNotification::handle 1 5,081 µs 2,808 µs -2,456 bytes bytes 5,917 µs 3,635 µs 90,264 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 3,439 µs 1,113 µs 2,464 bytes bytes 3,491 µs 1,167 µs 3,512 bytes bytes
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan 1 2,674 µs 797 µs 5,776 bytes bytes 2,761 µs 907 µs 9,800 bytes bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity 1 2,177 µs 1,151 µs 1,688 bytes bytes 1,573,398 µs 6,870 µs 82,536 bytes bytes
App\Models\Tenant\Voucher::Spatie\Activitylog\Traits\{closure} 1 2,160 µs 2,241 µs 9,824 bytes bytes 3,459 µs 2,909 µs 22,264 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 2 1,985 µs 2,071 µs 6,032 bytes bytes 4,462 µs 3,798 µs 31,784 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlan… 1 1,515 µs 677 µs 2,064 bytes bytes 1,515 µs 677 µs 2,064 bytes bytes
App\Models\Tenant\VoucherSerie::attributeValuesToBeLogged 1 1,514 µs 723 µs -232 bytes bytes 1,890 µs 1,130 µs 6,208 bytes bytes
App\Services\Vouchers\ExpirationSyncer::App\Services\Vouchers\{cl… 1 1,349 µs 392 µs -2,048 bytes bytes 2,545 µs 845 µs 6,384 bytes bytes
App\Services\Vouchers\CodeGenerator::checkIfCodeExists 1 1,338 µs 305 µs 1,136 bytes bytes 1,338 µs 305 µs 1,136 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handleVouc… 1 1,298 µs 479 µs 1,184 bytes bytes 4,789 µs 1,646 µs 4,696 bytes bytes
Illuminate\Database\Eloquent\Builder::firstOrNew 1 1,148 µs 406 µs 6,048 bytes bytes 1,148 µs 406 µs 6,048 bytes bytes
Illuminate\Database\Eloquent\Relations\HasMany::getResults 1 1,055 µs 780 µs 1,288 bytes bytes 1,055 µs 780 µs 1,288 bytes bytes
App\Models\Tenant\Voucher::attributeValuesToBeLogged 1 1,008 µs 370 µs 2,080 bytes bytes 1,262 µs 625 µs 8,440 bytes bytes
App\Services\Vouchers\CodeGenerator::getChars 1 877 µs 355 µs -5,256 bytes bytes 935 µs 413 µs 1,800 bytes bytes
App\Services\Vouchers\CodeGenerator::getCodeLength 1 860 µs 270 µs -5,352 bytes bytes 915 µs 326 µs 1,704 bytes bytes
Stancl\Tenancy\CacheManager::__call 2 677 µs 226 µs 1,800 bytes bytes 2,037 µs 784 µs 23,208 bytes bytes
App\Models\Tenant\VoucherSerie::logChanges 2 618 µs 620 µs 9,880 bytes bytes 657 µs 662 µs 12,320 bytes bytes
Illuminate\Cache\RedisTaggedCache::put 1 547 µs 113 µs 536 bytes bytes 1,245 µs 438 µs 11,456 bytes bytes
Illuminate\Redis\Connections\PhpRedisConnection::zadd 1 488 µs 113 µs 848 bytes bytes 488 µs 113 µs 848 bytes bytes
load::settings/localization_php 3 458 µs 463 µs 95,208 bytes bytes 458 µs 463 µs 95,208 bytes bytes
load::settings/status_page_notifications_php 3 245 µs 222 µs 16,976 bytes bytes 245 µs 222 µs 16,976 bytes bytes
App\Models\Tenant\Voucher::logChanges 1 234 µs 233 µs 3,624 bytes bytes 244 µs 244 µs 4,432 bytes bytes
load::settings/captive_portal_php 2 210 µs 215 µs 14,880 bytes bytes 210 µs 215 µs 14,880 bytes bytes
load::settings/finance_php 4 201 µs 204 µs 28,192 bytes bytes 201 µs 204 µs 28,192 bytes bytes
App\Models\Tenant\Voucher::triggerSyncEvent 1 186 µs 186 µs -2,632 bytes bytes 1,298 µs 1,024 µs 3,240 bytes bytes
App\Models\Tenant\Voucher::getExpireTime 1 180 µs 192 µs 272 bytes bytes 241 µs 255 µs 3,496 bytes bytes
load::settings/customers_php 2 124 µs 127 µs 10,048 bytes bytes 124 µs 127 µs 10,048 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 112 µs 114 µs 792 bytes bytes 112 µs 114 µs 792 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogEvent 1 103 µs 104 µs 696 bytes bytes 160 µs 162 µs 1,960 bytes bytes
App\Models\Tenant\Voucher::customer 1 96 µs 98 µs 8,808 bytes bytes 96 µs 98 µs 8,808 bytes bytes
load::settings/voucher_limit_notifications_php 2 93 µs 96 µs 12,080 bytes bytes 93 µs 96 µs 12,080 bytes bytes
App\Models\Tenant\Voucher::App\Models\Tenant\{closure} 2 74 µs 73 µs 1,120 bytes bytes 5,004,705 µs 37,040 µs -113,232 bytes bytes
load::settings/splynx_integration_php 2 72 µs 74 µs 12,752 bytes bytes 72 µs 74 µs 12,752 bytes bytes
Illuminate\Cache\TaggedCache::event 4 66 µs 60 µs 1,296 bytes bytes 76 µs 78 µs 2,448 bytes bytes
Illuminate\Cache\RedisTagSet::addEntry 1 64 µs 60 µs -984 bytes bytes 626 µs 250 µs 9,560 bytes bytes
load::settings/finance_notifications_php 2 57 µs 59 µs 8,944 bytes bytes 57 µs 59 µs 8,944 bytes bytes
App\Models\Tenant\Voucher::macs 1 57 µs 58 µs 4,584 bytes bytes 57 µs 58 µs 4,584 bytes bytes
App\Models\Tenant\VoucherSerie::isRestoring 1 53 µs 53 µs 664 bytes bytes 57 µs 58 µs 1,264 bytes bytes
App\Repositories\Tenant\Analytics\Dashboard\TopPanels\AggregatedD… 1 52 µs 54 µs 1,048 bytes bytes 52 µs 54 µs 1,048 bytes bytes
load::settings/portal_php 2 51 µs 52 µs 6,368 bytes bytes 51 µs 52 µs 6,368 bytes bytes
App\Models\Tenant\VoucherSerie::initializeSoftDeletes 6 44 µs 56 µs 1,960 bytes bytes 66 µs 90 µs 2,592 bytes bytes
App\Models\VoucherExpireSchedule::getMinWorkerIndex 1 42 µs 41 µs 1,160 bytes bytes 42 µs 41 µs 1,160 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::buildIdentityKey 1 40 µs 41 µs 688 bytes bytes 40 µs 41 µs 688 bytes bytes
App\Models\Tenant\VoucherSerie::attributesToBeLogged 3 40 µs 27 µs 1,136 bytes bytes 56 µs 60 µs 3,072 bytes bytes
App\Models\Tenant\VoucherSerie::eventsToBeRecorded 2 38 µs 38 µs 1,256 bytes bytes 38 µs 38 µs 1,256 bytes bytes
App\Services\Vouchers\ExpirationSyncer::createKafkaMessage 1 37 µs µs 880 bytes bytes 2,263,382 µs 17,556 µs -124,920 bytes bytes
App\Models\Tenant\Voucher::getFullCode 1 36 µs 35 µs 632 bytes bytes 38 µs 39 µs 1,296 bytes bytes
App\Models\Tenant\Voucher::triggerExpirationSync 1 34 µs 32 µs 760 bytes bytes 5,003,295 µs 35,904 µs -118,888 bytes bytes
App\Models\Tenant\VoucherSerie::Spatie\Activitylog\Traits\{closur… 26 34 µs 58 µs 632 bytes bytes 34 µs 58 µs 632 bytes bytes
Carbon\CarbonInterval::fromString 2 32 µs 30 µs 2,024 bytes bytes 58 µs 60 µs 3,448 bytes bytes
App\Services\RedirectFlow\VoucherCreator::getSeriePrefixByPlan 1 32 µs 33 µs 1,312 bytes bytes 32 µs 33 µs 1,312 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 32 µs 31 µs 768 bytes bytes 3,220 µs 1,075 µs 5,408 bytes bytes
App\Models\Tenant\VoucherSerie::getDeletedAtColumn 14 29 µs 43 µs 1,864 bytes bytes 29 µs 43 µs 1,864 bytes bytes
Illuminate\Routing\UrlGenerator::Stancl\Tenancy\Bootstrappers\{cl… 3 28 µs 32 µs 1,136 bytes bytes 28 µs 32 µs 1,136 bytes bytes
App\Services\RedirectFlow\Plans\BuyMutex::tryLock 1 28 µs 25 µs 584 bytes bytes 2,105 µs 850 µs 24,480 bytes bytes
Carbon\Carbon::rawAddUnit 2 25 µs 23 µs -872 bytes bytes 93 µs 95 µs 3,696 bytes bytes
Junges\Kafka\Factory::publish 1 24 µs 25 µs 1,008 bytes bytes 24 µs 25 µs 1,008 bytes bytes
Illuminate\Cache\Repository::tags 2 23 µs 19 µs 760 bytes bytes 52 µs 54 µs 4,848 bytes bytes
Carbon\CarbonInterval::__construct 2 23 µs 24 µs 1,288 bytes bytes 23 µs 24 µs 1,288 bytes bytes
Carbon\Carbon::addUnit 2 23 µs 23 µs 4,176 bytes bytes 116 µs 118 µs 7,872 bytes bytes
Illuminate\Cache\TagSet::tagIds 4 20 µs 20 µs 2,080 bytes bytes 27 µs 29 µs 2,840 bytes bytes
App\Models\Tenant\VoucherSerie::getQualifiedDeletedAtColumn 1 18 µs 18 µs 752 bytes bytes 21 µs 22 µs 1,384 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::__construct 1 18 µs 18 µs 1,344 bytes bytes 18 µs 18 µs 1,344 bytes bytes
App\Events\Voucher\VoucherExpirationTrack::handle 1 18 µs 13 µs -288 bytes bytes 5,003,259 µs 35,869 µs -120,280 bytes bytes
Illuminate\Cache\TaggedCache::taggedItemKey 3 17 µs 17 µs 792 bytes bytes 50 µs 52 µs 2,784 bytes bytes
Illuminate\Cache\RedisStore::tags 2 15 µs 14 µs 1,112 bytes bytes 23 µs 25 µs 2,280 bytes bytes
App\Models\Tenant\Voucher::attributesToBeLogged 2 15 µs 12 µs 1,088 bytes bytes 20 µs 22 µs 2,736 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileAggregate 1 15 µs 17 µs 688 bytes bytes 15 µs 17 µs 688 bytes bytes
App\Models\Tenant\VoucherSerie::getLogNameToUse 1 15 µs 16 µs 4,728 bytes bytes 15 µs 16 µs 4,728 bytes bytes
App\Models\Tenant\Voucher::shouldLogEvent 1 14 µs 14 µs 696 bytes bytes 23 µs 24 µs 1,280 bytes bytes
App\Models\Tenant\VoucherSerie::getActivitylogOptions 4 14 µs 28 µs 2,160 bytes bytes 14 µs 28 µs 2,160 bytes bytes
Illuminate\Database\Query\Builder::count 1 13 µs µs -64 bytes bytes 1,566,759 µs 1,921 µs 49,064 bytes bytes
Illuminate\Cache\TagSet::getNamespace 3 12 µs 12 µs bytes bytes 33 µs 35 µs 1,992 bytes bytes
Xhgui\Profiler\Profiler::disable 1 12 µs µs 776 bytes bytes 18 µs 18 µs 1,944 bytes bytes
Carbon\Carbon::isModifiableUnit 2 10 µs 10 µs 2,448 bytes bytes 10 µs 10 µs 2,448 bytes bytes
Illuminate\Cache\TaggedCache::itemKey 3 µs 11 µs 1,232 bytes bytes 59 µs 63 µs 4,016 bytes bytes
App\Models\Tenant\Voucher::isRestoring 1 µs 10 µs 584 bytes bytes µs 10 µs 584 bytes bytes
App\Models\Tenant\Voucher::getLogNameToUse 1 µs 10 µs 632 bytes bytes µs 10 µs 632 bytes bytes
Illuminate\Database\Query\Builder::cloneWithout 1 µs µs 728 bytes bytes 13 µs 14 µs 2,472 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handle 1 µs 10 µs 696 bytes bytes 4,798 µs 1,656 µs 5,392 bytes bytes
Xhgui\Profiler\Profiler::registerShutdownHandler 1 µs µs 1,200 bytes bytes µs µs 1,200 bytes bytes
Illuminate\Cache\RedisTagSet::tagId 4 µs µs 760 bytes bytes µs µs 760 bytes bytes
Illuminate\Database\Query\Builder::cloneWithoutBindings 1 µs µs 728 bytes bytes 10 µs 11 µs 3,168 bytes bytes
App\Dto\BaseData::fromArray 1 µs µs 680 bytes bytes µs µs 680 bytes bytes
Illuminate\Cache\TagSet::getNames 4 µs 10 µs 568 bytes bytes µs 10 µs 568 bytes bytes
Carbon\Carbon::rawAdd 2 µs µs 552 bytes bytes µs µs 552 bytes bytes
App\Models\Tenant\Voucher::generateFullCode 2 µs µs 1,344 bytes bytes µs µs 1,344 bytes bytes
App\Models\Tenant\Voucher::getActivitylogOptions 3 µs 10 µs 1,904 bytes bytes µs 10 µs 1,904 bytes bytes
App\Models\VoucherExpireSchedule::getEmptyWorkerValues 1 µs µs 1,224 bytes bytes µs µs 1,224 bytes bytes
App\Models\Tenant\VoucherSerie::shouldLogUnguarded 3 µs 11 µs 632 bytes bytes µs 11 µ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\Cache\Events\CacheEvent::setTags 4 µs µs 584 bytes bytes µs µs 584 bytes bytes
Carbon\CarbonInterval::invert 2 µs µs 568 bytes bytes µs µs 568 bytes bytes
Illuminate\Database\Query\Builder::clone 2 µs µs 2,224 bytes bytes µs µs 2,224 bytes bytes
Illuminate\Support\Collection::only 1 µs µs 1,072 bytes bytes µs µs 1,072 bytes bytes
App\Events\Voucher\VoucherActivated::__construct 1 µs 46 µs 632 bytes bytes µs 46 µs 632 bytes bytes
App\Providers\GoRendererServiceProvider::App\Providers\{closure} 1 µs µs 752 bytes bytes µs µs 1,384 bytes bytes
Illuminate\Cache\Repository::supportsTags 2 µs µs 1,224 bytes bytes µs µs 1,224 bytes bytes
Illuminate\Cache\Repository::setDefaultCacheTime 2 µs µs 584 bytes bytes µs µs 584 bytes bytes
Carbon\CarbonInterval::withOriginal 2 µs µs 136 bytes bytes µs µs 136 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\Services\RedirectFlow\Plans\BuyMutex::__construct 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
Carbon\Carbon::getMagicParameter 2 µs µs 1,168 bytes bytes µs µs 1,168 bytes bytes
App\Services\RedirectFlow\VoucherCreator::__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
Illuminate\Database\Eloquent\Relations\Pivot::getUpdatedAtColumn 2 µs µs 6,264 bytes bytes µs µs 6,264 bytes bytes
App\Models\Tenant\Voucher::shouldLogUnguarded 2 µ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
App\Services\Templates\GoRenderer::__construct 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\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
Xhgui\Profiler\Profilers\XHProf::disable 1 µs µs 584 bytes bytes µs µs 584 bytes bytes