Profile data for GET http://e2e-tests.tsumanchuk.project-h.io/portal/api/redirect-flow/order-plan/2?hash=772689e6737726808847841ee88ed478&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
76,765 µs
App\Services\PaymentGateways\PaymentGatewaysProvider::gatewayIsAvailableForLocation
4,057 µs
App\Services\RedirectFlow\Adverts\CampaignDetector::detect
3,989 µs
App\Services\TargetGroups\TargetGroupsMatcher::match
3,547 µs
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderPlan
2,952 µs
main()
2,817 µs

Memory Hogs

load::settings/localization_php
95,296 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
load::TrialSessions/TrialSessionsMaker_php
17,312 bytes
load::Payments/OrderProcessor_php
16,928 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 76,765 µs 921 µs 20,136 bytes bytes 76,765 µs 921 µs 20,136 bytes bytes
App\Services\PaymentGateways\PaymentGatewaysProvider::gatewayIsAv… 1 4,057 µs 2,314 µs 11,328 bytes bytes 4,062 µs 2,319 µs 12,120 bytes bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detect 1 3,989 µs 303 µs -25,656 bytes bytes 88,161 µs 4,518 µs 58,968 bytes bytes
App\Services\TargetGroups\TargetGroupsMatcher::match 1 3,547 µs 755 µs -52,112 bytes bytes 84,087 µs 4,131 µs 64,672 bytes bytes
App\Http\Controllers\Tenant\CaptivePortal\PlansController::orderP… 1 2,952 µs 1,850 µs 8,248 bytes bytes 102,827 µs 14,192 µs 226,848 bytes bytes
main() 1 2,817 µs 2,082 µs -35,984 bytes bytes 108,284 µs 18,059 µs 324,784 bytes bytes
Laravel\Boost\Middleware\InjectBoost::handle 1 1,718 µs 1,081 µs 36,440 bytes bytes 105,453 µs 15,962 µs 356,976 bytes bytes
Illuminate\Database\MySqlConnection::{closure:Illuminate\Database… 1 1,420 µs 412 µs 2,496 bytes bytes 1,420 µs 412 µs 2,496 bytes bytes
App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter 3 824 µs 535 µs 2,320 bytes bytes 1,021 µs 700 µs 18,480 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::__constr… 1 824 µs 496 µs 3,808 bytes bytes 834 µs 505 µs 5,232 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::getTemporar… 1 734 µs 347 µs 2,344 bytes bytes 743 µs 358 µs 3,104 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAddit… 3 666 µs 360 µs 6,984 bytes bytes 666 µs 360 µs 6,984 bytes bytes
App\Models\Tenant\Log\StatusedLog::finish 1 621 µs 690 µs 3,272 bytes bytes 621 µs 690 µs 3,272 bytes bytes
App\Repositories\Tenant\Labels\LabelsRepository::getCustomerLabel… 3 606 µs 371 µs 3,400 bytes bytes 606 µs 371 µs 3,400 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::__construct 3 555 µs 303 µs 8,424 bytes bytes 3,396 µs 2,078 µs 70,272 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseP… 3 531 µs 329 µs 35,832 bytes bytes 2,158 µs 1,400 µs 57,712 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::generate… 1 469 µs 308 µs -27,368 bytes bytes 567 µs 408 µs 9,216 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::getRedirectLin… 1 342 µs 237 µs -6,400 bytes bytes 4,668 µs 2,950 µs 71,080 bytes bytes
App\Services\RedirectFlow\TrialSessions\TrialSessionsMaker::isTri… 1 331 µs 177 µs -6,192 bytes bytes 368 µs 466 µs 2,040 bytes bytes
load::OrderProcess/UserInfo_php 1 323 µs 122 µs 2,448 bytes bytes 323 µs 122 µs 2,448 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::getPaymentGate… 1 317 µs 192 µs 2,384 bytes bytes 329 µs 204 µs 4,296 bytes bytes
load::TrialSessions/TrialSessionsMaker_php 1 296 µs 151 µs 17,312 bytes bytes 296 µs 151 µs 17,312 bytes bytes
load::Payments/OrderProcessor_php 1 279 µs 364 µs 16,928 bytes bytes 279 µs 364 µs 16,928 bytes bytes
load::Payments/GatewayLinkGenerator_php 1 242 µs 128 µs 16,144 bytes bytes 242 µs 128 µs 16,144 bytes bytes
Illuminate\Redis\RedisManager::__call 2 235 µs 84 µs 1,200 bytes bytes 235 µs 84 µs 1,200 bytes bytes
load::Dto/BaseData_php 1 225 µs 117 µs 9,896 bytes bytes 225 µs 117 µs 9,896 bytes bytes
load::settings/localization_php 3 211 µs 212 µs 95,296 bytes bytes 211 µs 212 µs 95,296 bytes bytes
load::Payments/StatementCreator_php 1 201 µs 157 µs 6,648 bytes bytes 201 µs 157 µs 6,648 bytes bytes
load::Payments/PaymentStatementMetadataCast_php 1 184 µs 205 µs 5,464 bytes bytes 184 µs 205 µs 5,464 bytes bytes
App\Services\RedirectFlow\Payments\StatementCreator::createPaymen… 1 176 µs 214 µs 3,464 bytes bytes 2,071 µs 1,230 µs 32,368 bytes bytes
App\Repositories\Tenant\Plans\PlansRepository::{closure:App\Repos… 27 171 µs 137 µs 11,520 bytes bytes 171 µs 137 µs 11,520 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::build 3 117 µs 116 µs 14,440 bytes bytes 77,112 µs 1,264 µs 40,992 bytes bytes
Spatie\Activitylog\PendingActivityLog::__construct 1 100 µs 100 µs 4,560 bytes bytes 105 µs 106 µs 6,408 bytes bytes
App\Services\RedirectFlow\RedirectFlowLogger::startLog 1 78 µs 76 µs 2,312 bytes bytes 249 µs 249 µs 13,680 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::handle 1 75 µs 150 µs -15,312 bytes bytes 103,490 µs 14,633 µs 234,208 bytes bytes
load::settings/captive_portal_php 2 74 µs 326 µs 16,416 bytes bytes 74 µs 326 µs 16,416 bytes bytes
Illuminate\Database\Eloquent\Model::save 1 68 µs 65 µs 304 bytes bytes 1,694 µs 794 µs 19,264 bytes bytes
activity 1 57 µs 55 µs 1,192 bytes bytes 167 µs 167 µs 9,400 bytes bytes
App\Services\CustomerQuery\CustomerActivityFactsConditionBuilder:… 1 51 µs 49 µs 1,864 bytes bytes 76,853 µs 1,004 µs 6,008 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::getPayLi… 1 51 µs 50 µs -1,256 bytes bytes 647 µs 487 µs 12,160 bytes bytes
Illuminate\Database\Eloquent\Builder::orWhere 4 49 µs 50 µs 7,480 bytes bytes 76,971 µs 1,125 µs 23,584 bytes bytes
App\Services\PaymentGateways\GlobalGateway::needAskAdditionalInfo… 1 43 µs 43 µs 728 bytes bytes 43 µs 43 µs 728 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::buildConditio… 5 41 µs 46 µs 4,136 bytes bytes 76,905 µs 1,065 µs 15,344 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::getKey 2 36 µs 37 µs 1,328 bytes bytes 36 µs 37 µs 1,328 bytes bytes
App\Repositories\Clickhouse\CustomerActivityFactsRepository::getC… 1 35 µs 31 µs -16,904 bytes bytes 76,800 µs 952 µs 3,232 bytes bytes
Symfony\Component\HttpFoundation\RedirectResponse::__construct 1 33 µs 36 µs 2,720 bytes bytes 48 µs 49 µs 12,768 bytes bytes
Illuminate\Database\Eloquent\Model::updateTimestamps 1 32 µs 29 µs 728 bytes bytes 66 µs 66 µs 4,944 bytes bytes
load::settings/finance_php 1 31 µs 31 µs 7,064 bytes bytes 31 µs 31 µs 7,064 bytes bytes
load::settings/customers_php 1 24 µs 25 µs 5,048 bytes bytes 24 µs 25 µs 5,048 bytes bytes
Illuminate\Database\MySqlConnection::insert 1 24 µs 21 µs -1,008 bytes bytes 1,444 µs 433 µs 1,488 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileInsert 1 22 µs 22 µs 1,344 bytes bytes 24 µs 25 µs 2,096 bytes bytes
App\Services\RedirectFlow\Adverts\CampaignDetector::detectTargetG… 1 20 µs 19 µs -11,808 bytes bytes 84,107 µs 4,150 µs 52,864 bytes bytes
App\Models\Tenant\Finance\Payment\PaymentGateway::getSaveKey 1 19 µs 20 µs 4,792 bytes bytes 19 µs 20 µs 4,792 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 4 17 µs 10 µs 760 bytes bytes 76,922 µs 1,075 µs 16,104 bytes bytes
App\Casts\Payments\PaymentStatementMetadataCast::set 7 17 µs 19 µs 2,560 bytes bytes 39 µs 50 µs 4,584 bytes bytes
App\Services\RedirectFlow\Adverts\Adverts::isWeNeedToShowAd 1 16 µs 28 µs -136 bytes bytes 88,177 µs 4,546 µs 58,832 bytes bytes
Illuminate\Database\Eloquent\Model::setUpdatedAt 1 16 µs 16 µs 856 bytes bytes 16 µs 16 µs 856 bytes bytes
Illuminate\Database\Eloquent\Model::performInsert 1 16 µs 128 µs 328 bytes bytes 1,603 µs 704 µs 16,408 bytes bytes
load::settings/finance_notifications_php 1 15 µs 15 µs 4,488 bytes bytes 15 µs 15 µs 4,488 bytes bytes
load::settings/security_php 1 15 µs 16 µs 7,216 bytes bytes 15 µs 16 µs 7,216 bytes bytes
App\Dto\BaseData::toJson 7 15 µs 24 µs -1,536 bytes bytes 22 µs 31 µs 2,024 bytes bytes
Illuminate\Database\Eloquent\Model::insertAndSetId 1 15 µs 15 µs 1,360 bytes bytes 1,504 µs 492 µs 8,192 bytes bytes
load::settings/voucher_limit_notifications_php 1 14 µs 14 µs 6,056 bytes bytes 14 µs 14 µs 6,056 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\… 3 14 µs 12 µs -2,216 bytes bytes 76,989 µs 1,142 µs 25,104 bytes bytes
Illuminate\Database\Eloquent\Model::getAttributesForInsert 1 14 µs µs 640 bytes bytes 17 µs 17 µs 2,344 bytes bytes
Symfony\Component\HttpFoundation\RedirectResponse::setTargetUrl 1 14 µs 12 µs 9,416 bytes bytes 14 µs 12 µs 9,416 bytes bytes
redirect 1 14 µs 14 µs 696 bytes bytes 80 µs 80 µs 18,528 bytes bytes
load::settings/splynx_integration_php 1 13 µs 13 µs 6,232 bytes bytes 13 µs 13 µs 6,232 bytes bytes
load::settings/status_page_notifications_php 1 13 µs 13 µs 5,872 bytes bytes 13 µs 13 µs 5,872 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::initializeSoftDeletes… 5 13 µs 12 µs 696 bytes bytes 20 µs 20 µs 1,328 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileOrdersToArray 4 13 µs 10 µs 1,560 bytes bytes 23 µs 23 µs 2,424 bytes bytes
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAllPa… 3 13 µs µs -3,576 bytes bytes 2,837 µs 1,769 µs 61,120 bytes bytes
load::settings/portal_php 1 12 µs 13 µs 3,824 bytes bytes 12 µs 13 µs 3,824 bytes bytes
Illuminate\Routing\UrlGenerator::to 2 12 µs 10 µs 2,136 bytes bytes 22 µs 22 µs 4,472 bytes bytes
Illuminate\Database\Eloquent\Model::setCreatedAt 1 11 µs 12 µs 1,216 bytes bytes 11 µs 12 µs 1,216 bytes bytes
Illuminate\Database\Query\Builder::insertGetId 1 11 µs 10 µs 944 bytes bytes 1,489 µs 477 µs 6,832 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::unlock 1 11 µs µs 744 bytes bytes 167 µs 79 µs 2,624 bytes bytes
App\Http\Middleware\RedirectFlowRouteMutex::tryToAcquireLock 1 10 µs 10 µs 824 bytes bytes 125 µs 61 µs 2,736 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::{closure:Illuminate\D… 4 10 µs 13 µs 864 bytes bytes 10 µs 13 µs 864 bytes bytes
App\Models\Tenant\Voucher::getQualifiedDeletedAtColumn 2 µs 11 µs 760 bytes bytes µs 11 µs 760 bytes bytes
App\Services\RedirectFlow\Payments\OrderProcessor::loadStatementI… 1 µs µs 664 bytes bytes µs µs 664 bytes bytes
App\Services\PaymentGateways\GlobalGateway::createEncrypter 1 µs µs 792 bytes bytes 10 µs µs 1,424 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::getDeletedAtColumn 11 µs µs 2,576 bytes bytes µs µs 2,576 bytes bytes
Illuminate\Database\Query\Builder::orderBy 4 µs µs 3,632 bytes bytes µs µs 3,632 bytes bytes
Illuminate\Database\Eloquent\Model::setClassCastableAttribute 1 µs µs 832 bytes bytes 17 µs 17 µs 4,176 bytes bytes
Illuminate\Routing\UrlGenerator::isValidUrl 2 µs 10 µs 584 bytes bytes µs 10 µs 584 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileOrders 4 µs µs 496 bytes bytes 30 µs 31 µs 2,920 bytes bytes
App\Dto\BaseData::toArray 7 µs µs 3,560 bytes bytes µs µs 3,560 bytes bytes
Illuminate\Database\Query\Builder::selectRaw 3 µs µs 1,448 bytes bytes µs µs 1,448 bytes bytes
Illuminate\Database\Query\Grammars\MySqlGrammar::whereLike 2 µs µs 1,496 bytes bytes µs µs 1,496 bytes bytes
App\Repositories\Tenant\RedirectFlow\PlansRepository::checkIfPlan… 1 µs µs 728 bytes bytes 749 µs 363 µs 3,832 bytes bytes
App\Services\RedirectFlow\LocationDetector::detect 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
url 1 µs µs -368 bytes bytes 25 µs 25 µs 3,536 bytes bytes
Illuminate\Routing\Redirector::{closure:Illuminate\Routing\Redire… 1 µs µs 856 bytes bytes µs µs 2,848 bytes bytes
Xhgui\Profiler\Profiler::disable 1 µs µs 776 bytes bytes 10 µs 10 µs 1,944 bytes bytes
App\Models\Tenant\TargetGroups\TargetGroup::getQualifiedDeletedAt… 1 µs µs 752 bytes bytes µs µs 2,696 bytes bytes
App\Services\PaymentGateways\PaymentGatewaysProvider::{closure:Ap… 3 µs µs 792 bytes bytes µs µs 792 bytes bytes
Illuminate\Database\Query\Processors\MySqlProcessor::processInser… 1 µs µs 760 bytes bytes 1,450 µs 439 µs 2,880 bytes bytes
Illuminate\Routing\Redirector::createRedirect 1 µs µs 968 bytes bytes 59 µs 60 µs 16,584 bytes bytes
App\Repositories\Tenant\TargetGroups\TargetGroupRepository::getAv… 3 µs µs 728 bytes bytes 2,841 µs 1,775 µs 61,848 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::buildOrWhereG… 4 µs µs 3,736 bytes bytes µs µs 3,736 bytes bytes
Illuminate\Database\Query\Builder::whereLike 2 µs µs 2,512 bytes bytes µs µs 2,512 bytes bytes
App\Models\Tenant\Log\StatusedLog::success 1 µs µs bytes bytes 625 µs 693 µs 3,272 bytes bytes
App\Services\RedirectFlow\Payments\GatewayLinkGenerator::getGatew… 1 µs µs 664 bytes bytes µs µs 664 bytes bytes
Illuminate\Routing\Redirector::to 1 µs µs 680 bytes bytes 66 µs 66 µs 17,832 bytes bytes
Laravel\Boost\Middleware\InjectBoost::shouldInject 1 µs µs 600 bytes bytes µs µs 600 bytes bytes
Illuminate\Auth\SessionGuard::recaller 1 µs µs 584 bytes bytes µs µs 1,248 bytes bytes
Spatie\Activitylog\PendingActivityLog::forwardCallTo 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
App\Services\CustomerQuery\CustomerActivityFactsConditionBuilder:… 1 µs µs 728 bytes bytes 76,856 µs 1,007 µs 6,736 bytes bytes
Illuminate\Http\Request::query 1 µs µs 600 bytes bytes µs µs 600 bytes bytes
Illuminate\Database\Eloquent\Model::normalizeCastClassResponse 7 µs µs 5,160 bytes bytes µs µs 5,160 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
Illuminate\Routing\UrlGenerator::{closure:Stancl\Tenancy\Bootstra… 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
Spatie\Activitylog\PendingActivityLog::__call 1 µs µs 632 bytes bytes µs µs 1,232 bytes bytes
App\Models\Tenant\Log\StatusedLog::__construct 1 µs µs 608 bytes bytes 169 µs 170 µs 10,008 bytes bytes
App\Models\Tenant\Log\StatusedLog::start 1 µs µs 760 bytes bytes 171 µs 172 µs 10,768 bytes bytes
App\Services\CustomerQuery\CustomerActivityFactsConditionBuilder:… 1 µs µs 912 bytes bytes µs µs 912 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
App\Services\RedirectFlow\Payments\OrderProcessor::__construct 1 µs µs 696 bytes bytes 11 µs 11 µs 1,360 bytes bytes
App\Services\RedirectFlow\Payments\StatementCreator::__construct 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::{closure:Illuminate\D… 1 µs µs 752 bytes bytes µs µs 752 bytes bytes
Illuminate\Database\Query\Grammars\MySqlGrammar::compileInsert 1 µs µs 216 bytes bytes 26 µs 27 µs 2,312 bytes bytes
Illuminate\Database\Query\Grammars\Grammar::compileInsertGetId 1 µs µs 696 bytes bytes 28 µs 28 µs 3,008 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 83 µs 19,224 bytes bytes
Spatie\Activitylog\ActivityLogger::setLogStatus 1 µs µs 600 bytes bytes µs µs 600 bytes bytes
Illuminate\Auth\SessionGuard::getRecallerName 1 µs µs 664 bytes bytes µs µs 664 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\Database\MySqlConnection::getLastInsertId 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
App\Services\PaymentGateways\GlobalGateway::getEncryptionKey 1 µs µs 632 bytes bytes µs µs 632 bytes bytes
Symfony\Component\HttpFoundation\Response::isRedirect 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
Illuminate\Support\Facades\Redis::getFacadeAccessor 2 µs µs 1,264 bytes bytes µs µs 1,264 bytes bytes
Spatie\Activitylog\PendingActivityLog::logger 1 µs µs 568 bytes bytes µs µs 568 bytes bytes
App\Models\Tenant\Log\StatusedLog::activity 1 µs µs 600 bytes bytes µs µs 600 bytes bytes
App\Services\TargetGroups\TargetGroupsQueryBuilder::isAf 3 µs µs 632 bytes bytes µs µs 632 bytes bytes
Illuminate\Database\Eloquent\Model::usesUniqueIds 1 µs µs 600 bytes bytes µs µs 600 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