velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David You <>
Subject RE: Performance tuning/improvements
Date Fri, 22 Nov 2002 16:55:26 GMT
Resin put lots of effort on performance at the begining. For example, They
use it's own unsynchronized CharacterBuffer? instead of StringBuffer which
is synchronized.


-----Original Message-----
From: Gabriel Sidler []
Sent: Friday, November 22, 2002 7:56 AM
To: Velocity Users List
Subject: Re: Performance tuning/improvements

Since we are talking about performance...

I noticed that the JSP Servlet of Resin pumps out simple
templates about 2 to 3 times as fast as the Velocity
servlet under the same circumstances.

By 'simple template' I mean a template that is mostly static.
If the template is very dynamic, the performance advantage
of Resin/JSP is smaller.

They must be doing something very smart about moving the
bytes around. Does anyone have an idea how they can achieve
this huge performance advantage with static templates?


Gabriel Sidler
Software Engineer, Eivycom GmbH, Zurich, Switzerland

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message