entity_bundle_plugin_rebuild_fields() does too many field updates on cache clear, it should be smarter and only update a field if it's really needed.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | entity_bundle_plugin-performance-improvements-1794522-3.patch | 11.53 KB | jsacksick |
| #2 | entity_bundle_plugin-performance-improvements-1794522-2.patch | 9.53 KB | jsacksick |
| #1 | 1794522-performance_improvements.patch | 9.54 KB | amateescu |
Comments
Comment #1
amateescu commentedHere's a patch for that.
It also contains a test, some whitespace fixes and a partial rollback of the Entity API controller changes from http://drupalcode.org/project/entity_bundle_plugin.git/commit/ae8692b which weren't really needed.
Comment #2
jsacksick commentedThis patch fails when applying from a .make, here's a new patch that tries to fix the issue.
Comment #3
jsacksick commentedComment #4
jsacksick commentedCommitted!