Profile data for GET http://e2e-tests.tsumanchuk.project-h.io/portal/api/redirect-flow/order-plan/2?hash=0cdd16521f15ccd601bddd55da82d09f&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
42,016 µs
App\Services\TargetGroups\TargetGroupsMatcher::match
5,681 µs
main()
5,403 µs
App\Services\RedirectFlow\Adverts\CampaignDetector::detect
4,234 µs
App\Services\PaymentGateways\PaymentGatewaysProvider::gatewayIsAvailableForLocation
3,496 µs
RoadRunner\Logger\Logger::warning
3,306 µs

Memory Hogs

load::settings/localization_php
63,504 bytes
Laravel\Boost\Middleware\InjectBoost::handle
36,440 bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseParameters
35,832 bytes
App\Repositories\Clickhouse\CustomerActivityFactsRepository::selectDistinctCustomerIds
20,136 bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderPlan
18,864 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 42,016 µs 929 µs 20,136 bytes bytes 42,016 µs 929 µs 20,136 bytes bytes
App\Services\TargetGroups\TargetGroupsMatcher::match 1 5,681 µs 738 µs -52,112 bytes bytes 51,526 µs 4,312 µs 64,672 bytes bytes
main() 1 5,403 µs 2,470 µs -36,440 bytes bytes 77,489 µs 15,879 µs 217,960 bytes bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detect 1 4,234 µs 315 µs -20,024 bytes bytes 55,860 µs 4,725 µs 58,968 bytes bytes
App\Services\PaymentGateways\PaymentGatewaysProvider::gatewayIsAv… 1 3,496 µs 1,724 µs 8,656 bytes bytes 3,498 µs 1,729 µs 9,448 bytes bytes
RoadRunner\Logger\Logger::warning 1 3,306 µs 762 µs 600 bytes bytes 3,306 µs 762 µs 600 bytes bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderP… 1 3,208 µs 1,845 µs 18,864 bytes bytes 69,482 µs 11,703 µs 133,496 bytes bytes
Laravel\Boost\Middleware\InjectBoost::handle 1 1,908 µs 1,188 µs 36,440 bytes bytes 72,070 µs 13,391 µs 250,608 bytes bytes
App\Services\RedirectFlow\TrialSessions\TrialSessionsMaker::isTri… 1 979 µs 681 µs -6,192 bytes bytes 1,047 µs 750 µs 2,040 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::getTemporar… 1 847 µs 377 µs 2,344 bytes bytes 854 µs 387 µs 3,104 bytes bytes
App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter 3 782 µs 550 µs 2,320 bytes bytes 926 µs 705 µs 18,480 bytes bytes
App\Repositories\Tenant\Labels\LabelsRepository::getCustomerLabel… 3 667 µs 426 µs 3,400 bytes bytes 667 µs 426 µs 3,400 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAddit… 3 661 µs 382 µs 6,984 bytes bytes 661 µs 382 µs 6,984 bytes bytes
App\Models\Tenant\Log\StatusedLog::finish 1 617 µs 667 µs 3,272 bytes bytes 617 µs 667 µs 3,272 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseP… 3 576 µs 380 µs 35,832 bytes bytes 2,169 µs 1,511 µs 57,712 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::__construct 3 569 µs 325 µs 8,424 bytes bytes 3,419 µs 2,236 µs 70,272 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::getPaymentGate… 1 483 µs 258 µs 680 bytes bytes 498 µs 271 µs 2,592 bytes bytes
Illuminate\Redis\RedisManager::__call 2 272 µs 88 µs 1,200 bytes bytes 272 µs 88 µs 1,200 bytes bytes
Spatie\Activitylog\PendingActivityLog::__construct 1 163 µs 139 µs 4,560 bytes bytes 168 µs 146 µs 7,048 bytes bytes
load::settings/localization_php 2 153 µs 153 µs 63,504 bytes bytes 153 µs 153 µs 63,504 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::build 3 138 µs 135 µs 14,440 bytes bytes 42,393 µs 1,303 µs 40,992 bytes bytes
App\Repositories\Tenant\Plans\PlansRepository::{closure:App\Repos… 27 114 µs 122 µs 11,520 bytes bytes 114 µs 122 µs 11,520 bytes bytes
load::settings/captive_portal_php 2 113 µs 115 µs 16,416 bytes bytes 113 µs 115 µs 16,416 bytes bytes
App\Services\RedirectFlow\RedirectFlowLogger::startLog 1 82 µs 81 µs 2,312 bytes bytes 312 µs 289 µs 14,320 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::getRedirectLin… 1 80 µs 79 µs 984 bytes bytes 3,884 µs 1,112 µs 4,176 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::handle 1 68 µs 65 µs -11,016 bytes bytes 69,893 µs 11,928 µs 127,840 bytes bytes
App\Services\CustomerQuery\CustomerActivityFactsConditionBuilder:… 1 54 µs 53 µs 1,864 bytes bytes 42,111 µs 1,020 µs 6,008 bytes bytes
activity 1 50 µs 48 µs 1,192 bytes bytes 224 µs 202 µs 10,040 bytes bytes
Illuminate\Database\Eloquent\Builder::orWhere 4 50 µs 53 µs 7,480 bytes bytes 42,231 µs 1,143 µs 23,584 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::buildConditio… 5 46 µs 42 µs 4,136 bytes bytes 42,168 µs 1,080 µs 15,344 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::getKey 2 45 µs 48 µs 1,328 bytes bytes 45 µs 48 µs 1,328 bytes bytes
App\Services\PaymentGateways\GlobalGateway::needAskAdditionalInfo… 1 45 µs 44 µs 728 bytes bytes 45 µs 44 µs 728 bytes bytes
App\Repositories\Clickhouse\CustomerActivityFactsRepository::getC… 1 39 µs 35 µs -16,904 bytes bytes 42,055 µs 964 µs 3,232 bytes bytes
Symfony\Component\HttpFoundation\RedirectResponse::__construct 1 35 µs 33 µs 2,720 bytes bytes 42 µs 42 µs 5,600 bytes bytes
load::settings/customers_php 1 27 µs 28 µs 5,048 bytes bytes 27 µs 28 µs 5,048 bytes bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detectTargetG… 1 24 µs 22 µs -17,440 bytes bytes 51,550 µs 4,334 µs 47,232 bytes bytes
load::settings/finance_php 1 22 µs 22 µs 7,064 bytes bytes 22 µs 22 µs 7,064 bytes bytes
redirect 1 21 µs 21 µs 696 bytes bytes 98 µs 98 µs 12,768 bytes bytes
load::settings/status_page_notifications_php 1 20 µs 20 µs 5,872 bytes bytes 20 µs 20 µs 5,872 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\RedirectFlow\Adverts\Adverts::isWeNeedToShowAd 1 17 µs 16 µs -136 bytes bytes 55,877 µs 4,741 µs 58,832 bytes bytes
load::settings/finance_notifications_php 1 15 µs 16 µs 4,488 bytes bytes 15 µs 16 µs 4,488 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::tryToAcquireLock 1 15 µs 12 µs 824 bytes bytes 129 µs 67 µs 2,736 bytes bytes
load::settings/splynx_integration_php 1 14 µs 14 µs 6,232 bytes bytes 14 µs 14 µs 6,232 bytes bytes
load::settings/voucher_limit_notifications_php 1 14 µs 16 µs 6,056 bytes bytes 14 µs 16 µs 6,056 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAllPa… 3 14 µs 11 µs -3,576 bytes bytes 2,844 µs 1,904 µs 61,120 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 3 14 µs 12 µs -2,216 bytes bytes 42,248 µs 1,161 µs 25,104 bytes bytes
load::settings/portal_php 1 13 µs 13 µs 3,824 bytes bytes 13 µs 13 µs 3,824 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::initializeSoftDeletes… 5 13 µs 12 µs 696 bytes bytes 21 µs 21 µs 1,328 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 4 13 µs 10 µs 760 bytes bytes 42,181 µs 1,090 µs 16,104 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileOrders 4 12 µs µs 496 bytes bytes 34 µs 36 µs 2,920 bytes bytes
Illuminate\Database\Query\Builder::orderBy 4 11 µs 10 µs 3,632 bytes bytes 11 µs 10 µs 3,632 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
Illuminate\Database\Query\Grammars\Grammar::compileOrdersToArray 4 11 µs 13 µs 1,560 bytes bytes 22 µs 27 µs 2,424 bytes bytes
Illuminate\Routing\UrlGenerator::to 1 11 µs 10 µs 656 bytes bytes 17 µs 18 µs 2,056 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::unlock 1 11 µs 10 µs 744 bytes bytes 214 µs 93 µs 2,624 bytes bytes
App\Services\RedirectFlow\LocationDetector::detect 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::getDeletedAtColumn 11 µs 10 µs 1,296 bytes bytes µs 10 µs 1,296 bytes bytes
Illuminate\Database\Query\Builder::selectRaw 3 µs µs 1,448 bytes bytes µs µs 1,448 bytes bytes
App\Models\Tenant\Voucher::getQualifiedDeletedAtColumn 2 µs 10 µs 760 bytes bytes µs 10 µs 760 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::loadStatementI… 1 µs µs 664 bytes bytes µs µs 664 bytes bytes
Xhgui\Profiler\Profiler::disable 1 µs µs 776 bytes bytes 11 µs 12 µs 1,944 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::getQualifiedDeletedAt… 1 µs µs 2,032 bytes bytes µs µs 2,696 bytes bytes
App\Repositories\Tenant\TargetGroups\TargetGroupRepository::getAv… 3 µs µs 728 bytes bytes 2,850 µs 1,911 µs 61,848 bytes bytes
Illuminate\Database\Query\Grammars\MySqlGrammar::whereLike 2 µs µs 1,496 bytes bytes µs µs 1,496 bytes bytes
Symfony\Component\HttpFoundation\RedirectResponse::setTargetUrl 1 µs µs 2,248 bytes bytes µs µs 2,248 bytes bytes
Illuminate\Routing\Redirector::createRedirect 1 µs µs 968 bytes bytes 56 µs 56 µs 9,416 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlan… 1 µs µs 728 bytes bytes 859 µs 391 µs 3,832 bytes bytes
Illuminate\Routing\UrlGenerator::isValidUrl 1 µs µs 584 bytes bytes µs µs 584 bytes bytes
Illuminate\Routing\Redirector::{closure:Illuminate\Routing\Redire… 1 µs µs 856 bytes bytes µs 10 µs 2,848 bytes bytes
Illuminate\Auth\SessionGuard::recaller 1 µs µs 584 bytes bytes µs µs 1,248 bytes bytes
Spatie\Activitylog\PendingActivityLog::__call 1 µs µs 632 bytes bytes µs µs 1,232 bytes bytes
Illuminate\Database\Query\Builder::whereLike 2 µs µs 2,512 bytes bytes µs µs 2,512 bytes bytes
App\Services\CustomerQuery\CustomerActivityFactsConditionBuilder:… 1 µs µs 728 bytes bytes 42,115 µs 1,024 µs 6,736 bytes bytes
Illuminate\Http\Request::query 1 µs µs 600 bytes bytes µs µs 600 bytes bytes
App\Models\Tenant\Log\StatusedLog::success 1 µs µs bytes bytes 621 µs 670 µs 3,272 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::__construct 1 µs µs 696 bytes bytes 11 µs 11 µs 1,360 bytes bytes
Illuminate\Routing\Redirector::to 1 µs µs 600 bytes bytes 77 µs 77 µs 12,072 bytes bytes
Laravel\Boost\Middleware\InjectBoost::shouldInject 1 µs µs 600 bytes bytes µs µs 600 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::__construct 1 µs µs 608 bytes bytes 227 µs 205 µs 10,648 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::buildOrWhereG… 4 µs µs 3,736 bytes bytes µs µs 3,736 bytes bytes
App\Dto\BaseData::__construct 1 µs µs 632 bytes bytes µs µs 1,184 bytes bytes
App\Dto\BaseData::fromArray 1 µs µs 744 bytes bytes µs µs 1,928 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::forwardCallTo 1 µs µs 600 bytes bytes µs µs 600 bytes bytes
App\Models\Tenant\Log\StatusedLog::start 1 µs µs 760 bytes bytes 229 µs 207 µs 11,408 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::isAf 3 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Services\CustomerQuery\CustomerActivityFactsConditionBuilder:… 1 µs µs 912 bytes bytes µs µs 912 bytes bytes
App\Services\PaymentGateways\PaymentGatewaysProvider::{closure:Ap… 3 µs µs 792 bytes bytes µs µs 792 bytes bytes
App\Services\RedirectFlow\Redirect::redirect 1 µs µs 696 bytes bytes 100 µs 100 µs 13,464 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\CustomerQuery\CustomerActivityFactsConditionBuilder:… 1 µs µs 664 bytes bytes µs µs 664 bytes bytes
App\Dto\BaseData::fill 1 µs µs 552 bytes bytes µs µs 552 bytes bytes
Illuminate\Routing\UrlGenerator::extractQueryString 1 µs µs 816 bytes bytes µs µs 816 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
Illuminate\Support\Facades\Redis::getFacadeAccessor 2 µs µs 1,264 bytes bytes µs µs 1,264 bytes bytes
Spatie\Activitylog\ActivityLogger::setLogStatus 1 µs µs 1,240 bytes bytes µs µs 1,240 bytes bytes
Spatie\Activitylog\PendingActivityLog::logger 1 µs µs 568 bytes bytes µs µs 568 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::isCustomerLab… 3 µs µs 664 bytes bytes µs µs 664 bytes bytes