We've had a few bottlenecks in our code that have since been removed but the remaining big bottleneck is Tomcat. The JSP engine is creating compiled code that is heavily relying on reflection. Reflection shouldn't hit the page too much but we have tight loops over say 400 items or so and each uses 10-20 taglibs. This is resulting in about 800ms of page load time.!!!
After rewriting the taglibs to use jspf includes the page load drops 10x to about 80ms. The bottleneck is gone and the pages essentially snap on the screen. Very fast! :)
Our app still has 2200 ms that can be shaved off if I could just get rid of reflection within taglibs.
The problem is that I'd like to continue to use taglibs and I'd like to to avoid rewriting our code.
Is there ANY way to get Tomcat to not use reflection in this situation.
I'm running Tomcat 5.5.4 if it helps.
Thanks.
--
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]
