Christian Boos wrote: > [EMAIL PROTECTED] wrote: > >> we run 0.11dev-r6737 ... but also on teo takes 4 times longer for >> displaying a query link than for displaying other wiki links. is this >> ok according to your experience given the string processing done? >> >> >>>> example: >>>> 5 links like [query:status=new|assigned| >>>> reopened&keywords=~bla&type=task&order=priority 01] take one second >>>> (i.e. 50 take 10 sec) >>>> >>>> > > > OK, links like [query:status=...] will require /some/ processing power, > (query = Query.from_string(), then query.get_href()), whereas the other > form of query links, i.e. [query:?status=...] will not, as it's already > an part of an URL than only needs to be copied around (1). You may try > the later form, and see if that makes a difference. If not, then it's > something else, in the wiki lhref processing. >
Please try the following patch: http://trac.edgewall.org/attachment/ticket/6436/cache-get_ticket_fields-r6792.diff That fixed the performance issue for me, and I suspect this could help in other situations as well. -- Christian --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-dev?hl=en -~----------~----~----~----~------~----~------~--~---
