"Eager loading" of relations like Yii's "with" function
This feature has now made it into Craft core as of version 2.6. 

See this link for documentation on the subject:
https://craftcms.com/docs/templating/eager-loading-elements