> > It is taking 0.4 seconds just to find the class from the urls. Do you > > mind sharing your urls?
> Oh, that is happening only for the first time. In subsequent calls, > most of the time is spent in unicode conversions and joining the > template output. Thats ok I won't worry about the urls for now but there are about 100 of them. I am currently in the process of optimising main.py into sub applications, though so hopefully it will help. > I did a small optimization to reduce the number of calls to safeunicode. > > http://github.com/webpy/webpy/commit/86aae440f5b6527a8e4ae1e8f8220a32... > > Can you try with this and re-profile your app? I applied the changes to template.py heres what I got: http://pastebin.com/m6a9dbe15 I still used app.run(web.http.profiler) to keep results consistent. Would you like me to do the other method you suggested to SeC?? Thanks again for your help. - brendon -- You received this message because you are subscribed to the Google Groups "web.py" 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/webpy?hl=en.
