Attached patch adds support for entity_cache used in combination with entity_translation.

Comments

attiks’s picture

Status: Active » Needs review
StatusFileSize
new1.01 KB

Status: Needs review » Needs work

The last submitted patch, 1: i2425161-1.patch, failed testing.

joseph.olstad’s picture

Status: Needs work » Needs review
joseph.olstad’s picture

StatusFileSize
new1.13 KB

Thanks @attiks , just had to refactor the patch, lets put it through some review and testing.

joseph.olstad’s picture

hi attiks, so by using entity_cache we should get improved performance? or is there other reasons to use it?

attiks’s picture

#5 Depending on the backend you use for the cache you get a huge speed improvement in loading entities.

joseph.olstad’s picture

Hi @attiks, thanks for the patch, looks like great work.

There were some recent changes to the module so maybe we might want to re-run the new simpletests on it.

Status: Needs review » Needs work
joseph.olstad’s picture

TODO: Patch needs a reroll due to other more recent changes.

I'll try to get this rerolled soon.

Attiks, thanks again for your work on this, greatly appreciated, I should be able to take it from here.

joseph.olstad’s picture

Status: Needs work » Needs review
StatusFileSize
new988 bytes

Ok, I refactored this patch, lets put it through testing.

joseph.olstad’s picture

Assigned: Unassigned » joel_osc

Assigning to joel_osc for review. simpletest tests are all passing but maybe we should confirm whether or not simpletest is able to test entity_cache or not?

Attiks has a very good reputation, this is not because I doubt his code, it is just to have another review before we commit this performance patch.

  • joseph.olstad committed 7f4f3f8 on 7.x-4.x
    Issue #2425161 by joseph.olstad, attiks: Add support for entity_cache
    
joseph.olstad’s picture

Assigned: joel_osc » Unassigned
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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