Compare runs for http://one.tsumanchuk.project-h.io/portal/api/redirect-flow/select-plan/1?gateway=fnb-exclusive-voucher

base: http://one.tsumanchuk.project-h.io/portal/api/redirect-flow/select-plan/1?gateway=fnb-exclusive-voucher - Jun 29th 13:20:31 new: - Jun 29th 14:04:16 change reverse

Summary

  Number of function calls Inclusive Wall time Inclusive CPU Inclusive Memory Inclusive Peak Memory
base - Jun 29th 13:20:31 6a42711fd59ae961450a9a13 2874 48,351 µs 19,136 µs 493,800 bytes bytes
new - Jun 29th 14:04:16 6a427b603e4a3361400af355 2829 34,524 µs 16,179 µs 153,544 bytes bytes
Difference -45 -13,827 µs -2,957 µs -340,256 bytes bytes
Difference % 98 % 71 % 85 % 31 % -100 %

Details

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
Xhgui\Profiler\Profiler::registerShutdownHandler 0 -1 0 0 0 -1 0 0 0
load::Middleware/RedirectFlowRouteMutex_php -1 -317 -134 -9,416 0 -317 -134 -9,416 0
Illuminate\Routing\UrlGenerator::{closure:Stancl\Tenancy\Bootstrappers\FilesystemTenancyBootstrapper::__construct():29} 0 1 1 0 0 1 1 0 0
load::settings/captive_portal_php 0 9 8 0 0 9 8 0 0
load::settings/customers_php 0 8 9 0 0 8 9 0 0
load::settings/finance_php 0 3 4 0 0 3 4 0 0
load::settings/finance_notifications_php 0 -4 -4 0 0 -4 -4 0 0
load::settings/localization_php 0 28 28 0 0 28 28 0 0
load::settings/portal_php 0 0 1 -320 0 0 1 -320 0
load::settings/security_php 0 10 10 320 0 10 10 320 0
load::settings/splynx_integration_php 0 2 2 0 0 2 2 0 0
load::settings/status_page_notifications_php 0 1 1 0 0 1 1 0 0
load::settings/voucher_limit_notifications_php 0 1 2 0 0 1 2 0 0
App\Http\Middleware\RedirectFlowRouteMutex::getKey 0 1 1 0 0 1 1 0 0
App\Http\Middleware\RedirectFlowRouteMutex::tryToAcquireLock 0 -6 -3 0 0 -6 -3 0 0
load::Adverts/Adverts_php -1 -215 -95 -7,776 0 -215 -95 -7,776 0
App\Helpers\Str::getString 0 0 -2 -640 0 0 -2 -640 0
App\Helpers\Str::generateString 0 -3 0 0 0 -3 -2 -640 0
App\Services\RedirectFlow\Adverts\Adverts::makeHash 0 -3 -5 640 0 -6 -7 0 0
route 0 5 3 -248 0 5 3 -248 0
load::Adverts/CampaignDetector_php -1 -221 -109 -13,656 0 -221 -109 -13,656 0
App\Facades\Format::getFacadeAccessor 0 0 0 0 0 0 0 0 0
App\Config\SettingsMysqlDriver::getGroup 0 16 14 0 0 16 14 0 0
App\Config\SettingsManager::mergeGroupDefaults 0 1 3 0 0 12 13 0 0
App\Config\SettingsManager::castGroupTypes 0 1 1 0 0 1 1 0 0
App\Config\SettingsManager::getGroup 0 2 0 0 0 31 28 0 0
App\Format\FormatManager::__construct 0 1 0 0 0 1 0 0 0
App\Providers\AppServiceProvider::{closure:App\Providers\AppServiceProvider::register():72} 0 0 1 0 0 32 29 0 0
App\Format\FormatManager::getSettings 0 -1 -1 0 0 -1 -1 0 0
App\Format\FormatManager::getDateTimeFormatSettings 0 1 1 0 0 0 0 0 0
App\Format\FormatManager::toUserTimezone 0 -2 -1 0 0 -2 -1 0 0
load::TargetGroups/TargetGroupsMatcher_php -1 -177 -67 -6,816 0 -177 -67 -6,816 0
load::TargetGroups/TargetGroup_php -1 -238 -78 -7,928 0 -238 -78 -7,928 0
App\Models\Tenant\TargetGroups\TargetGroup::bootSoftDeletes -1 -3 -3 -1,064 0 -3 -3 -1,064 0
App\Models\Tenant\TargetGroups\TargetGroup::getDeletedAtColumn -2 0 -8 0 0 0 -8 0 0
App\Models\Tenant\TargetGroups\TargetGroup::initializeSoftDeletes -1 -3 2 0 0 -3 -6 0 0
App\Models\Tenant\TargetGroups\TargetGroup::getQualifiedDeletedAtColumn 0 0 1 1,280 0 0 1 1,280 0
load::TargetGroups/TargetGroupsQueryBuilder_php -1 -227 -114 -18,344 0 -227 -114 -18,344 0
load::CustomerQuery/CustomerQueryTrait_php -1 -369 -221 -53,720 0 -369 -221 -53,720 0
load::CustomerQuery/CustomerQueryInterface_php -1 -167 -53 -5,240 0 -167 -53 -5,240 0
load::TargetGroups/TargetGroupRepository_php -1 -164 -44 -3,376 0 -164 -44 -3,376 0
load::TargetGroups/CustomerParameters_php -1 -239 -124 -28,224 0 -239 -124 -28,224 0
load::AdditionalFields/AdditionalFieldTypes_php -1 -159 -47 -5,320 0 -159 -47 -5,320 0
load::Labels/LabelsRepository_php -1 -886 -55 -3,632 0 -886 -55 -3,632 0
Illuminate\Support\NamespacedItemResolver::parseBasicSegments 0 1 -2 0 0 1 -2 0 0
Illuminate\Support\NamespacedItemResolver::parseKey 0 -8 -1 0 0 -7 -3 0 0
Illuminate\Translation\Translator::parseKey 0 2 -5 0 0 -5 -8 0 0
Illuminate\Translation\Translator::{closure:Illuminate\Translation\Translator::localeArray():459} 0 -2 1 0 0 -2 1 0 0
Illuminate\Translation\Translator::localeArray 0 -1 -11 0 0 -3 -10 0 0
Illuminate\Translation\FileLoader::{closure:Illuminate\Translation\FileLoader::loadPaths():127} -10 -114 -118 -1,584 0 -114 -118 -1,584 0
Illuminate\Translation\FileLoader::loadPaths -5 -34 -34 256 0 -148 -152 -1,328 0
Illuminate\Translation\Translator::getLine 0 -11 -9 -1,944 0 -159 -161 -3,272 0
Illuminate\Translation\Translator::handleMissingTranslationKey 0 -5 -2 0 0 -5 -2 0 0
load::Labels/LabelResource_php -1 -3,116 -72 -12,032 0 -3,116 -72 -12,032 0
App\Models\Tenant\Labels\Label::getDeletedAtColumn 0 -3 -9 0 0 -3 -9 0 0
App\Models\Tenant\Labels\Label::initializeSoftDeletes 0 8 30 0 0 4 21 0 0
App\Models\Tenant\Labels\Label::getQualifiedDeletedAtColumn 0 -6 -4 0 0 -5 -4 0 0
load::Json/AnonymousResourceCollection_php -1 -4,570 -190 -13,224 0 -4,570 -190 -13,224 0
Illuminate\Http\Resources\Json\AnonymousResourceCollection::__construct 0 -14 -16 0 0 -14 -16 0 0
Illuminate\Http\Resources\Json\JsonResource::newCollection 0 -19 -16 1,856 0 -4,603 -222 -11,368 0
Illuminate\Http\Resources\Json\JsonResource::{closure:Illuminate\Http\Resources\Json\JsonResource::collection():88} 0 -1 -2 0 0 -1 -2 0 0
Illuminate\Http\Resources\Json\JsonResource::collection 0 -6 -6 -5,632 0 -4,610 -230 -17,000 0
App\Repositories\Tenant\Labels\LabelsRepository::getCustomerLabelResources 0 -3,144 -166 1,168 0 -10,871 -451 -27,864 0
load::Plans/PlansRepository_php -1 -257 -117 -7,704 0 -257 -117 -7,704 0
App\Models\Tenant\Plan::getDeletedAtColumn 0 -34 -14 0 0 -34 -14 0 0
App\Models\Tenant\Plan::initializeSoftDeletes 0 55 31 0 0 21 20 0 0
Illuminate\Database\Query\Builder::orderBy 0 -2 -3 0 0 -2 -3 0 0
App\Models\Tenant\Plan::getQualifiedDeletedAtColumn 0 0 0 0 0 0 -3 0 0
Illuminate\Database\Query\Grammars\Grammar::{closure:Illuminate\Database\Query\Grammars\Grammar::compileOrdersToArray():1002} 0 -2 -1 0 0 -2 -1 0 0
Illuminate\Database\Query\Grammars\Grammar::compileOrdersToArray 0 -1 -2 0 0 -3 -3 0 0
Illuminate\Database\Query\Grammars\Grammar::compileOrders 0 -2 -3 0 0 -5 -6 0 0
App\Repositories\Tenant\Plans\PlansRepository::{closure:App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter():36} 0 0 28 0 0 0 28 0 0
App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter 0 -2,871 -82 0 0 -2,857 -46 0 0
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseParameters 0 -315 -192 4,280 0 -15,517 -1,089 -43,512 0
load::AdditionalFields/AdditionalFieldsConfigsRepository_php -1 -397 -209 -27,040 0 -397 -209 -27,040 0
load::Facades/AdditionalFields_php -1 -165 -50 -4,800 0 -165 -50 -4,800 0
App\Facades\AdditionalFields::getFacadeAccessor 0 0 -3 0 0 0 -3 0 0
load::AdditionalFields/AdditionalFields_php -1 -194 -73 -9,096 0 -194 -73 -9,096 0
App\Providers\AppServiceProvider::{closure:App\Providers\AppServiceProvider::register():81} 0 -7 -5 2,960 0 -201 -78 -6,136 0
load::AdditionalFields/CustomerAdditionalFieldConfig_php -1 -308 -155 -12,584 0 -308 -155 -12,584 0
load::AdditionalFields/BaseAdditionalFieldConfig_php -1 -199 -79 -11,696 0 -199 -79 -11,696 0
App\Models\Tenant\Config\AdditionalFields\BaseAdditionalFieldConfig::bootSoftDeletes -1 -3 -3 -1,096 0 -3 -3 -1,096 0
App\Models\Tenant\Config\AdditionalFields\BaseAdditionalFieldConfig::getDeletedAtColumn -2 -7 5 0 0 -7 5 0 0
App\Models\Tenant\Config\AdditionalFields\BaseAdditionalFieldConfig::initializeSoftDeletes -1 -4 -5 0 0 -9 0 0 0
App\Services\AdditionalFields\AdditionalFields::getAdditionalFieldsConfigsModel 0 -207 -204 -48,304 0 -721 -447 -73,680 0
App\Repositories\Tenant\Configs\AdditionalFields\AdditionalFieldsConfigsRepository::__construct 0 -20 -14 1,736 0 -1,107 -592 -82,880 0
App\Models\Tenant\Config\AdditionalFields\BaseAdditionalFieldConfig::getQualifiedDeletedAtColumn 0 2 1 0 0 0 1 0 0
App\Repositories\Tenant\Configs\AdditionalFields\AdditionalFieldsConfigsRepository::getAllUsableAdditionalFields 0 -1,081 2 -264 0 -1,086 9 -264 0
Illuminate\Database\Eloquent\Model::getEnumCaseFromValue 0 -11 -5 0 0 -11 -5 0 0
Illuminate\Database\Eloquent\Model::getEnumCastableAttributeValue 0 11 1 0 0 0 -4 0 0
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAdditionalFieldsParameters 0 -20 -15 7,536 0 -2,685 -854 -102,648 0
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAllParameters 0 2 -2 0 0 -18,200 -1,945 -146,160 0
App\Repositories\Tenant\TargetGroups\TargetGroupRepository::getAvailableParameters 0 -8 -6 9,120 0 -18,447 -2,075 -165,264 0
App\Services\TargetGroups\TargetGroupsQueryBuilder::__construct 0 -5 -6 1,376 0 -18,541 -2,082 -167,264 0
load::Query/Expression_php -2 -555 -160 -6,528 0 -555 -160 -6,528 0
Illuminate\Database\Query\Expression::__construct 0 -1 -1 0 0 -1 -1 0 0
Illuminate\Database\Query\Builder::selectRaw 0 -26 -23 3,232 0 -582 -184 -3,296 0
Illuminate\Database\Query\Grammars\Grammar::getOperators 0 1 0 0 0 1 0 0 0
Illuminate\Database\Query\Builder::leftJoin 0 -8 -5 0 0 -7 -5 0 0
App\Services\TargetGroups\TargetGroupsQueryBuilder::buildOrWhereGroup 0 -3 -2 0 0 -3 -2 0 0
App\Services\TargetGroups\TargetGroupsQueryBuilder::parseArrayValue 0 -6 -5 0 0 -6 -5 0 0
App\Services\TargetGroups\TargetGroupsQueryBuilder::buildCondition 0 -9 -8 0 0 -15 -16 0 0
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\Services\TargetGroups\TargetGroupsQueryBuilder::buildOrWhereGroup():103} 0 -1 -2 0 0 -16 -18 0 0
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\Services\TargetGroups\TargetGroupsQueryBuilder::build():58} 0 0 1 0 0 -19 -19 0 0
App\Services\TargetGroups\TargetGroupsQueryBuilder::build 0 -10 -10 -784 0 -618 -218 -4,080 0
App\Models\Tenant\Customer::getQualifiedDeletedAtColumn 0 1 0 0 0 1 0 0 0
Illuminate\Database\Query\Expression::getValue 0 0 -1 0 0 0 -1 0 0
App\Services\TargetGroups\TargetGroupsQueryBuilder::isAf 0 0 0 0 0 0 0 0 0
App\Services\TargetGroups\TargetGroupsQueryBuilder::isCustomerLabelField 0 2 -1 0 0 2 -1 0 0
Illuminate\Database\Query\Builder::whereLike 0 -2 -2 0 0 -2 -2 0 0
Illuminate\Database\Query\Grammars\MySqlGrammar::whereLike 0 -1 0 0 0 -1 0 0 0
Illuminate\Database\Query\Builder::whereRaw 0 0 0 0 0 0 0 0 0
Illuminate\Database\Query\Grammars\Grammar::whereRaw 0 0 0 0 0 0 0 0 0
App\Services\TargetGroups\TargetGroupsMatcher::match 0 -2,740 -206 -5,320 0 -22,906 -2,981 -261,680 0
App\Services\RedirectFlow\Adverts\CampaignDetector::detectTargetGroupsIds 0 -7 -6 1,928 0 -23,090 -3,054 -266,568 0
App\Services\RedirectFlow\Adverts\CampaignDetector::detect 0 -86 9 0 0 -23,146 -3,017 -266,568 0
App\Services\RedirectFlow\Adverts\Adverts::isWeNeedToShowAd 0 -10 -8 5,008 0 -23,377 -3,134 -275,216 0
App\Services\RedirectFlow\Adverts\Adverts::complete 0 -13 -13 0 0 -13 -13 0 0
RoadRunner\Logger\Logger::warning 0 1,422 7 0 0 1,422 7 0 0
Illuminate\Log\LogManager::warning 0 -1 -2 0 0 1,421 5 0 0
Illuminate\Routing\UrlGenerator::isValidUrl 0 0 0 -4,096 0 0 0 -4,096 0
Illuminate\Routing\UrlGenerator::to 0 0 1 0 0 0 1 -4,096 0
Symfony\Component\HttpFoundation\RedirectResponse::setTargetUrl 0 1 1 0 0 1 1 0 0
Symfony\Component\HttpFoundation\Response::isRedirect 0 0 0 0 0 0 0 0 0
Symfony\Component\HttpFoundation\RedirectResponse::__construct 0 -1 -2 0 0 0 -1 0 0
Illuminate\Http\RedirectResponse::setSession 0 0 -1 0 0 0 -1 0 0
Illuminate\Routing\UrlGenerator::getRequest 0 0 0 0 0 0 0 0 0
Illuminate\Http\RedirectResponse::setRequest 0 0 0 0 0 0 0 0 0
Illuminate\Routing\Redirector::{closure:Illuminate\Routing\Redirector::createRedirect():210} 0 0 2 0 0 0 1 0 0
Illuminate\Routing\Redirector::createRedirect 0 0 -1 0 0 0 -1 0 0
Illuminate\Routing\Redirector::to 0 -1 0 0 0 -1 0 -4,096 0
redirect 0 1 0 0 0 0 0 -4,096 0
App\Services\RedirectFlow\Redirect::redirect 0 0 0 0 0 0 0 -4,096 0
App\Http\Controllers\Tenant\CaptivePortal\PlansController::selectPlan 0 -10 -5 1,928 0 -22,195 -3,246 -285,408 0
App\Http\Middleware\RedirectFlowRouteMutex::unlock 0 3,643 0 0 0 3,644 1 0 0
App\Http\Middleware\RedirectFlowRouteMutex::handle 0 4 5 0 0 -18,553 -3,243 -285,408 0
App\Http\Middleware\RedirectFlowProfiling::handle 0 4 2 0 0 -18,549 -3,241 -285,408 0
Laravel\Boost\Middleware\InjectBoost::shouldInject 0 1 2 0 0 1 2 0 0
Laravel\Boost\Middleware\InjectBoost::handle 0 253 73 0 0 -18,248 -3,115 -285,408 0
Xhgui\Profiler\ProfilingData::__construct 0 2 1 0 0 2 1 0 0
Xhgui\Profiler\Profilers\XHProf::disable 0 -1 0 0 0 -1 0 0 0
Xhgui\Profiler\Profiler::disable 0 2 1 0 0 3 2 0 0
main() 0 4,735 289 -45,432 0 -13,827 -2,957 -340,256 0
functionCount 0 0 0 0 0 0 0 0 0

Red values are higher in 'new'. Green values are lower in 'new'.