[ZPT] Parsing speed (from a different angle)

Peter Bengtsson mail@peterbe.com
Fri, 1 Jun 2001 12:12:34 +0200


Assuming you have a 500 line DTML Method with lots of business logic, that
takes 10 seconds to render.

1) Converting that DTML Method to a ZPT will make it slower. To 12 seconds
(based on Evan's basic benchmarking posting the other day, 80%).

2) The second step is to extract all format-independent BL and put it in a
Python Script.

3) If the Python Script aren't fast enough, we'll use External Methods

What's the validity in this loud thinking? And "when" will the ZPT overtake
the DTML Method?

I can imagine a little graph with "extraction of BL into Python Script" on
the  y-axis and the "parsing speed" on the x-axis.

The cool thing about ZPT is that they Encourage (with upper E) you to use
Python Scripts etc. That's what I like.

Curious Peter