Tim Funk wrote:
Its not reflection killing you. For example, time this:
<%=System.currentTimeMillis()%> <c:forEach begin='0' end='${param.iterations}'> ${more.cowbell} </c:forEach> <%=System.currentTimeMillis()%>
Where more is any java object and cowbell is a property (getCowbell()). In simple timing trials - even where iterations is greater than 2000 - I get subsecond response time.
I think something else is going on here then. I actually rewrote the above code to use a custom tag which I KNOW is slow in our system and even with 10000 entries its very fast.
Though when I took our production code and converted it from .tag files to jspfs it was 100x faster.
So the issue is what has changed between the two code bases to make it THAT much faster.
Its got to be some caching system or so forth. Maybe Tomcat can only cache so many methods and is recreating them.
So its clearly not JUST reflected methods its something else on top of it....
Any other ideas?
Kevin
--
Use Rojo (RSS/Atom aggregator)! - visit http://rojo.com. See irc.freenode.net #rojo if you want to chat.
Rojo is Hiring! - http://www.rojonetworks.com/JobsAtRojo.html
Kevin A. Burton, Location - San Francisco, CA
AIM/YIM - sfburtonator, Web - http://peerfear.org/
GPG fingerprint: 5FB2 F3E2 760E 70A8 6174 D393 E84D 8D04 99F1 4412
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
