Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
message_subscribe_ui_tab_title() executes a view, loading lots of entities, to get a count of subscriptions. It could just use execute() instead.
This reduced the time spent in the function for a user with lots of subscriptions from 120 seconds down to 2 for me.
Can do more here - two seconds is still too much.
Comment | File | Size | Author |
---|---|---|---|
#1 | message_subscribe_2362331.patch | 593 bytes | catch |
Comments
Comment #1
catchComment #2
amitaibuMerged, thanks.