Opened 8 years ago

Last modified 16 months ago

#3251 new defect

Bad performance in get_users_with_permissions()

Reported by: daniel@… Owned by:
Priority: normal Component: TracForgePlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


We have a fairly large trac setup with ~80 users. Accessing the roadmap page on one of our projects takes around 20 seconds. Simply caching the result of get_users_with_permissions() takes it down to less than 1 second.

Simply caching the data obviously isn't a very good solution, since we'd have to restart trac every time we change the permissions. Any chance of a better one?

Attachments (0)

Change History (1)

comment:1 Changed 16 months ago by rjollos

  • Owner coderanger deleted

Add Comment

Modify Ticket

as new The ticket will remain with no owner.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.