[Twisted-web] [Twisted-Python] Speed of rendering?

Glyph glyph at twistedmatrix.com
Fri Jun 22 18:27:05 EDT 2012

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!


Maybe you could add one for twisted.web.template rendering speed?

> 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.


More information about the Twisted-web mailing list