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 13:11:38 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 13:11:38 6a426f0a16f62854e8097463 2625 34,139 µs 18,942 µs 525,720 bytes bytes
Difference -249 -14,212 µs -194 µs 31,920 bytes bytes
Difference % 91 % 71 % 99 % 106 % -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 1 0 0 -1 1 0 0
load::Middleware/RedirectFlowRouteMutex_php 0 25 -13 0 0 25 -13 0 0
Illuminate\Routing\UrlGenerator::{closure:Stancl\Tenancy\Bootstrappers\FilesystemTenancyBootstrapper::__construct():29} 0 0 -1 0 0 0 -1 0 0
load::settings/captive_portal_php 0 9 9 0 0 9 9 0 0
load::settings/customers_php 0 28 28 0 0 28 28 0 0
load::settings/finance_php 0 4 5 0 0 4 5 0 0
load::settings/finance_notifications_php 0 -4 -4 0 0 -4 -4 0 0
load::settings/localization_php 0 47 47 48 0 47 47 48 0
load::settings/portal_php 0 2 3 0 0 2 3 0 0
load::settings/security_php 0 2 2 0 0 2 2 0 0
load::settings/splynx_integration_php 0 0 0 0 0 0 0 0 0
load::settings/status_page_notifications_php 0 1 2 0 0 1 2 0 0
load::settings/voucher_limit_notifications_php 0 1 2 0 0 1 2 0 0
App\Http\Middleware\RedirectFlowRouteMutex::getKey 0 6 6 0 0 6 6 0 0
App\Http\Middleware\RedirectFlowRouteMutex::tryToAcquireLock 0 11 8 0 0 22 19 0 0
load::Adverts/Adverts_php 0 49 24 0 0 49 24 0 0
App\Helpers\Str::getString 0 0 0 0 0 0 0 0 0
App\Helpers\Str::generateString 0 7 8 0 0 7 8 0 0
App\Services\RedirectFlow\Adverts\Adverts::makeHash 0 1 1 0 0 8 9 0 0
route 0 11 11 0 0 11 11 0 0
load::Adverts/CampaignDetector_php 0 21 12 0 0 21 12 0 0
App\Facades\Format::getFacadeAccessor 0 0 0 0 0 0 0 0 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 0 1 0 0 0 1 0 0 0
App\Providers\AppServiceProvider::{closure:App\Providers\AppServiceProvider::register():72} 0 292 182 -27,736 0 74 61 -2,592 0
App\Format\FormatManager::getSettings 0 0 0 0 0 0 0 0 0
App\Format\FormatManager::getDateTimeFormatSettings 0 0 1 0 0 0 1 0 0
App\Format\FormatManager::toUserTimezone 0 1 1 0 0 1 2 0 0
load::TargetGroups/TargetGroupsMatcher_php 0 345 14 -1,280 0 345 14 -1,280 0
load::TargetGroups/TargetGroup_php 0 48 24 0 0 48 24 0 0
App\Models\Tenant\TargetGroups\TargetGroup::bootSoftDeletes 0 0 0 0 0 0 0 0 0
App\Models\Tenant\TargetGroups\TargetGroup::getDeletedAtColumn 0 2 -6 0 0 2 -6 0 0
App\Models\Tenant\TargetGroups\TargetGroup::initializeSoftDeletes 0 0 5 1,280 0 2 -2 1,280 0
App\Models\Tenant\TargetGroups\TargetGroup::getQualifiedDeletedAtColumn 0 1 0 0 0 1 1 0 0
load::TargetGroups/TargetGroupsQueryBuilder_php 0 15 15 65,536 0 15 15 65,536 0
load::CustomerQuery/CustomerQueryTrait_php 0 7 2 0 0 7 2 0 0
load::CustomerQuery/CustomerQueryInterface_php 0 5 0 0 0 5 0 0 0
load::TargetGroups/TargetGroupRepository_php 0 5 5 0 0 5 5 0 0
load::TargetGroups/CustomerParameters_php 0 95 57 0 0 95 57 0 0
load::AdditionalFields/AdditionalFieldTypes_php 0 37 8 0 0 37 8 0 0
load::Labels/LabelsRepository_php 0 -705 2 0 0 -705 2 0 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,943 -7 0 0 -2,943 -7 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 -2,961 -41 3,112 0 -10,667 -437 -23,040 0
load::Plans/PlansRepository_php 0 -52 -26 0 0 -52 -26 0 0
App\Models\Tenant\Plan::getDeletedAtColumn 0 11 22 0 0 11 22 0 0
App\Models\Tenant\Plan::initializeSoftDeletes 0 19 13 0 0 29 38 0 0
Illuminate\Database\Query\Builder::orderBy -4 -7 -10 -3,000 0 -7 -10 -3,000 0
App\Models\Tenant\Plan::getQualifiedDeletedAtColumn 0 1 2 0 0 2 -1 0 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 39 37 0 0 39 37 0 0
App\Repositories\Tenant\Plans\PlansRepository::getPlansForFilter 0 -2,802 7 2,432 0 -2,770 39 -2,848 0
App\Repositories\Tenant\TargetGroups\CustomerParameters::getBaseParameters 0 -163 -11 16,360 0 -14,647 -776 -31,864 0
load::AdditionalFields/AdditionalFieldsConfigsRepository_php 0 -81 -47 0 0 -81 -47 0 0
load::Facades/AdditionalFields_php 0 35 8 0 0 35 8 0 0
App\Facades\AdditionalFields::getFacadeAccessor 0 0 -2 0 0 0 -2 0 0
load::AdditionalFields/AdditionalFields_php 0 32 8 0 0 32 8 0 0
App\Providers\AppServiceProvider::{closure:App\Providers\AppServiceProvider::register():81} 0 4 4 0 0 36 12 0 0
load::AdditionalFields/CustomerAdditionalFieldConfig_php 0 -53 -27 0 0 -53 -27 0 0
load::AdditionalFields/BaseAdditionalFieldConfig_php 0 -6 -2 0 0 -6 -2 0 0
App\Models\Tenant\Config\AdditionalFields\BaseAdditionalFieldConfig::bootSoftDeletes 0 -1 0 0 0 -1 0 0 0
App\Models\Tenant\Config\AdditionalFields\BaseAdditionalFieldConfig::getDeletedAtColumn 0 2 10 0 0 2 10 0 0
App\Models\Tenant\Config\AdditionalFields\BaseAdditionalFieldConfig::initializeSoftDeletes 0 -2 7 5,632 0 3 16 5,632 0
App\Services\AdditionalFields\AdditionalFields::getAdditionalFieldsConfigsModel 0 -24 -32 0 0 -74 -48 0 0
App\Repositories\Tenant\Configs\AdditionalFields\AdditionalFieldsConfigsRepository::__construct 0 -8 -6 0 0 -11 -36 0 0
App\Models\Tenant\Config\AdditionalFields\BaseAdditionalFieldConfig::getQualifiedDeletedAtColumn 0 4 2 0 0 1 3 0 0
App\Repositories\Tenant\Configs\AdditionalFields\AdditionalFieldsConfigsRepository::getAllUsableAdditionalFields 0 -460 -35 0 0 -466 -29 5,632 0
Illuminate\Database\Eloquent\Model::getEnumCaseFromValue 0 -5 -6 0 0 -5 -6 0 0
Illuminate\Database\Eloquent\Model::getEnumCastableAttributeValue 0 1 3 0 0 -4 -3 0 0
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAdditionalFieldsParameters 0 -5 -3 0 0 -616 -129 5,632 0
App\Repositories\Tenant\TargetGroups\CustomerParameters::getAllParameters 0 0 -4 0 0 -15,263 -909 -26,232 0
App\Repositories\Tenant\TargetGroups\TargetGroupRepository::getAvailableParameters 0 4 5 0 0 -15,164 -847 -26,232 0
App\Services\TargetGroups\TargetGroupsQueryBuilder::__construct 0 1 0 0 0 -15,109 -831 -26,232 0
load::Query/Expression_php 0 -43 -5 0 0 -43 -5 0 0
Illuminate\Database\Query\Expression::__construct 0 0 -2 0 0 0 -2 0 0
Illuminate\Database\Query\Builder::selectRaw 0 -7 -8 0 0 -50 -15 0 0
Illuminate\Database\Query\Grammars\Grammar::getOperators 0 1 -1 0 0 1 -1 0 0
Illuminate\Database\Query\Builder::leftJoin 0 -10 -6 0 0 -9 -7 0 0
App\Services\TargetGroups\TargetGroupsQueryBuilder::buildOrWhereGroup 0 -3 -1 0 0 -3 -1 0 0
App\Services\TargetGroups\TargetGroupsQueryBuilder::parseArrayValue 0 -5 -4 0 0 -5 -4 0 0
App\Services\TargetGroups\TargetGroupsQueryBuilder::buildCondition 0 -2 -4 0 0 -7 -9 0 0
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\Services\TargetGroups\TargetGroupsQueryBuilder::buildOrWhereGroup():103} 0 -2 -1 0 0 -9 -10 0 0
App\Services\TargetGroups\TargetGroupsQueryBuilder::{closure:App\Services\TargetGroups\TargetGroupsQueryBuilder::build():58} 0 -1 -2 0 0 -13 -13 0 0
App\Services\TargetGroups\TargetGroupsQueryBuilder::build 0 -16 -11 0 0 -88 -46 0 0
App\Models\Tenant\Customer::getQualifiedDeletedAtColumn -4 -14 -14 -824 0 -14 -14 -824 0
Illuminate\Database\Query\Expression::getValue 0 0 0 0 0 0 0 0 0
App\Services\TargetGroups\TargetGroupsQueryBuilder::isAf 0 -1 0 0 0 -1 0 0 0
App\Services\TargetGroups\TargetGroupsQueryBuilder::isCustomerLabelField 0 2 0 0 0 2 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 -1 0 0 0 -1 0 0 0
Illuminate\Database\Query\Grammars\Grammar::whereRaw 0 -1 0 0 0 -1 0 0 0
App\Services\TargetGroups\TargetGroupsMatcher::match 0 -597 84 128 0 -15,731 -768 39,888 0
App\Services\RedirectFlow\Adverts\CampaignDetector::detectTargetGroupsIds 0 0 -2 0 0 -15,386 -756 38,608 0
App\Services\RedirectFlow\Adverts\CampaignDetector::detect 0 11 1 0 0 -15,300 -692 36,016 0
App\Services\RedirectFlow\Adverts\Adverts::isWeNeedToShowAd 0 1 1 0 0 -15,278 -679 36,016 0
App\Services\RedirectFlow\Adverts\Adverts::complete 0 -16 -16 0 0 -16 -16 0 0
RoadRunner\Logger\Logger::warning 0 -17 -10 0 0 -17 -10 0 0
Illuminate\Log\LogManager::warning 0 -17 -16 0 0 -34 -26 0 0
Illuminate\Routing\UrlGenerator::isValidUrl 0 0 -1 -4,096 0 0 -1 -4,096 0
Illuminate\Routing\UrlGenerator::to 0 0 0 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 -7 -8 0 0 -6 -7 0 0
Illuminate\Http\RedirectResponse::setSession 0 -1 -1 0 0 -1 -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 1 2 0 0 0 1 0 0
Illuminate\Routing\Redirector::createRedirect 0 0 0 0 0 -6 -6 0 0
Illuminate\Routing\Redirector::to 0 -1 1 0 0 -7 -6 -4,096 0
redirect 0 -1 -1 0 0 -8 -7 -4,096 0
App\Services\RedirectFlow\Redirect::redirect 0 1 1 0 0 -7 -6 -4,096 0
App\Http\Controllers\Tenant\CaptivePortal\PlansController::selectPlan 0 18 14 0 0 -15,249 -669 31,920 0
App\Http\Middleware\RedirectFlowRouteMutex::unlock 0 -66 -7 0 0 -71 -12 0 0
App\Http\Middleware\RedirectFlowRouteMutex::handle 0 8 9 0 0 -15,290 -653 31,920 0
App\Http\Middleware\RedirectFlowProfiling::handle 0 2 2 0 0 -15,288 -651 31,920 0
Laravel\Boost\Middleware\InjectBoost::shouldInject 0 -1 0 0 0 -1 0 0 0
Laravel\Boost\Middleware\InjectBoost::handle 0 562 184 0 0 -14,656 -392 31,920 0
Xhgui\Profiler\ProfilingData::__construct 0 0 0 0 0 0 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 0 0 0 0
main() 0 420 211 0 0 -14,212 -194 31,920 0
functionCount 0 0 0 0 0 0 0 0 0

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