Run Report
Run #68be8ad36cef9: XHProf Run (Namespace=macron-api)
Tip
Click a function name below to drill down.

Parent/Child report for yii\db\BaseActiveRecord::__get [View Callgraph ]


Function NameCallsCalls%Incl. Wall Time
(microsec)
IWall%Incl.
MemUse
(bytes)
IMemUse%Incl.
PeakMemUse
(bytes)
IPeakMemUse%
Current Function
yii\db\BaseActiveRecord::__get856 79.7% 49,252 7.6% 2,341,320 28.9% 2,460,896 30.4%
Exclusive Metrics for Current Function501 1.0% 34,920 1.5% 43,064 1.7%
Parent functions
common\hhModels\vacancy\Vacancy::beforeSave5 0.6% 14,859 30.2% 1,536,568 65.6% 1,646,472 66.9%
api\hhModels\vacancy\Vacancy::api\hhModels\vacancy\{closure}10 1.2% 9,110 18.5% 41,280 1.8% 27,880 1.1%
yii\db\BaseActiveRecord::__isset13 1.5% 4,787 9.7% 133,368 5.7% 162,200 6.6%
api\hhModels\vacancy\Vacancy::getWorkingTypeIds4 0.5% 3,697 7.5% 145,224 6.2% 163,344 6.6%
api\hhModels\vacancy\Vacancy::getLanguages3 0.4% 1,979 4.0% 47,736 2.0% 0 0.0%
api\hhModels\vacancy\Vacancy::getSchedules2 0.2% 1,930 3.9% 47,648 2.0% 61,280 2.5%
common\hhModels\vacancy\Vacancy::addHeadHunterIgnoreWebHook1 0.1% 1,581 3.2% 41,448 1.8% 38,288 1.6%
yii\base\Model::toArray40 4.7% 1,460 3.0% 60,152 2.6% 61,224 2.5%
api\hhModels\vacancy\Vacancy::afterSave1 0.1% 1,384 2.8% 8,264 0.4% 21,032 0.9%
common\hhModels\city\City::isSettlement3 0.4% 1,375 2.8% 14,560 0.6% 0 0.0%
api\hhModels\vacancy\Vacancy::getRegionName3 0.4% 1,209 2.5% 20,288 0.9% 25,296 1.0%
api\hhModels\vacancy\Vacancy::getWorkingDays1 0.1% 1,150 2.3% 38,648 1.7% 52,824 2.1%
api\hhModels\vacancy\Vacancy::getMetroIds1 0.1% 1,099 2.2% 52,576 2.2% 52,640 2.1%
api\hhModels\vacancy\Vacancy::saveUserSelectedCityHistory6 0.7% 866 1.8% 10,976 0.5% 0 0.0%
common\hhModels\vacancy\Vacancy::getCityName3 0.4% 603 1.2% 9,400 0.4% 8,928 0.4%
api\hhModels\vacancy\Vacancy::getCountryName4 0.5% 529 1.1% 8,632 0.4% 7,992 0.3%
common\models\macronApiToken\MacronApiToken::getExpireDateTime3 0.4% 414 0.8% 60,128 2.6% 74,920 3.0%
yii\base\Model::getAttributes86 10.0% 364 0.7% 536 0.0% 6,600 0.3%
yii\validators\Validator::validateAttributes105 12.3% 290 0.6% 552 0.0% 3,448 0.1%
api\hhModels\vacancy\Vacancy::validateSlot6 0.7% 66 0.1% 552 0.0% 0 0.0%
common\components\behaviors\changeHistory\WorkHereChangeHistoryBehavior::saveChanges3 0.4% 61 0.1% 1,216 0.1% 3,088 0.1%
common\macronModels\ActiveRecord::_convertDateTimeAttributes118 13.8% 50 0.1% 568 0.0% 0 0.0%
api\macronModels\user\UserIdentity::findIdentityByAccessToken13 1.5% 45 0.1% 568 0.0% 0 0.0%
common\hhModels\vacancy\Vacancy::isDraft17 2.0% 42 0.1% 552 0.0% 0 0.0%
yii\behaviors\AttributeBehavior::evaluateAttributes1 0.1% 35 0.1% 928 0.0% 960 0.0%
common\hhModels\vacancy\Vacancy::getCityType2 0.2% 25 0.1% 552 0.0% 0 0.0%
common\hhModels\vacancy\Vacancy::setMacronStatus5 0.6% 24 0.0% 552 0.0% 0 0.0%
common\macronModels\user\User::getId10 1.2% 22 0.0% 536 0.0% 0 0.0%
common\hhModels\vacancy\Vacancy::getTextMaxLength2 0.2% 21 0.0% 552 0.0% 0 0.0%
api\hhModels\vacancy\Vacancy::useAdditionalSlot3 0.4% 19 0.0% 552 0.0% 0 0.0%
common\components\partner\Partner::getId16 1.9% 18 0.0% 552 0.0% 552 0.0%
yii\validators\Validator::validateAttribute41 4.8% 16 0.0% 552 0.0% 216 0.0%
common\hhModels\vacancy\Vacancy::afterSave2 0.2% 11 0.0% 552 0.0% 0 0.0%
api\hhModels\vacancy\Vacancy::beforeValidate3 0.4% 11 0.0% 1,752 0.1% 464 0.0%
common\macronModels\user\User::isAdmin5 0.6% 9 0.0% 536 0.0% 0 0.0%
common\components\behaviors\changeHistory\AbstractChangeHistoryBehavior::saveHistoryAfterInsert37 4.3% 8 0.0% 600 0.0% 0 0.0%
common\hhModels\vacancy\Vacancy::getChangedAttributes30 3.5% 7 0.0% 552 0.0% 0 0.0%
common\macronModels\ActiveRecord::_convertDateAttributes24 2.8% 6 0.0% 568 0.0% 0 0.0%
common\hhModels\vacancy\Vacancy::isFirstUserVacancy8 0.9% 6 0.0% 552 0.0% 0 0.0%
common\hhModels\vacancy\Vacancy::createObserverFromManager7 0.8% 5 0.0% 568 0.0% 0 0.0%
common\hhModels\vacancy\Vacancy::isActive16 1.9% 5 0.0% 552 0.0% 0 0.0%
common\hhModels\vacancy\Vacancy::wasActive9 1.1% 4 0.0% 552 0.0% 0 0.0%
common\macronModels\ActiveRecord::isAttributeUpdated6 0.7% 4 0.0% 552 0.0% 0 0.0%
common\hhModels\vacancy\Vacancy::isPrivate9 1.1% 3 0.0% 552 0.0% 0 0.0%
common\macronModels\ActiveRecord::_convertTimeAttributes16 1.9% 3 0.0% 568 0.0% 0 0.0%
common\macronModels\user\User::afterFind10 1.2% 3 0.0% 552 0.0% 0 0.0%
common\hhModels\vacancy\Vacancy::clearVacancyText4 0.5% 2 0.0% 552 0.0% 0 0.0%
common\hhModels\vacancy\Vacancy::getSimilarVacancies2 0.2% 2 0.0% 552 0.0% 0 0.0%
common\macronModels\user\User::getAssignedUserRights2 0.2% 2 0.0% 552 0.0% 552 0.0%
common\hhModels\vacancy\Vacancy::sendUpdateVacancySocket1 0.1% 2 0.0% 568 0.0% 0 0.0%
yii\validators\DefaultValueValidator::validateAttribute5 0.6% 2 0.0% 568 0.0% 0 0.0%
common\components\LinkParser::parseAndSave2 0.2% 2 0.0% 552 0.0% 0 0.0%
yii\validators\NumberValidator::validateAttribute25 2.9% 2 0.0% 552 0.0% 0 0.0%
common\macronModels\ActiveRecord::_convertBooleanAttributes10 1.2% 2 0.0% 568 0.0% 0 0.0%
common\hhModels\observer\Observer::validateMacronUserId1 0.1% 1 0.0% 568 0.0% 0 0.0%
yii\validators\ExistValidator::prepareConditions2 0.2% 1 0.0% 552 0.0% 0 0.0%
yii\validators\StringValidator::validateAttribute15 1.8% 1 0.0% 552 0.0% 0 0.0%
common\hhModels\vacancy\Vacancy::toggleWorkplaceCityId1 0.1% 1 0.0% 552 0.0% 0 0.0%
api\hhModels\vacancy\Vacancy::proposeHhPosition2 0.2% 1 0.0% 552 0.0% 0 0.0%
common\hhModels\vacancy\Vacancy::updateImage1 0.1% 1 0.0% 552 0.0% 0 0.0%
common\hhModels\vacancy\Vacancy::sendUpdateVacancySocketToMacron1 0.1% 1 0.0% 568 0.0% 568 0.0%
common\hhModels\vacancy\Vacancy::validateIsNotEmptyAfterClean2 0.2% 1 0.0% 568 0.0% 0 0.0%
api\hhModels\vacancy\Vacancy::updateIsFreeVacancyCreated1 0.1% 1 0.0% 568 0.0% 0 0.0%
common\macronModels\Connection::getDbConfiguration4 0.5% 1 0.0% 552 0.0% 0 0.0%
common\hhModels\vacancy\Vacancy::isNotDraft8 0.9% 1 0.0% 552 0.0% 0 0.0%
api\hhModels\vacancy\Vacancy::sendVacancySlotCountChangeNotificationIfNecessary1 0.1% 1 0.0% 600 0.0% 0 0.0%
yii\validators\ExistValidator::checkTargetAttributeExistence2 0.2% 1 0.0% 568 0.0% 0 0.0%
common\helpers\DadataHelper::handleCountry1 0.1% 1 0.0% 552 0.0% 0 0.0%
api\hhModels\vacancy\Vacancy::updateWorkingTypes1 0.1% 1 0.0% 552 0.0% 0 0.0%
common\helpers\DadataHelper::handleRegion2 0.2% 1 0.0% 552 0.0% 0 0.0%
api\hhModels\vacancy\Vacancy::updateLanguages1 0.1% 1 0.0% 552 0.0% 0 0.0%
yii\validators\InlineValidator::validateAttribute12 1.4% 1 0.0% 552 0.0% 0 0.0%
api\models\partner\Partner::setActivity2 0.2% 1 0.0% 552 0.0% 0 0.0%
api\models\partner\Partner::getTimezone1 0.1% 1 0.0% 21,032 0.9% 39,056 1.6%
api\macronModels\user\User::setAction2 0.2% 1 0.0% 536 0.0% 536 0.0%
yii\validators\FilterValidator::validateAttribute2 0.2% 0 0.0% 552 0.0% 0 0.0%
yii\base\Model::offsetGet2 0.2% 0 0.0% 536 0.0% 536 0.0%
common\hhModels\vacancy\Vacancy::validateHtmlTextLength1 0.1% 0 0.0% 568 0.0% 0 0.0%
common\helpers\DadataHelper::handleCity2 0.2% 0 0.0% 552 0.0% 0 0.0%
common\hhModels\vacancy\Vacancy::notifyAdminsAboutVacancyModeration2 0.2% 0 0.0% 568 0.0% 0 0.0%
common\hhModels\vacancy\HeadHunterSyncService::update1 0.1% 0 0.0% 552 0.0% 0 0.0%
common\hhModels\vacancy\Vacancy::isOnModeration1 0.1% 0 0.0% 552 0.0% 0 0.0%
common\hhModels\vacancy\Vacancy::wasOnModeration3 0.4% 0 0.0% 552 0.0% 0 0.0%
common\hhModels\vacancy\Vacancy::sendActiveChangedCountNotification1 0.1% 0 0.0% 568 0.0% 0 0.0%
common\hhModels\vacancy\Vacancy::isPublic4 0.5% 0 0.0% 552 0.0% 0 0.0%
common\helpers\DadataHelper::fillCityDataIfEmpty2 0.2% 0 0.0% 552 0.0% 0 0.0%
common\hhModels\vacancy\Vacancy::saveChangeHistoryVacancySlot1 0.1% 0 0.0% 568 0.0% 0 0.0%
api\hhModels\vacancy\Vacancy::updateSchedules1 0.1% 0 0.0% 552 0.0% 0 0.0%
common\hhModels\vacancy\Vacancy::validateMacronManagerId2 0.2% 0 0.0% 568 0.0% 0 0.0%
common\helpers\DadataHelper::handleCityType1 0.1% 0 0.0% 552 0.0% 0 0.0%
api\hhModels\vacancy\Vacancy::beforeSave2 0.2% 0 0.0% 552 0.0% 0 0.0%
common\hhModels\vacancy\Vacancy::getMacronStatusLabel1 0.1% 0 0.0% 552 0.0% 0 0.0%
Child functions
yii\db\ActiveQuery::findFor21 10.3% 30,288 61.5% 353,472 15.1% 451,312 18.3%
yii\base\Component::__get30 14.8% 16,607 33.7% 1,884,728 80.5% 1,869,200 76.0%
yii\db\BaseActiveRecord::hasAttribute131 64.5% 1,800 3.7% 59,496 2.5% 97,040 3.9%
yii\db\BaseActiveRecord::setRelationDependencies21 10.3% 56 0.1% 8,704 0.4% 280 0.0%