Run Report
Run #66d7054413bde: 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::getRelation126 47.2% 22,598 0.5% 2,444,104 3.6% 2,156,192 3.2%
Exclusive Metrics for Current Function582 2.6% 5,672 0.2% 8,672 0.4%
Parent functions
yii\db\ActiveQuery::normalizeRelations85 67.5% 20,197 89.4% 2,348,312 96.1% 2,095,544 97.2%
yii\db\ActiveQuery::joinWithRelations40 31.7% 2,379 10.5% 94,240 3.9% 60,648 2.8%
yii\db\ActiveQuery::via1 0.8% 22 0.1% 1,552 0.1% 0 0.0%
Child functions
common\hhModels\user\User::getCity1 0.8% 10,577 46.8% 182,504 7.5% 219,352 10.2%
api\hhModels\offer\Offer::getUser1 0.8% 1,933 8.6% 405,008 16.6% 405,424 18.8%
api\hhModels\offer\Offer::getVacancy28 22.2% 1,645 7.3% 39,528 1.6% 20,704 1.0%
api\hhModels\offer\OfferWithoutRestrictions::getVacancy19 15.1% 884 3.9% 27,648 1.1% 3,776 0.2%
api\models\macronApiToken\MacronApiToken::getPartner1 0.8% 560 2.5% 120,192 4.9% 157,240 7.3%
api\hhModels\offer\Offer::getContract1 0.8% 396 1.8% 121,848 5.0% 120,176 5.6%
api\hhModels\offer\Offer::getInterview3 2.4% 384 1.7% 75,592 3.1% 71,816 3.3%
api\hhModels\user\User::getMetroStations1 0.8% 261 1.2% 78,184 3.2% 78,928 3.7%
api\hhModels\interview\Interview::getStatus3 2.4% 252 1.1% 50,912 2.1% 43,288 2.0%
api\hhModels\user\User::getUserViewPhoneByCurrent2 1.6% 244 1.1% 52,440 2.1% 55,216 2.6%
api\hhModels\user\User::getChatConversation1 0.8% 234 1.0% 53,840 2.2% 47,664 2.2%
api\hhModels\user\User::getHhUserEmailViews1 0.8% 231 1.0% 52,512 2.1% 52,192 2.4%
api\hhModels\user\User::getComments2 1.6% 226 1.0% 24,608 1.0% 0 0.0%
api\hhModels\user\User::getHhUserFavorite1 0.8% 213 0.9% 51,096 2.1% 50,768 2.4%
api\hhModels\user\User::getExperiences1 0.8% 206 0.9% 47,200 1.9% 13,152 0.6%
api\hhModels\offer\Offer::getUserReview1 0.8% 186 0.8% 48,384 2.0% 48,384 2.2%
api\hhModels\offer\Offer::getViewByCurrentUser5 4.0% 185 0.8% 13,320 0.5% 19,840 0.9%
common\hhModels\city\City::getCountry2 1.6% 177 0.8% 18,376 0.8% 0 0.0%
api\hhModels\interview\Interview::getVacancy1 0.8% 174 0.8% 74,128 3.0% 76,624 3.6%
api\hhModels\vacancy\Vacancy::getVacancyMetroStations1 0.8% 161 0.7% 46,224 1.9% 0 0.0%
api\hhModels\interview\Interview::getCandidate1 0.8% 156 0.7% 59,712 2.4% 58,432 2.7%
common\hhModels\user\User::getImportDetailByCurrentPartner2 1.6% 155 0.7% 38,008 1.6% 23,160 1.1%
common\hhModels\user\User::getPositions1 0.8% 148 0.7% 35,448 1.5% 35,336 1.6%
api\macronModels\chatConversation\ChatConversation::getUsers1 0.8% 144 0.6% 31,920 1.3% 31,320 1.5%
api\hhModels\offer\Offer::getCoverLetterView1 0.8% 136 0.6% 49,128 2.0% 45,400 2.1%
common\hhModels\user\User::getLanguageSkills1 0.8% 134 0.6% 31,016 1.3% 32,552 1.5%
common\hhModels\user\User::getNotApprovedUserUrls2 1.6% 120 0.5% 98,872 4.0% 97,752 4.5%
common\macronModels\chatConversation\ChatConversation::getChatConversationUsers2 1.6% 111 0.5% 32,208 1.3% 31,936 1.5%
common\hhModels\vacancy\Vacancy::getWorkingTypes1 0.8% 101 0.4% 34,320 1.4% 0 0.0%
common\hhModels\user\User::getUserDevices1 0.8% 99 0.4% 31,000 1.3% 31,584 1.5%
common\hhModels\offer\Offer::getExternalOffers1 0.8% 94 0.4% 30,984 1.3% 32,832 1.5%
common\hhModels\user\User::getUserMessengers1 0.8% 92 0.4% 31,016 1.3% 32,512 1.5%
common\hhModels\user\User::getSetPhoneHistories1 0.8% 86 0.4% 31,064 1.3% 31,088 1.4%
common\hhModels\vacancy\Vacancy::getRegion1 0.8% 82 0.4% 21,576 0.9% 0 0.0%
common\hhModels\user\User::getWorkingTypes1 0.8% 79 0.3% 34,864 1.4% 32,240 1.5%
api\hhModels\vacancy\Vacancy::getVacancySchedules1 0.8% 78 0.3% 32,008 1.3% 0 0.0%
api\hhModels\user\User::getLastApprovedOffer1 0.8% 78 0.3% 6,648 0.3% 4,864 0.2%
api\hhModels\vacancy\Vacancy::getOffers1 0.8% 72 0.3% 4,064 0.2% 0 0.0%
common\hhModels\vacancy\Vacancy::getVacancyLanguages1 0.8% 67 0.3% 31,032 1.3% 0 0.0%
common\hhModels\user\User::getUserSchedules1 0.8% 63 0.3% 17,376 0.7% 20,616 1.0%
common\hhModels\vacancy\Vacancy::getVacancyWorkingDays1 0.8% 61 0.3% 31,080 1.3% 0 0.0%
api\hhModels\offer\Offer::getEmployerUser1 0.8% 59 0.3% 26,920 1.1% 28,800 1.3%
common\hhModels\user\User::getUserWorkingDays1 0.8% 55 0.2% 17,376 0.7% 21,408 1.0%
api\hhModels\user\User::getUserDownloadResumeByCurrent1 0.8% 50 0.2% 5,088 0.2% 4,408 0.2%
common\hhModels\offer\Offer::getInviteInterviews3 2.4% 48 0.2% 5,464 0.2% 1,600 0.1%
common\hhModels\user\User::getMetroStations1 0.8% 40 0.2% 5,424 0.2% 3,696 0.2%
common\hhModels\user\User::getApprovedUserUrls2 1.6% 39 0.2% 5,320 0.2% 4,952 0.2%
api\hhModels\user\User::getProposalsStatuses1 0.8% 39 0.2% 8,032 0.3% 7,080 0.3%
common\hhModels\vacancy\Vacancy::getCity1 0.8% 38 0.2% 2,184 0.1% 0 0.0%
common\hhModels\metro\Metro::getCity1 0.8% 34 0.2% 2,168 0.1% 0 0.0%
api\hhModels\user\User::getUserViewEmailByCurrent1 0.8% 34 0.2% 5,040 0.2% 1,768 0.1%
api\hhModels\vacancy\Vacancy::getMetroStations1 0.8% 32 0.1% 4,824 0.2% 0 0.0%
common\hhModels\user\User::getWhUserCustomFieldsValue2 1.6% 32 0.1% 2,600 0.1% 3,656 0.2%
api\hhModels\user\User::getUserViewHistoryByCurrent1 0.8% 31 0.1% 6,064 0.2% 1,752 0.1%
api\hhModels\user\User::getOffersApproved1 0.8% 31 0.1% 5,336 0.2% 5,360 0.2%
api\hhModels\user\User::getInterestedOffersByCurrentPartner1 0.8% 28 0.1% 6,664 0.3% 5,016 0.2%
common\hhModels\userExperience\UserExperience::getUser1 0.8% 27 0.1% 2,832 0.1% 1,472 0.1%
api\hhModels\user\User::getActiveResponsesByCurrent1 0.8% 24 0.1% 4,768 0.2% 5,720 0.3%
common\hhModels\user\User::getPartnerBlacklist1 0.8% 22 0.1% 5,056 0.2% 2,328 0.1%
api\hhModels\user\User::getResponsesStatuses1 0.8% 19 0.1% 4,984 0.2% 6,048 0.3%
api\hhModels\user\User::getActiveOffersByCurrent1 0.8% 17 0.1% 4,736 0.2% 4,832 0.2%
api\hhModels\user\User::getProposalsWaitingApproval1 0.8% 16 0.1% 5,896 0.2% 6,048 0.3%
api\hhModels\user\User::getOffersWithActiveContract1 0.8% 16 0.1% 4,768 0.2% 5,408 0.3%