Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
the preprocess method can be called many times during a page build, meaning that separately generating the theme information each time it is called gets expensive.
Comment | File | Size | Author |
---|---|---|---|
#9 | 2905747-9.patch | 3.61 KB | markhalliwell |
Comments
Comment #2
acrollet CreditAttribution: acrollet at roomify - online and open source reservation solutions commentedpatch attached for review.
Comment #3
acrollet CreditAttribution: acrollet at roomify - online and open source reservation solutions commentedComment #4
acrollet CreditAttribution: acrollet at roomify - online and open source reservation solutions commentedForgot to mention figures, reduced page load times by an average of .30s (out of roughly 3)
Comment #5
sylus CreditAttribution: sylus commentedThis looks great as another performance improvement ^_^, I also gave the patch a go and attached a profile comparison before and after the patch with a drush cr before each page load.
Comment #6
markhalliwellSee #2905729-8: Performance issues with theme alteration
Comment #7
markhalliwellSame with this one.
Comment #8
markhalliwellComment #9
markhalliwell