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 12:11:05 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 12:11:05 6a4260d91abd29ab85065f85 649 25,926 µs 15,192 µs 394,736 bytes bytes
Difference -2225 -22,425 µs -3,944 µs -99,064 bytes bytes
Difference % 23 % 54 % 79 % 80 % -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 0 1 0 0 0 1 0 0
load::Middleware/RedirectFlowRouteMutex_php 0 24 5 -72 0 24 5 -72 0
Illuminate\Routing\UrlGenerator::{closure:Stancl\Tenancy\Bootstrappers\FilesystemTenancyBootstrapper::__construct():29} 0 0 0 0 0 0 0 0 0
load::settings/captive_portal_php 0 24 24 0 0 24 24 0 0
load::settings/customers_php 0 4 4 0 0 4 4 0 0
load::settings/finance_php 0 1 2 0 0 1 2 0 0
load::settings/finance_notifications_php 0 -5 -5 0 0 -5 -5 0 0
load::settings/localization_php 0 35 35 16 0 35 35 16 0
load::settings/portal_php 0 1 1 0 0 1 1 0 0
load::settings/security_php 0 1 1 0 0 1 1 0 0
load::settings/splynx_integration_php 0 4 4 0 0 4 4 0 0
load::settings/status_page_notifications_php 0 6 7 0 0 6 7 0 0
load::settings/voucher_limit_notifications_php 0 0 1 0 0 0 1 0 0
App\Http\Middleware\RedirectFlowRouteMutex::getKey 0 6 7 0 0 6 7 0 0
App\Http\Middleware\RedirectFlowRouteMutex::tryToAcquireLock 0 28 9 0 0 31 12 0 0
load::Adverts/Adverts_php 0 18 18 0 0 18 18 0 0
App\Helpers\Str::getString 0 0 0 0 0 0 0 0 0
App\Helpers\Str::generateString 0 2 3 0 0 2 3 0 0
App\Services\RedirectFlow\Adverts\Adverts::makeHash 0 1 0 0 0 3 3 0 0
route 0 22 21 0 0 22 21 0 0
load::Adverts/CampaignDetector_php 0 84 45 -40 0 84 45 -40 0
App\Facades\Format::getFacadeAccessor -1 -1 -1 -600 0 -1 -1 -600 0
App\Config\SettingsMysqlDriver::getGroup -1 -207 -110 -15,008 0 -207 -110 -15,008 0
App\Config\SettingsManager::mergeGroupDefaults -1 -18 -17 -4,664 0 -72 -72 -36,408 0
App\Config\SettingsManager::castGroupTypes -1 -5 -5 -1,920 0 -5 -5 -1,920 0
App\Config\SettingsManager::getGroup -1 -8 -8 46,688 0 -292 -195 -6,648 0
App\Format\FormatManager::__construct -1 0 -1 -632 0 0 -1 -632 0
App\Providers\AppServiceProvider::{closure:App\Providers\AppServiceProvider::register():72} -1 -5 -4 488 0 -297 -200 -6,792 0
App\Format\FormatManager::getSettings -1 -1 -1 -600 0 -1 -1 -600 0
App\Format\FormatManager::getDateTimeFormatSettings -1 -3 -3 -1,112 0 -4 -4 -1,712 0
App\Format\FormatManager::toUserTimezone -1 -12 -12 -744 0 -16 -16 -2,456 0
load::TargetGroups/TargetGroupsMatcher_php 0 7 7 64,096 0 7 7 64,096 0
load::TargetGroups/TargetGroup_php 0 -54 -5 0 0 -54 -5 0 0
App\Models\Tenant\TargetGroups\TargetGroup::bootSoftDeletes 0 0 1 0 0 0 1 0 0
App\Models\Tenant\TargetGroups\TargetGroup::getDeletedAtColumn 0 3 -6 0 0 3 -6 0 0
App\Models\Tenant\TargetGroups\TargetGroup::initializeSoftDeletes 0 -2 7 0 0 1 1 0 0
App\Models\Tenant\TargetGroups\TargetGroup::getQualifiedDeletedAtColumn 0 1 1 0 0 1 1 0 0
load::TargetGroups/TargetGroupsQueryBuilder_php 0 7 9 -320 0 7 9 -320 0
load::CustomerQuery/CustomerQueryTrait_php 0 -2 31 -192 0 -2 31 -192 0
load::CustomerQuery/CustomerQueryInterface_php 0 8 3 0 0 8 3 0 0
load::TargetGroups/TargetGroupRepository_php 0 -3 7 1,280 0 -3 7 1,280 0
load::TargetGroups/CustomerParameters_php 0 19 19 -64 0 19 19 -64 0
load::AdditionalFields/AdditionalFieldTypes_php -1 -159 -47 -5,320 0 -159 -47 -5,320 0
load::Labels/LabelsRepository_php 0 -715 7 -128 0 -715 7 -128 0
Illuminate\Support\NamespacedItemResolver::parseBasicSegments -5 -3 -8 -1,712 0 -3 -8 -1,712 0
Illuminate\Support\NamespacedItemResolver::parseKey -20 -23 -25 -2,120 0 -26 -33 -3,832 0
Illuminate\Translation\Translator::parseKey -20 -40 -38 -3,936 0 -66 -71 -7,768 0
Illuminate\Translation\Translator::{closure:Illuminate\Translation\Translator::localeArray():459} -20 -15 -18 -664 0 -15 -18 -664 0
Illuminate\Translation\Translator::localeArray -20 -50 -54 -9,336 0 -65 -72 -10,000 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 -20 -35 -38 -2,576 0 -183 -190 -3,904 0
Illuminate\Translation\Translator::handleMissingTranslationKey -20 -13 -18 -664 0 -13 -18 -664 0
load::Labels/LabelResource_php 0 -2,948 -12 0 0 -2,948 -12 0 0
App\Models\Tenant\Labels\Label::getDeletedAtColumn -44 -28 -46 -1,264 0 -28 -46 -1,264 0
App\Models\Tenant\Labels\Label::initializeSoftDeletes -20 -51 -39 -696 0 -77 -81 -1,328 0
App\Models\Tenant\Labels\Label::getQualifiedDeletedAtColumn -4 -19 -19 -920 0 -21 -23 -1,552 0
load::Json/AnonymousResourceCollection_php -1 -4,570 -190 -13,224 0 -4,570 -190 -13,224 0
Illuminate\Http\Resources\Json\AnonymousResourceCollection::__construct -4 -46 -49 -3,224 0 -46 -49 -3,224 0
Illuminate\Http\Resources\Json\JsonResource::newCollection -4 -26 -23 264 0 -4,642 -262 -16,184 0
Illuminate\Http\Resources\Json\JsonResource::{closure:Illuminate\Http\Resources\Json\JsonResource::collection():88} -4 -5 -7 -696 0 -5 -7 -696 0
Illuminate\Http\Resources\Json\JsonResource::collection -4 -18 -16 -6,392 0 -4,665 -285 -23,272 0
App\Repositories\Tenant\Labels\LabelsRepository::getCustomerLabelResources 0 -3,122 -132 3,112 0 -10,833 -533 -23,040 0
load::Plans/PlansRepository_php 0 -65 -36 0 0 -65 -36 0 0
App\Models\Tenant\Plan::getDeletedAtColumn -1,020 -528 -671 -1,200 0 -528 -671 -1,200 0
App\Models\Tenant\Plan::initializeSoftDeletes -508 -990 -902 -696 0 -1,515 -1,566 -1,296 0
Illuminate\Database\Query\Builder::orderBy -4 -7 -10 -3,000 0 -7 -10 -3,000 0
App\Models\Tenant\Plan::getQualifiedDeletedAtColumn -4 -15 -14 -888 0 -18 -21 -1,488 0
Illuminate\Database\Query\Grammars\Grammar::{closure:Illuminate\Database\Query\Grammars\Grammar::compileOrdersToArray():1002} -4 -11 -13 -856 0 -11 -13 -856 0
Illuminate\Database\Query\Grammars\Grammar::compileOrdersToArray -4 -10 -11 -1,560 0 -21 -24 -2,416 0
Illuminate\Database\Query\Grammars\Grammar::compileOrders -4 -10 -8 136 0 -31 -32 -2,280 0
App\Repositories\Tenant\Plans\PlansRepository::{closure:App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter():36} 0 31 45 0 0 31 45 0 0
App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter 0 -3,224 -345 2,496 0 -4,764 -1,929 -5,568 0
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseParameters 0 -235 -38 22,920 0 -17,098 -2,927 -33,472 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 -8 -4 -7 -664 0 -4 -7 -664 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} -1 -7 -6 2,224 0 -201 -79 -6,872 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 -202 -120 -166 -1,392 0 -120 -166 -1,392 0
App\Models\Tenant\Config\AdditionalFields\BaseAdditionalFieldConfig::initializeSoftDeletes -97 -221 -189 -1,488 0 -335 -347 -2,184 0
App\Services\AdditionalFields\AdditionalFields::getAdditionalFieldsConfigsModel -8 -249 -248 -63,848 0 -794 -522 -90,680 0
App\Repositories\Tenant\Configs\AdditionalFields\AdditionalFieldsConfigsRepository::__construct -8 -60 -55 -136 0 -1,224 -713 -103,152 0
App\Models\Tenant\Config\AdditionalFields\BaseAdditionalFieldConfig::getQualifiedDeletedAtColumn -8 -15 -15 -1,304 0 -21 -23 -2,000 0
App\Repositories\Tenant\Configs\AdditionalFields\AdditionalFieldsConfigsRepository::getAllUsableAdditionalFields -8 -3,552 -1,337 -158,808 0 -3,873 -1,670 -161,536 0
Illuminate\Database\Eloquent\Model::getEnumCaseFromValue -36 -31 -35 -632 0 -31 -35 -632 0
Illuminate\Database\Eloquent\Model::getEnumCastableAttributeValue -36 -51 -55 -728 0 -82 -90 -1,360 0
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAdditionalFieldsParameters 0 1,037 647 91,192 0 -3,374 -1,229 -117,368 0
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAllParameters 0 5 -1 0 0 -20,467 -4,157 -150,840 0
App\Repositories\Tenant\TargetGroups\TargetGroupRepository::getAvailableParameters 0 2 2 0 0 -20,446 -4,136 -150,904 0
App\Services\TargetGroups\TargetGroupsQueryBuilder::__construct 0 915 570 83,040 0 -20,699 -4,365 -151,112 0
load::Query/Expression_php -2 -555 -160 -6,528 0 -555 -160 -6,528 0
Illuminate\Database\Query\Expression::__construct -4 -3 -5 -600 0 -3 -5 -600 0
Illuminate\Database\Query\Builder::selectRaw -4 -38 -34 1,448 0 -596 -199 -5,680 0
Illuminate\Database\Query\Grammars\Grammar::getOperators -4 -1 -4 -600 0 -1 -4 -600 0
Illuminate\Database\Query\Builder::leftJoin 0 -15 -13 -64 0 -16 -17 -664 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 -8 -7 0 0 -13 -13 0 0
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\Services\TargetGroups\TargetGroupsQueryBuilder::buildOrWhereGroup():103} 0 -1 -3 0 0 -14 -16 0 0
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\Services\TargetGroups\TargetGroupsQueryBuilder::build():58} 0 -5 -5 0 0 -22 -23 0 0
App\Services\TargetGroups\TargetGroupsQueryBuilder::build 0 -22 -18 1,400 0 -656 -257 -4,944 0
App\Models\Tenant\Customer::getQualifiedDeletedAtColumn -4 -14 -14 -824 0 -14 -14 -824 0
Illuminate\Database\Query\Expression::getValue -4 -3 -4 -600 0 -3 -4 -600 0
App\Services\TargetGroups\TargetGroupsQueryBuilder::isAf 0 1 0 0 0 1 0 0 0
App\Services\TargetGroups\TargetGroupsQueryBuilder::isCustomerLabelField 0 0 0 0 0 0 0 0 0
Illuminate\Database\Query\Builder::whereLike 0 0 -1 0 0 0 -1 0 0
Illuminate\Database\Query\Grammars\MySqlGrammar::whereLike 0 0 1 0 0 0 1 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 -1,951 -3 704 0 -23,362 -4,601 -157,288 0
App\Services\RedirectFlow\Adverts\CampaignDetector::detectTargetGroupsIds 0 -1 -1 0 0 -23,356 -4,595 -93,192 0
App\Services\RedirectFlow\Adverts\CampaignDetector::detect 0 252 191 -28,616 0 -23,337 -4,540 -99,896 0
App\Services\RedirectFlow\Adverts\Adverts::isWeNeedToShowAd 0 1 3 0 0 -23,252 -4,492 -99,936 0
App\Services\RedirectFlow\Adverts\Adverts::complete 0 -16 -17 0 0 -16 -17 0 0
RoadRunner\Logger\Logger::warning -1 -284 -162 -568 0 -284 -162 -568 0
Illuminate\Log\LogManager::warning 0 226 135 -64 0 -58 -27 -632 0
Illuminate\Routing\UrlGenerator::isValidUrl 0 0 1 1,536 0 0 1 1,536 0
Illuminate\Routing\UrlGenerator::to 0 4 3 0 0 4 4 1,536 0
Symfony\Component\HttpFoundation\RedirectResponse::setTargetUrl 0 4 4 0 0 4 4 0 0
Symfony\Component\HttpFoundation\Response::isRedirect 0 0 0 0 0 0 0 0 0
Symfony\Component\HttpFoundation\RedirectResponse::__construct 0 9 9 0 0 13 13 0 0
Illuminate\Http\RedirectResponse::setSession 0 0 0 0 0 0 0 0 0
Illuminate\Routing\UrlGenerator::getRequest 0 1 1 0 0 1 1 0 0
Illuminate\Http\RedirectResponse::setRequest 0 -1 0 0 0 -1 0 0 0
Illuminate\Routing\Redirector::{closure:Illuminate\Routing\Redirector::createRedirect():210} 0 4 4 0 0 4 5 0 0
Illuminate\Routing\Redirector::createRedirect 0 3 2 0 0 20 20 0 0
Illuminate\Routing\Redirector::to 0 2 2 0 0 26 26 1,536 0
redirect 0 11 12 0 0 37 38 1,536 0
App\Services\RedirectFlow\Redirect::redirect 0 1 0 0 0 38 38 1,536 0
App\Http\Controllers\Tenant\CaptivePortal\PlansController::selectPlan 0 12 9 0 0 -23,233 -4,447 -99,032 0
App\Http\Middleware\RedirectFlowRouteMutex::unlock 0 -59 -1 0 0 -56 3 0 0
App\Http\Middleware\RedirectFlowRouteMutex::handle 0 13 12 0 0 -23,245 -4,420 -99,032 0
App\Http\Middleware\RedirectFlowProfiling::handle 0 2 1 0 0 -23,243 -4,419 -99,032 0
Laravel\Boost\Middleware\InjectBoost::shouldInject 0 0 1 0 0 0 1 0 0
Laravel\Boost\Middleware\InjectBoost::handle 0 342 122 0 0 -22,857 -4,248 -99,032 0
Xhgui\Profiler\ProfilingData::__construct 0 1 0 0 0 1 0 0 0
Xhgui\Profiler\Profilers\XHProf::disable 0 0 0 0 0 0 0 0 0
Xhgui\Profiler\Profiler::disable 0 0 0 0 0 1 0 0 0
main() 0 407 298 40 0 -22,425 -3,944 -99,064 0
functionCount 0 0 0 0 0 0 0 0 0

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