Quoting Robert Crawford ([EMAIL PROTECTED]):
> On Wed, Jan 26, 2000 at 09:32:08AM -0600, Dave Glowacki wrote:
> > I then did some benchmarking and found that FreeMarker is
> > at a minimum 5 times faster than WebMacro for their common
> > operations.  This seems to be due to all the introspection
> > that WebMacro must perform.
>
>         That makes sense. Introspection was intended to support
> development tools, as far as I know, and not intended for a
> run-time use.o

My guess is he didn't turn on the template caching in WebMacro, and as
a result his servlet was reparsing the template on every request, which
is very expensive.

WebMacro introspects a class the first time it sees it only, and
subsequent references to the same class are not introspected.

Justin

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to