[Zope-dev] Benchmarks: DTML vs. ZPT?

Martijn Faassen faassen@vet.uu.nl
Fri, 8 Feb 2002 01:27:09 +0100


Chris Withers wrote:
> seb bacon wrote:
> > 
> > It wouldn't surprise me - ZPT has the roughly the same overheads as DTML
> > for the language parsing, but a presentation template goes through an
> > HTML parser in addition - which is always going to be quite slow in
> > python.
> 
> IIRC, The HTML Parser is only used during compilation, not on every render.
> 
> I would have thought it'd eb a priority to get ZPT to be at least as fast as
> DTML...

Last I heard there was a benchmark it said ZPT was about 40% slower
than DTML, and they were quite happy about this as DTML does all kinds of
funky optimization while ZPT did not. I forget where I read that though,
and it was a while ago, and I may not remember that figure right.

Regards,

Martijn