The meld3-vs-zpt post was here:
http://www.plope.com/Members/chrism/meld3_zpt_profiling_madness
It'd probably not be too hard to come up with a DTML variant of the
same test rig. Conventional wisdom is that DTML is faster than ZPT.
FWIW, if you plan to use Five, you're really going to be swimming
upstream if you want to use DTML as your primary templating language
because most (all?) example code for Z3/Five uses ZPT.
- C
On Jun 5, 2006, at 9:33 PM, David H wrote:
Dennis Allison wrote:
We've been using DTML but we are at a point where we could move to
page templates.
We are starting a major restruture and rewrite of much of the
system and are debating moving to ZPT. Performance is potentially
a major issue. We are using Zope 2.9.X, will eventually move to
Zope 2.10.X and Five. Python 2.4.X.
Has anyone done any benchmark comparison of the two design
choices? For the same functionality, which performs better. No
flame wars about which is better, just information about performance.
Dennis,
Interesting question. Because to reasonably performance test ZPT
vs DTML one would have a scenario where DTML script does both logic
and presentation (its "weakness") and ZPT does presentation and off-
loads its logic to Python Scripts (presumably its strength). Note:
I say this assuming the DTML "typically" has lots of embedded logic
whereas ZPT does not.
Chris M wrote an very interesting blog (see plope.com) that (among
other things) compares Meld to ZPT in terms of performance. I
recall that he was impressed with ZPT's rendering speed.
At any rate, you could always invest the time to convert one of
your DTML workhorses into ZPT and do your own compare. That might
be best because the style your DTML was written in may make a big
difference in your performance results.
David
_______________________________________________
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )
_______________________________________________
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )