logo       

RE: Performance tuning/improvements: msg#00158

jakarta.velocity.user

Subject: RE: Performance tuning/improvements

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.

David


-----Original Message-----
From: Gabriel Sidler [mailto:sidler@xxxxxxxxxx]
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?

Gabe





--
Gabriel Sidler
Software Engineer, Eivycom GmbH, Zurich, Switzerland


--
To unsubscribe, e-mail:
<mailto:velocity-user-unsubscribe@xxxxxxxxxxxxxxxxxx>
For additional commands, e-mail:
<mailto:velocity-user-help@xxxxxxxxxxxxxxxxxx>


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise