DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23518>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23518 Strange Perfomance Issue, tomcat lowes down my code by factor more than 10 Summary: Strange Perfomance Issue, tomcat lowes down my code by factor more than 10 Product: Tomcat 4 Version: 4.1.27 Platform: Other OS/Version: Linux Status: NEW Severity: Normal Priority: Other Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] i posted this issue before, and decided to run my test with another servlet container, before saying: it a problem with tomcat. (I'm running tomcat 4.1.27 with JDK 1.4.2 on RH8) I have a small test class, that - Lookup an Entity EJB - get a property from the Bean - serialize the bean using betwixt I runned the classes main-method form different environments, but all with the same jvm parameters (-server -Xms1200m -Xmx1200m). In tomcat it slowes down dramaticly: |Command Line | from Servlet | from Servlet | | in Tomcat | in Jetty ----------+-------------+--------------+--------------- Lookup | 144 ms | 2490 ms | 143 ms Getter | 17 ms | 2843 ms | 21 ms Serialize | 708 ms | 64147 ms | 947 ms I first thought that is has to do with all the classes in my classpath and the time relfection needs (especialy for betwixt). But when I added all the jars to the classpath of the commandline test, it slowes down only about 5%. for code of my test classes, see atachements. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]