Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 UTC on 18 March 2024, to get $100 off your ticket.
Updated: Comment #N
Problem/Motivation
While profiling I figured out that getFileName()
and rules_core_modules()
are called quite often and could profit from static caching.
Proposed resolution
Well, static caching as implemented in the patch.
Remaining tasks
Reviews needed.
User interface changes
None
API changes
None
Comment | File | Size | Author |
---|---|---|---|
rules-add-static-caching.patch | 3.47 KB | das-peter | |
Comments
Comment #1
ndobromirov CreditAttribution: ndobromirov commentedSeems OK, nothing structural is changed, except the added caches, so changing to RTBC.
Can you provide example XHProf outputs (before/after)?
Comment #2
fagoMakes sense and passes tests, thus committed - thanks.