Attaching patch and screenshots. This didn't actually improve performance on my profiling run unfortunately, I'm assuming because the bulk of the entity_load() calls were already cached (this was a single run of a custom drush command). However you can see the number of calls to entity_load() halved by the change. Did not run relation tests locally yet or anything.

CommentFileSizeAuthor
Workspace 1_075.png24.1 KBcatch
Workspace 1_074.png33.22 KBcatch
relation.patch1.64 KBcatch

Comments

mikran’s picture

Status: Needs review » Fixed

The patch still applied. Pushed to git

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.