Debug mode *always* slows down the JVM.

The fact that things get slower each time you run the test is incredibly wierd 
and not really something that I can give you much advice on. I have never seen 
such a thing.

On my box, running the test suite for the booking demo app (which involves 
bootstrapping the app and EJB3 container 3 times) takes 13 seconds (so about 
4.5 secs on average). 

It is of course significantly slower in debug mode.

What you should try to do is group a few tests together into the same SeamTest 
test class to minimize the number of times the container restarts.

Note also that you should use *unit tests* (which do not require a container) 
as much as is practicable instead of integration tests (which do).

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3924602#3924602

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3924602


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to