Profile data for GET http://e2e-tests.tsumanchuk.project-h.io/portal/api/redirect-flow/order-plan/9?hash=e533c202e352f54f12f2681345e6e0ed&gateway=stripe

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\Repositories\Clickhouse\CustomerActivityFactsRepository::selectDistinctCustomerIds
78,080 µs
App\Services\PaymentGateways\PaymentGatewaysProvider::gatewayIsAvailableForLocation
4,683 µs
main()
3,752 µs
App\Services\RedirectFlow\Payments\StatementCreator::createPaymentStatement
3,627 µs
App\Services\TargetGroups\TargetGroupsMatcher::match
3,398 µs
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderPlan
3,110 µs

Memory Hogs

load::settings/localization_php
95,296 bytes
load::settings/splynx_integration_php
75,904 bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseParameters
35,832 bytes
Laravel\Boost\Middleware\InjectBoost::handle
30,808 bytes
App\Repositories\Clickhouse\CustomerActivityFactsRepository::selectDistinctCustomerIds
20,136 bytes
load::settings/captive_portal_php
16,416 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\Repositories\Clickhouse\CustomerActivityFactsRepository::sele… 1 78,080 µs 1,092 µs 20,136 bytes bytes 78,080 µs 1,092 µs 20,136 bytes bytes
App\Services\PaymentGateways\PaymentGatewaysProvider::gatewayIsAv… 1 4,683 µs 2,931 µs -34,248 bytes bytes 4,918 µs 3,175 µs 12,360 bytes bytes
main() 1 3,752 µs 2,848 µs -36,392 bytes bytes 111,461 µs 21,085 µs 240,720 bytes bytes
App\Services\RedirectFlow\Payments\StatementCreator::createPaymen… 1 3,627 µs 1,418 µs 5,552 bytes bytes 3,672 µs 1,466 µs 8,272 bytes bytes
App\Services\TargetGroups\TargetGroupsMatcher::match 1 3,398 µs 838 µs -52,112 bytes bytes 85,414 µs 4,621 µs 65,368 bytes bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderP… 1 3,110 µs 1,963 µs 5,584 bytes bytes 104,845 µs 16,420 µs 159,104 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::__constr… 1 2,555 µs 1,024 µs -7,424 bytes bytes 2,644 µs 1,116 µs 5,928 bytes bytes
Laravel\Boost\Middleware\InjectBoost::handle 1 2,073 µs 1,248 µs 30,808 bytes bytes 107,693 µs 18,217 µs 273,320 bytes bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detect 1 866 µs 296 µs -26,152 bytes bytes 86,395 µs 5,031 µs 54,664 bytes bytes
App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter 3 823 µs 572 µs 2,320 bytes bytes 967 µs 727 µs 19,760 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAddit… 3 707 µs 411 µs 6,984 bytes bytes 707 µs 411 µs 6,984 bytes bytes
App\Models\Tenant\Log\StatusedLog::finish 1 700 µs 765 µs 3,272 bytes bytes 700 µs 765 µs 3,272 bytes bytes
App\Repositories\Tenant\Labels\LabelsRepository::getCustomerLabel… 3 621 µs 386 µs 3,400 bytes bytes 621 µs 386 µs 3,400 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::getTemporar… 1 620 µs 370 µs 2,376 bytes bytes 620 µs 370 µs 2,376 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::__construct 3 607 µs 343 µs 8,424 bytes bytes 3,502 µs 2,259 µs 71,552 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseP… 3 579 µs 373 µs 35,832 bytes bytes 2,167 µs 1,486 µs 58,992 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::generate… 1 556 µs 363 µs -27,432 bytes bytes 648 µs 456 µs 4,360 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::getRedirectLin… 1 523 µs 307 µs -208 bytes bytes 8,100 µs 4,040 µs 26,256 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::getPaymentGate… 1 499 µs 582 µs 2,384 bytes bytes 514 µs 597 µs 4,296 bytes bytes
load::settings/splynx_integration_php 13 414 µs 424 µs 75,904 bytes bytes 414 µs 424 µs 75,904 bytes bytes
App\Services\RedirectFlow\TrialSessions\TrialSessionsMaker::isTri… 1 406 µs 478 µs -6,192 bytes bytes 455 µs 528 µs 2,040 bytes bytes
load::settings/localization_php 3 263 µs 265 µs 95,296 bytes bytes 263 µs 265 µs 95,296 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::unlock 1 176 µs 54 µs 616 bytes bytes 201 µs 79 µs 1,264 bytes bytes
App\Models\Tenant\Log\StatusedLog::__construct 1 162 µs 163 µs 4,968 bytes bytes 173 µs 174 µs 8,104 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::tryToAcquireLock 1 157 µs 47 µs 696 bytes bytes 178 µs 69 µs 1,376 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::build 3 146 µs 143 µs 14,504 bytes bytes 78,481 µs 1,490 µs 41,688 bytes bytes
App\Repositories\Tenant\Plans\PlansRepository::{closure:App\Repos… 27 118 µs 126 µs 11,520 bytes bytes 118 µs 126 µs 11,520 bytes bytes
load::settings/captive_portal_php 2 108 µs 110 µs 16,416 bytes bytes 108 µs 110 µs 16,416 bytes bytes
App\Services\RedirectFlow\RedirectFlowLogger::startLog 1 87 µs 87 µs 2,312 bytes bytes 265 µs 265 µs 11,776 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::handle 1 84 µs 83 µs -5,560 bytes bytes 105,308 µs 16,651 µs 156,184 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::getPayLi… 1 67 µs 65 µs -1,224 bytes bytes 745 µs 552 µs 7,336 bytes bytes
App\Services\CustomerQuery\CustomerActivityFactsConditionBuilder:… 1 60 µs 59 µs 1,864 bytes bytes 78,182 µs 1,190 µs 6,008 bytes bytes
App\Services\PaymentGateways\GlobalGateway::needAskAdditionalInfo… 1 58 µs 59 µs 728 bytes bytes 58 µs 59 µs 728 bytes bytes
Illuminate\Database\Eloquent\Builder::orWhere 4 54 µs 54 µs 7,480 bytes bytes 78,306 µs 1,316 µs 23,584 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::buildConditio… 5 49 µs 44 µs 4,136 bytes bytes 78,241 µs 1,250 µs 15,344 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::getKey 2 46 µs 47 µs 1,328 bytes bytes 46 µs 47 µs 1,328 bytes bytes
load::settings/customers_php 1 41 µs 41 µs 5,048 bytes bytes 41 µs 41 µs 5,048 bytes bytes
App\Repositories\Clickhouse\CustomerActivityFactsRepository::getC… 1 39 µs 35 µs -16,904 bytes bytes 78,119 µs 1,127 µs 3,232 bytes bytes
Symfony\Component\HttpFoundation\RedirectResponse::__construct 1 33 µs 32 µs 2,720 bytes bytes 43 µs 44 µs 12,768 bytes bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detectTargetG… 1 24 µs 22 µs -17,440 bytes bytes 85,438 µs 4,643 µs 47,928 bytes bytes
load::settings/finance_php 1 23 µs 23 µs 7,064 bytes bytes 23 µs 23 µs 7,064 bytes bytes
App\Dto\BaseData::toJson 7 20 µs 16 µs -1,536 bytes bytes 28 µs 31 µs 2,024 bytes bytes
load::settings/security_php 1 18 µs 18 µs 7,216 bytes bytes 18 µs 18 µs 7,216 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 3 18 µs 16 µs -2,216 bytes bytes 78,327 µs 1,337 µs 25,104 bytes bytes
App\Casts\Payments\PaymentStatementMetadataCast::set 7 17 µs 17 µs 696 bytes bytes 45 µs 48 µs 2,720 bytes bytes
load::settings/status_page_notifications_php 1 16 µs 16 µs 5,872 bytes bytes 16 µs 16 µs 5,872 bytes bytes
App\Services\RedirectFlow\Adverts\Adverts::isWeNeedToShowAd 1 16 µs 16 µs -136 bytes bytes 86,411 µs 5,047 µs 54,528 bytes bytes
redirect 1 16 µs 17 µs 696 bytes bytes 80 µs 80 µs 18,528 bytes bytes
load::settings/finance_notifications_php 1 15 µs 17 µs 4,488 bytes bytes 15 µs 17 µs 4,488 bytes bytes
load::settings/voucher_limit_notifications_php 1 15 µs 16 µs 6,056 bytes bytes 15 µs 16 µs 6,056 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::initializeSoftDeletes… 5 15 µs 11 µs 696 bytes bytes 19 µs 20 µs 1,328 bytes bytes
load::settings/portal_php 1 14 µs 14 µs 3,824 bytes bytes 14 µs 14 µs 3,824 bytes bytes
App\Format\FormatManager::toUserTimezone 1 13 µs 13 µs 1,128 bytes bytes 13 µs 13 µs 1,128 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileOrdersToArray 4 13 µs 12 µs 1,560 bytes bytes 24 µs 26 µs 2,424 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAllPa… 3 13 µs 10 µs -3,576 bytes bytes 2,887 µs 1,907 µs 62,400 bytes bytes
Illuminate\Routing\UrlGenerator::to 2 12 µs 13 µs 2,136 bytes bytes 22 µs 24 µs 4,472 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::{closure:Illuminate\D… 4 11 µs 14 µs 864 bytes bytes 11 µs 14 µs 864 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 4 11 µs 12 µs 760 bytes bytes 78,252 µs 1,262 µs 16,104 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileOrders 4 10 µs µs 1,776 bytes bytes 34 µs 35 µs 4,200 bytes bytes
App\Services\RedirectFlow\LocationDetector::detect 1 10 µs 11 µs 632 bytes bytes 10 µs 11 µs 632 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::loadStatementI… 1 10 µs 11 µs 664 bytes bytes 10 µs 11 µs 664 bytes bytes
App\Services\PaymentGateways\GlobalGateway::createEncrypter 1 µs µs 792 bytes bytes µs 10 µs 1,424 bytes bytes
Symfony\Component\HttpFoundation\RedirectResponse::setTargetUrl 1 µs 10 µs 9,416 bytes bytes µs 10 µs 9,416 bytes bytes
App\Repositories\Tenant\TargetGroups\TargetGroupRepository::getAv… 3 µs µs 728 bytes bytes 2,895 µs 1,916 µs 63,128 bytes bytes
Illuminate\Database\Query\Grammars\MySqlGrammar::whereLike 2 µs µs 1,496 bytes bytes µs µs 1,496 bytes bytes
App\Dto\BaseData::toArray 7 µs 15 µs 3,560 bytes bytes µs 15 µs 3,560 bytes bytes
Illuminate\Routing\UrlGenerator::isValidUrl 2 µs µs 584 bytes bytes µs µs 584 bytes bytes
Illuminate\Database\Query\Builder::orderBy 4 µs µs 3,632 bytes bytes µs µs 3,632 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlan… 1 µs µs 728 bytes bytes 627 µs 375 µs 3,104 bytes bytes
url 1 µs µs -368 bytes bytes 26 µs 26 µs 3,536 bytes bytes
Illuminate\Database\Query\Builder::selectRaw 3 µs µs 1,448 bytes bytes µs µs 1,448 bytes bytes
Xhgui\Profiler\Profiler::disable 1 µs µs 776 bytes bytes 10 µs 11 µs 1,944 bytes bytes
Illuminate\Auth\SessionGuard::recaller 1 µs µs 568 bytes bytes µs µs 1,232 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::getDeletedAtColumn 11 µs 10 µs 1,296 bytes bytes µs 10 µs 1,296 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::getQualifiedDeletedAt… 1 µs µs 752 bytes bytes µs µs 1,416 bytes bytes
App\Models\Tenant\Log\StatusedLog::success 1 µs µs bytes bytes 705 µs 769 µs 3,272 bytes bytes
Illuminate\Routing\Redirector::{closure:Illuminate\Routing\Redire… 1 µs µs 856 bytes bytes µs µs 2,848 bytes bytes
Illuminate\Routing\Redirector::createRedirect 1 µs µs 968 bytes bytes 56 µs 56 µs 16,584 bytes bytes
Illuminate\Routing\Redirector::to 1 µs µs 680 bytes bytes 64 µs 63 µs 17,832 bytes bytes
Illuminate\Routing\UrlGenerator::{closure:Stancl\Tenancy\Bootstra… 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Models\Tenant\Log\StatusedLog::start 1 µs µs 760 bytes bytes 177 µs 177 µs 8,864 bytes bytes
Illuminate\Database\Query\Builder::whereLike 2 µs µs 2,512 bytes bytes µs µs 2,512 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::getGatew… 1 µs µs 664 bytes bytes µs µs 664 bytes bytes
Laravel\Boost\Middleware\InjectBoost::shouldInject 1 µs µs 600 bytes bytes µs µs 600 bytes bytes
Spatie\Activitylog\PendingActivityLog::forwardCallTo 1 µs µs 1,240 bytes bytes µs µs 1,240 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::buildOrWhereG… 4 µs µs 3,736 bytes bytes µs µs 3,736 bytes bytes
App\Services\CustomerQuery\CustomerActivityFactsConditionBuilder:… 1 µs µs 912 bytes bytes µs µs 912 bytes bytes
App\Services\CustomerQuery\CustomerActivityFactsConditionBuilder:… 1 µs µs 728 bytes bytes 78,185 µs 1,193 µs 6,736 bytes bytes
App\Dto\BaseData::fromArray 1 µs µs 6,312 bytes bytes µs µs 6,312 bytes bytes
App\Services\PaymentGateways\PaymentGatewaysProvider::{closure:Ap… 3 µs µs 792 bytes bytes µs µs 792 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::__construct 1 µs µs 696 bytes bytes 13 µs 14 µs 1,360 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,216 bytes bytes µs µs 1,216 bytes bytes
Spatie\Activitylog\PendingActivityLog::__call 1 µs µs 664 bytes bytes µs µs 1,904 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::getOperators 3 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::isAf 3 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Services\RedirectFlow\Payments\StatementCreator::__construct 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Routing\UrlGenerator::extractQueryString 1 µs µs 1,752 bytes bytes µs µs 1,752 bytes bytes
App\Services\RedirectFlow\Redirect::redirect 1 µs µs 696 bytes bytes 82 µs 82 µs 19,224 bytes bytes
Illuminate\Auth\SessionGuard::getRecallerName 1 µs µs 664 bytes bytes µs µs 664 bytes bytes
App\Models\Tenant\Log\StatusedLog::activity 1 µs µs 600 bytes bytes µs µs 600 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::isCustomerLab… 3 µs µs 664 bytes bytes µs µs 664 bytes bytes
Symfony\Component\HttpFoundation\Response::isRedirect 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Http\RedirectResponse::setSession 1 µs µs 664 bytes bytes µs µs 664 bytes bytes
Illuminate\Routing\UrlGenerator::getRequest 1 µs µs 664 bytes bytes µs µs 664 bytes bytes
Illuminate\Http\RedirectResponse::setRequest 1 µs µs 664 bytes bytes µs µs 664 bytes bytes
Xhgui\Profiler\Profilers\XHProf::disable 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
App\Services\CustomerQuery\CustomerActivityFactsConditionBuilder:… 1 µs µs 664 bytes bytes µs µs 664 bytes bytes
App\Services\PaymentGateways\GlobalGateway::getEncryptionKey 1 µs µs 632 bytes bytes µs µs 632 bytes bytes