On Fri, Feb 08, 2002 at 11:29:39AM +0000, seb bacon wrote:
> Well, I just ran a very naive test and it suggests that zpt may be about
> twice as slow as dtml.
> 
> I made a DTML Method, and a ZPT, identical to each other, containing
> only HTML:
> 
>   <html> 
>    Test
>   </html>
> 
> Then I ran the ab benchmarking tool against each method, thus:
> 
>   # ab -n 500 http://localhost:8005/zpt_test/dtml
> 
> The results are reproduced below, along with the profiling information
> (sorry if it wraps badly)
> 
> seb

snip - snip.

This is indeed very interesting.  I also had an impression that ZPT was
sometimes evaluating things that it did not need to in the presence
of conditional tags.

How does the timing compare with a Script Python and with an external 
method on your machine?

(Yes, I understand they are very different from ZPT and dtml, but I
think this might be useful information for a Zope architect. And this 
would give a common baseline.)


Jim Penny

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to