Modify

Opened 6 years ago

#3251 new defect

Bad performance in get_users_with_permissions()

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

Description

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 (0)

Add Comment

Modify Ticket

Action
as new The owner will remain coderanger.
Author


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

 
Note: See TracTickets for help on using tickets.