This is very preliminary but I figured someone might be bored over christmas and could provide some insight to me before I go digging into this too much.
Trying to debug site performance issues, I turn almost everything off and enable xhprof. Slowest function is t which was called 2000 times from system_region_list. That function was called 100 times by... drumroll.. context
The biggest culprits were
context_reaction_block::is_enabled_region (61 times) and
context_reaction_block::is_editable_region (40 times)
the 30 calls to system_region_list accounts for 30ms or 1/10 of the page load time.
Can the results of this function be cached by context?
Postponed: needs info
11.0 π₯
system.module
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.