Trac slowness diagnosis
quozl at laptop.org
Thu Mar 29 18:30:46 EDT 2012
On Thu, Mar 29, 2012 at 11:52:20AM -0600, Daniel Drake wrote:
> The main cause of this slowness is that we choose to display potential
> ticket owners as a drop-down list (rather than a text entry field, the
> trac default). The performance issues are well known:
> Martin points out the disadvantage of the text entry field: it lets
> you assign a ticket to a user account that doesn't exist.
I would prefer to switch to a text entry field. I don't think the
disadvantage that Martin points out is significant. It would be easy
for Martin to create a report that shows tickets assigned to people who
don't exist, since the number of people who do exist is much smaller.
We already have thousands of people who don't exist listed in the
drop-down menu, so the disadvantage is already present.
> Nevertheless, if things become very slow again, I think we should
> switch to the text field and benefit from a huge speedup. Will keep an
> eye on it.
I would prefer to switch now.
More information about the Devel