Profile data for GET http://e2e-tests.tsumanchuk.project-h.io/portal/api/redirect-flow/select-plan/2?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
146,808 µs
App\Services\TargetGroups\TargetGroupsMatcher::match
13,053 µs
Illuminate\Redis\RedisManager::__call
3,416 µs
main()
3,080 µs
Laravel\Boost\Middleware\InjectBoost::handle
2,170 µs
App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter
814 µs

Memory Hogs

load::settings/localization_php
63,504 bytes
Laravel\Boost\Middleware\InjectBoost::handle
36,440 bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseParameters
30,200 bytes
App\Repositories\Clickhouse\CustomerActivityFactsRepository::selectDistinctCustomerIds
20,136 bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::build
14,440 bytes
App\Repositories\Tenant\Plans\PlansRepository::{closure:App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter():36}
10,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\Repositories\Clickhouse\CustomerActivityFactsRepository::sele… 1 146,808 µs 1,139 µs 20,136 bytes 0 bytes 146,808 µs 1,139 µs 20,136 bytes 0 bytes
App\Services\TargetGroups\TargetGroupsMatcher::match 1 13,053 µs 10,278 µs -7,813,976 bytes 0 bytes 163,805 µs 14,073 µs -7,696,632 bytes 0 bytes
Illuminate\Redis\RedisManager::__call 2 3,416 µs 93 µs 1,200 bytes 0 bytes 3,416 µs 93 µs 1,200 bytes 0 bytes
main() 1 3,080 µs 2,298 µs -83,712 bytes 0 bytes 174,339 µs 18,903 µs -7,634,904 bytes 0 bytes
Laravel\Boost\Middleware\InjectBoost::handle 1 2,170 µs 1,214 µs 36,440 bytes 0 bytes 171,242 µs 16,589 µs -7,554,984 bytes 0 bytes
App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter 3 814 µs 546 µs 2,320 bytes 0 bytes 950 µs 695 µs 19,120 bytes 0 bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detect 1 699 µs 265 µs -25,656 bytes 0 bytes 164,589 µs 14,421 µs -7,707,968 bytes 0 bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAddit… 3 692 µs 387 µs 6,984 bytes 0 bytes 692 µs 387 µs 6,984 bytes 0 bytes
App\Repositories\Tenant\Labels\LabelsRepository::getCustomerLabel… 3 663 µs 398 µs 3,400 bytes 0 bytes 663 µs 398 µs 3,400 bytes 0 bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::__construct 3 581 µs 333 µs 8,424 bytes 0 bytes 3,469 µs 2,183 µs 65,280 bytes 0 bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseP… 3 564 µs 353 µs 30,200 bytes 0 bytes 2,177 µs 1,446 µs 52,720 bytes 0 bytes
RoadRunner\Logger\Logger::warning 1 355 µs 158 µs 568 bytes 0 bytes 355 µs 158 µs 568 bytes 0 bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::build 3 174 µs 169 µs 14,440 bytes 0 bytes 147,237 µs 1,564 µs 46,624 bytes 0 bytes
load::settings/localization_php 2 144 µs 144 µs 63,504 bytes 0 bytes 144 µs 144 µs 63,504 bytes 0 bytes
Illuminate\Log\LogManager::warning 1 119 µs 109 µs 808 bytes 0 bytes 474 µs 267 µs 1,376 bytes 0 bytes
App\Repositories\Tenant\Plans\PlansRepository::{closure:App\Repos… 27 110 µs 120 µs 10,880 bytes 0 bytes 110 µs 120 µs 10,880 bytes 0 bytes
Illuminate\Database\Eloquent\Builder::orWhere 4 66 µs 66 µs 7,480 bytes 0 bytes 147,040 µs 1,369 µs 29,216 bytes 0 bytes
App\Http\Middleware\RedirectFlowRouteMutex::handle 1 55 µs 53 µs 752 bytes 0 bytes 168,826 µs 15,122 µs -7,677,752 bytes 0 bytes
App\Http\Middleware\RedirectFlowRouteMutex::getKey 2 52 µs 54 µs 1,328 bytes 0 bytes 52 µs 54 µs 1,328 bytes 0 bytes
App\Services\CustomerQuery\CustomerActivityFactsConditionBuilder:… 1 52 µs 51 µs 1,864 bytes 0 bytes 146,902 µs 1,230 µs 6,008 bytes 0 bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::buildConditio… 5 45 µs 44 µs 9,768 bytes 0 bytes 146,958 µs 1,288 µs 20,976 bytes 0 bytes
load::settings/captive_portal_php 1 40 µs 41 µs 8,184 bytes 0 bytes 40 µs 41 µs 8,184 bytes 0 bytes
App\Repositories\Clickhouse\CustomerActivityFactsRepository::getC… 1 40 µs 37 µs -16,904 bytes 0 bytes 146,848 µs 1,176 µs 3,232 bytes 0 bytes
Symfony\Component\HttpFoundation\RedirectResponse::__construct 1 39 µs 37 µs 2,720 bytes 0 bytes 47 µs 47 µs 5,600 bytes 0 bytes
route 1 34 µs 34 µs 696 bytes 0 bytes 34 µs 34 µs 696 bytes 0 bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::select… 1 30 µs 26 µs 1,320 bytes 0 bytes 165,277 µs 14,899 µs -7,683,864 bytes 0 bytes
load::settings/customers_php 1 25 µs 26 µs 5,048 bytes 0 bytes 25 µs 26 µs 5,048 bytes 0 bytes
load::settings/finance_php 1 20 µs 21 µs 7,064 bytes 0 bytes 20 µs 21 µs 7,064 bytes 0 bytes
App\Helpers\Str::generateString 1 19 µs 20 µs 1,408 bytes 0 bytes 21 µs 22 µs 2,040 bytes 0 bytes
redirect 1 19 µs 19 µs 696 bytes 0 bytes 88 µs 88 µs 17,640 bytes 0 bytes
load::settings/security_php 1 16 µs 16 µs 7,216 bytes 0 bytes 16 µs 16 µs 7,216 bytes 0 bytes
App\Models\Tenant\TargetGroups\TargetGroup::initializeSoftDeletes… 5 16 µs 14 µs 696 bytes 0 bytes 27 µs 26 µs 1,328 bytes 0 bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 4 16 µs 15 µs 760 bytes 0 bytes 146,974 µs 1,303 µs 21,736 bytes 0 bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 3 16 µs 15 µs -2,216 bytes 0 bytes 147,059 µs 1,389 µs 30,736 bytes 0 bytes
App\Services\RedirectFlow\Adverts\Adverts::complete 1 16 µs 17 µs 632 bytes 0 bytes 16 µs 17 µs 632 bytes 0 bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detectTargetG… 1 15 µs 13 µs -17,440 bytes 0 bytes 163,820 µs 14,086 µs -7,714,072 bytes 0 bytes
App\Services\RedirectFlow\Adverts\Adverts::isWeNeedToShowAd 1 15 µs 14 µs -1,472 bytes 0 bytes 164,604 µs 14,435 µs -7,709,440 bytes 0 bytes
load::settings/finance_notifications_php 1 14 µs 15 µs 4,488 bytes 0 bytes 14 µs 15 µs 4,488 bytes 0 bytes
load::settings/splynx_integration_php 1 14 µs 15 µs 6,232 bytes 0 bytes 14 µs 15 µs 6,232 bytes 0 bytes
load::settings/voucher_limit_notifications_php 1 14 µs 14 µs 6,056 bytes 0 bytes 14 µs 14 µs 6,056 bytes 0 bytes
load::settings/status_page_notifications_php 1 13 µs 14 µs 5,872 bytes 0 bytes 13 µs 14 µs 5,872 bytes 0 bytes
App\Http\Middleware\RedirectFlowRouteMutex::tryToAcquireLock 1 13 µs 11 µs 824 bytes 0 bytes 148 µs 68 µs 2,736 bytes 0 bytes
App\Models\Tenant\TargetGroups\TargetGroup::getDeletedAtColumn 11 12 µs 13 µs 1,296 bytes 0 bytes 12 µs 13 µs 1,296 bytes 0 bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAllPa… 3 12 µs 11 µs -3,576 bytes 0 bytes 2,881 µs 1,844 µs 56,128 bytes 0 bytes
App\Http\Middleware\RedirectFlowRouteMutex::unlock 1 12 µs 10 µs 744 bytes 0 bytes 3,346 µs 102 µs 2,624 bytes 0 bytes
load::settings/portal_php 1 11 µs 11 µs 3,824 bytes 0 bytes 11 µs 11 µs 3,824 bytes 0 bytes
Illuminate\Database\Query\Grammars\Grammar::{closure:Illuminate\D… 3 8 µs 9 µs 816 bytes 0 bytes 8 µs 9 µs 816 bytes 0 bytes
App\Repositories\Tenant\TargetGroups\TargetGroupRepository::getAv… 3 7 µs 6 µs 728 bytes 0 bytes 2,888 µs 1,850 µs 56,856 bytes 0 bytes
Symfony\Component\HttpFoundation\RedirectResponse::setTargetUrl 1 7 µs 9 µs 2,248 bytes 0 bytes 7 µs 9 µs 2,248 bytes 0 bytes
Illuminate\Routing\Redirector::{closure:Illuminate\Routing\Redire… 1 7 µs 5 µs 856 bytes 0 bytes 8 µs 8 µs 2,848 bytes 0 bytes
App\Services\RedirectFlow\Adverts\Adverts::makeHash 1 6 µs 6 µs -64 bytes 0 bytes 27 µs 28 µs 1,976 bytes 0 bytes
GuzzleHttp\Handler\CurlFactory::__destruct 8 6 µs 8 µs 600 bytes 0 bytes 6 µs 8 µs 600 bytes 0 bytes
Illuminate\Database\Query\Builder::orderBy 3 6 µs 7 µs 2,408 bytes 0 bytes 6 µs 7 µs 2,408 bytes 0 bytes
Illuminate\Database\Query\Grammars\Grammar::compileOrdersToArray 3 6 µs 7 µs 1,344 bytes 0 bytes 14 µs 16 µs 2,160 bytes 0 bytes
Illuminate\Database\Query\Grammars\Grammar::compileOrders 3 6 µs 6 µs 1,352 bytes 0 bytes 20 µs 22 µs 3,512 bytes 0 bytes
Illuminate\Database\Query\Grammars\MySqlGrammar::whereLike 2 6 µs 6 µs 1,496 bytes 0 bytes 6 µs 6 µs 1,496 bytes 0 bytes
Xhgui\Profiler\Profiler::disable 1 6 µs 4 µs 776 bytes 0 bytes 11 µs 10 µs 1,944 bytes 0 bytes
Laravel\Boost\Middleware\InjectBoost::shouldInject 1 5 µs 6 µs 600 bytes 0 bytes 5 µs 6 µs 600 bytes 0 bytes
App\Models\Tenant\TargetGroups\TargetGroup::getQualifiedDeletedAt… 1 4 µs 5 µs 752 bytes 0 bytes 5 µs 6 µs 1,416 bytes 0 bytes
Illuminate\Database\Query\Builder::selectRaw 3 4 µs 6 µs 1,448 bytes 0 bytes 4 µs 6 µs 1,448 bytes 0 bytes
Illuminate\Database\Query\Builder::whereLike 2 4 µs 4 µs 2,512 bytes 0 bytes 4 µs 4 µs 2,512 bytes 0 bytes
Illuminate\Routing\UrlGenerator::to 1 4 µs 2 µs 632 bytes 0 bytes 6 µs 6 µs 6,848 bytes 0 bytes
Illuminate\Routing\Redirector::createRedirect 1 4 µs 5 µs 968 bytes 0 bytes 59 µs 60 µs 9,416 bytes 0 bytes
Illuminate\Routing\Redirector::to 1 4 µs 3 µs 680 bytes 0 bytes 69 µs 69 µs 16,944 bytes 0 bytes
Xhgui\Profiler\ProfilingData::__construct 1 4 µs 5 µs 584 bytes 0 bytes 4 µs 5 µs 584 bytes 0 bytes
Xhgui\Profiler\Profiler::registerShutdownHandler 1 3 µs 3 µs 1,216 bytes 0 bytes 3 µs 3 µs 1,216 bytes 0 bytes
Illuminate\Routing\UrlGenerator::{closure:Stancl\Tenancy\Bootstra… 1 3 µs 3 µs 632 bytes 0 bytes 3 µs 3 µs 632 bytes 0 bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::buildOrWhereG… 4 3 µs 5 µs 3,736 bytes 0 bytes 3 µs 5 µs 3,736 bytes 0 bytes
App\Services\CustomerQuery\CustomerActivityFactsConditionBuilder:… 1 3 µs 2 µs 728 bytes 0 bytes 146,905 µs 1,232 µs 6,736 bytes 0 bytes
Illuminate\Http\Request::query 1 2 µs 2 µs 1,240 bytes 0 bytes 2 µs 2 µs 1,240 bytes 0 bytes
App\Helpers\Str::getString 1 2 µs 2 µs 632 bytes 0 bytes 2 µs 2 µs 632 bytes 0 bytes
GuzzleHttp\Handler\CurlMultiHandler::__destruct 4 2 µs 2 µs 600 bytes 0 bytes 2 µs 2 µs 600 bytes 0 bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::isAf 3 2 µs 3 µs 632 bytes 0 bytes 2 µs 3 µs 632 bytes 0 bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::isCustomerLab… 3 2 µs 3 µs 664 bytes 0 bytes 2 µs 3 µs 664 bytes 0 bytes
App\Services\CustomerQuery\CustomerActivityFactsConditionBuilder:… 1 2 µs 3 µs 912 bytes 0 bytes 2 µs 3 µs 912 bytes 0 bytes
Illuminate\Routing\UrlGenerator::isValidUrl 1 2 µs 4 µs 6,216 bytes 0 bytes 2 µs 4 µs 6,216 bytes 0 bytes
App\Services\RedirectFlow\Redirect::redirect 1 2 µs 2 µs 696 bytes 0 bytes 90 µs 90 µs 18,336 bytes 0 bytes
Illuminate\Support\Facades\Redis::getFacadeAccessor 2 1 µs 2 µs 1,264 bytes 0 bytes 1 µs 2 µs 1,264 bytes 0 bytes
Symfony\Component\HttpFoundation\Response::isRedirect 1 1 µs 1 µs 632 bytes 0 bytes 1 µs 1 µs 632 bytes 0 bytes
Illuminate\Http\RedirectResponse::setSession 1 1 µs 1 µs 664 bytes 0 bytes 1 µs 1 µs 664 bytes 0 bytes
Xhgui\Profiler\Profilers\XHProf::disable 1 1 µs 1 µs 584 bytes 0 bytes 1 µs 1 µs 584 bytes 0 bytes
App\Services\CustomerQuery\CustomerActivityFactsConditionBuilder:… 1 0 µs 2 µs 664 bytes 0 bytes 0 µs 2 µs 664 bytes 0 bytes
Illuminate\Routing\UrlGenerator::getRequest 1 0 µs 1 µs 664 bytes 0 bytes 0 µs 1 µs 664 bytes 0 bytes
Illuminate\Http\RedirectResponse::setRequest 1 0 µs 1 µs 664 bytes 0 bytes 0 µs 1 µs 664 bytes 0 bytes