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

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


Function NameCallsCalls%Incl. Wall Time
(microsec)
IWall%Incl.
MemUse
(bytes)
IMemUse%Incl.
PeakMemUse
(bytes)
IPeakMemUse%
Current Function
yii\db\BaseActiveRecord::getRelation132 47.3% 197,244 6.6% 6,989,792 20.2% 6,735,776 19.3%
Exclusive Metrics for Current Function634 0.3% 6,392 0.1% 4,960 0.1%
Parent functions
yii\db\ActiveQuery::normalizeRelations61 46.2% 193,955 98.3% 6,545,936 93.6% 6,638,280 98.6%
yii\db\ActiveQuery::joinWithRelations26 19.7% 1,622 0.8% 314,856 4.5% 30,664 0.5%
yii\db\ActiveQuery::via42 31.8% 1,594 0.8% 122,920 1.8% 66,832 1.0%
yii\db\ActiveQuery::addInverseRelations2 1.5% 58 0.0% 4,512 0.1% 0 0.0%
yii\db\ActiveQuery::populateInverseRelation1 0.8% 15 0.0% 1,568 0.0% 0 0.0%
Child functions
common\hhModels\user\User::getLastCommentWithInterviewSettings1 0.8% 172,140 87.3% 3,479,352 49.8% 3,516,064 52.2%
api\hhModels\user\User::getProposalsStatuses1 0.8% 9,715 4.9% 233,768 3.3% 295,784 4.4%
api\hhModels\interview\calendar\InterviewCandidates::getVacancy1 0.8% 2,611 1.3% 675,208 9.7% 919,488 13.7%
api\hhModels\interview\calendar\InterviewCandidates::getHeadHunterExternalOffer1 0.8% 1,944 1.0% 476,440 6.8% 307,240 4.6%
api\macronModels\comment\CandidateComment::getAttachments2 1.5% 1,254 0.6% 280,288 4.0% 302,056 4.5%
common\hhModels\offer\Offer::getLastJobOffer1 0.8% 942 0.5% 142,280 2.0% 256,128 3.8%
api\hhModels\interview\calendar\InterviewCandidates::getOffer21 15.9% 686 0.3% 54,664 0.8% 29,248 0.4%
api\hhModels\interview\calendar\InterviewCandidates::getCandidate18 13.6% 592 0.3% 107,912 1.5% 0 0.0%
api\hhModels\user\User::getCalendarViewed1 0.8% 471 0.2% 86,464 1.2% 94,472 1.4%
api\hhModels\interview\calendar\InterviewCandidates::getPartnerCandidate4 3.0% 399 0.2% 83,520 1.2% 0 0.0%
api\macronModels\comment\Comment::getAttachments5 3.8% 360 0.2% 16,248 0.2% 14,336 0.2%
api\hhModels\offer\OfferWithoutRestrictions::getVacancy8 6.1% 359 0.2% 16,080 0.2% 2,040 0.0%
api\macronModels\comment\Comment::getMentions5 3.8% 304 0.2% 50,480 0.7% 43,376 0.6%
common\hhModels\candidateByPartner\CandidateByPartner::getTags2 1.5% 289 0.1% 74,392 1.1% 54,176 0.8%
api\hhModels\offer\Offer::getInterview2 1.5% 247 0.1% 48,936 0.7% 40,240 0.6%
api\models\macronApiToken\MacronApiToken::getPartner1 0.8% 235 0.1% 67,144 1.0% 68,392 1.0%
api\hhModels\user\User::getUserViewPhoneByCurrent1 0.8% 224 0.1% 51,512 0.7% 14,600 0.2%
common\hhModels\interview\Interview::getCandidateCustomFieldsValue1 0.8% 216 0.1% 63,808 0.9% 66,096 1.0%
api\hhModels\interview\calendar\InterviewCandidates::getCity3 2.3% 215 0.1% 39,152 0.6% 0 0.0%
api\hhModels\user\User::getPersonalDataProcessing1 0.8% 207 0.1% 52,168 0.7% 50,456 0.7%
api\hhModels\interview\calendar\InterviewCandidates::getPartnerCandidateCity4 3.0% 185 0.1% 17,088 0.2% 5,504 0.1%
api\hhModels\user\User::getLike1 0.8% 180 0.1% 28,632 0.4% 27,616 0.4%
common\hhModels\user\User::getPositions1 0.8% 179 0.1% 35,560 0.5% 36,392 0.5%
api\hhModels\user\User::getComments1 0.8% 178 0.1% 44,848 0.6% 43,792 0.7%
common\hhModels\user\User::getNotApprovedUserUrls1 0.8% 171 0.1% 32,056 0.5% 0 0.0%
api\hhModels\interview\calendar\InterviewCandidates::getLastValueChangeReasonsByField1 0.8% 165 0.1% 117,448 1.7% 53,744 0.8%
common\hhModels\city\City::getLocalityType1 0.8% 164 0.1% 31,112 0.4% 10,664 0.2%
api\hhModels\interview\calendar\InterviewCandidates::getManager1 0.8% 157 0.1% 55,960 0.8% 45,224 0.7%
api\hhModels\interview\calendar\InterviewCandidates::getStatus1 0.8% 147 0.1% 114,656 1.6% 115,016 1.7%
common\hhModels\city\City::getRegion4 3.0% 143 0.1% 21,104 0.3% 0 0.0%
api\hhModels\user\User::getUserImportDetailStatusInfoByCalendar1 0.8% 134 0.1% 104,856 1.5% 96,624 1.4%
common\hhModels\user\User::getHiddenUser1 0.8% 128 0.1% 33,288 0.5% 32,904 0.5%
common\hhModels\city\City::getCountry4 3.0% 126 0.1% 20,552 0.3% 0 0.0%
common\hhModels\avitoManagerMacronUser\AvitoManagerMacronUser::getAvitoManager2 1.5% 124 0.1% 32,192 0.5% 30,640 0.5%
api\hhModels\interview\calendar\InterviewCandidates::getEmployerRejectReason1 0.8% 120 0.1% 46,592 0.7% 44,376 0.7%
common\hhModels\city\City::getArea1 0.8% 100 0.1% 31,016 0.4% 31,120 0.5%
common\hhModels\user\User::getUserMessengers1 0.8% 94 0.0% 31,112 0.4% 32,600 0.5%
common\hhModels\candidateByPartner\CandidateByPartner::getCandidateTagLinks3 2.3% 73 0.0% 6,032 0.1% 0 0.0%
api\macronModels\comment\CandidateComment::getQuotes2 1.5% 69 0.0% 4,584 0.1% 3,176 0.0%
api\hhModels\user\User::getPartnerCandidate1 0.8% 57 0.0% 4,280 0.1% 0 0.0%
common\hhModels\user\User::getImportDetailByCurrentPartner1 0.8% 55 0.0% 19,736 0.3% 19,408 0.3%
api\hhModels\interview\calendar\InterviewCandidates::getAvitoExternalOffer1 0.8% 47 0.0% 6,072 0.1% 0 0.0%
common\hhModels\offer\Offer::getExternalOffers2 1.5% 41 0.0% 3,200 0.0% 0 0.0%
common\hhModels\candidateByPartner\CandidateByPartner::getCandidate2 1.5% 41 0.0% 3,264 0.0% 0 0.0%
api\hhModels\offer\Offer::getInfoByCalendar1 0.8% 40 0.0% 3,856 0.1% 1,872 0.0%
api\hhModels\offer\Offer::getEmployerUser1 0.8% 30 0.0% 2,184 0.0% 0 0.0%
api\hhModels\interview\Interview::getStatus1 0.8% 28 0.0% 2,184 0.0% 0 0.0%
common\hhModels\vacancy\Vacancy::getCity1 0.8% 27 0.0% 2,184 0.0% 0 0.0%
api\hhModels\user\User::getUserViewEmailByCurrent1 0.8% 26 0.0% 5,040 0.1% 5,272 0.1%
common\hhModels\offer\Offer::getHeadHunterExternalOffer1 0.8% 25 0.0% 3,824 0.1% 3,144 0.0%
api\hhModels\offer\OfferWithImportedForView::getVacancy1 0.8% 25 0.0% 2,592 0.0% 24 0.0%
common\hhModels\candidateByPartner\CandidateByPartner::getCity1 0.8% 25 0.0% 2,216 0.0% 0 0.0%
api\hhModels\offer\Offer::getExternalOfferWithoutKey1 0.8% 23 0.0% 2,200 0.0% 3,632 0.1%
common\hhModels\user\User::getImportDetailsByCurrentPartner1 0.8% 23 0.0% 5,480 0.1% 5,144 0.1%
common\hhModels\userExperience\UserExperience::getUser1 0.8% 21 0.0% 1,584 0.0% 0 0.0%
common\hhModels\offer\Offer::getInviteInterviews1 0.8% 15 0.0% 2,816 0.0% 5,280 0.1%
common\hhModels\city\City::getRelatedCity1 0.8% 14 0.0% 2,184 0.0% 3,456 0.1%