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.

CommentFileSizeAuthor
#1 message_subscribe_2362331.patch593 bytescatch
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

catch’s picture

Status: Active » Needs review
FileSize
593 bytes
amitaibu’s picture

Status: Needs review » Fixed

Merged, thanks.

  • Amitaibu committed f661c79 on authored by catch
    Issue #2362331 by catch: Fixed Don't render the entire view to get a...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.