Bad performance in get_users_with_permissions()
|Reported by:||daniel@…||Owned by:|
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?