DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=25874>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=25874





------- Additional Comments From [EMAIL PROTECTED]  2005-01-24 08:34 -------
Re: performance testing

I wrote a simple integer-math heavy template, and merged it 1000 times.  I did 
this three times and averaged the time.  The results were interesting.

Velocity 1.4:
with caching: 488 ms
no caching: 23944 ms

SVN head (as of 1-23-2004) + number patch:
with caching: 604ms
no caching: 24198

The results were also the same for Velocity 1.4 and SVN head (without the 
number patch).

Interestingly, I also did this with an empty template.  The results were 
almost the same in each case.

Conclusion - without caching there is little difference.  With caching, there 
is a slowdown for parsing templates.  The content of the template doesn't seem 
to matter.

Let's discuss on the dev list.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to