[Twisted-web] [Twisted-Python] Speed of rendering?
Peter Westlake
peter.westlake at pobox.com
Sun Jun 24 15:14:31 EDT 2012
On Fri, Jun 22, 2012, at 15:27, Glyph wrote:
>
> On Jun 22, 2012, at 2:52 PM, Peter Westlake <peter.westlake at pobox.com>
> wrote:
>
> > On Thu, Jun 21, 2012, at 10:16, Glyph wrote:
> >>
> >> Le Jun 21, 2012 à 6:52 AM, Peter Westlake <peter.westlake at pobox.com> a
> >> écrit :
> >>
> >>> How fast is rendering in nevow? I have a page which is mostly a large
> >>> table with a couple of hundred rows, each containing a form. The
> >>> generated HTML is about 500 KB. Leaving aside the question of whether
> >>> this is a good design or not, how long would you expect it to take? I'm
> >>> interested specifically in what happens between the end of beforeRender
> >>> and the request being completed. It takes about a minute and a quarter.
> >>> Is that normal, or is there a delay in my code that I haven't found yet?
> >>>
> >>> Thanks,
> >>>
> >>> Peter.
> >>
> >> What does your profiler tell you?
> >
> > There's a profiler? There's a profiler! There it is,
> > right up there at the top of the man page! Thank you!
>
> Not only is there a profiler, there's benchmarks!
>
> <http://speed.twistedmatrix.com/timeline/>
>
> Maybe you could add one for twisted.web.template rendering speed?
I'll see what I can do. Right now the server just shuts down when
given the "--profile <outputfile>" option. No errors, just a nice
clean shutdown. More on that when I'm back at work tomorrow.
> > Peter.
> >
> > P.S. sorry, this was really meant to go to the twisted-web list.
> > I suspect a last-minute substitution by my email client.
>
>
> Thanks for the thought, at least. Cross-posted.
Thanks.
Peter.
More information about the Twisted-web
mailing list