JUNIT very slow.......
- From: "Dan" <dpdoughe@xxxxxxxxxxx>
- Date: 31 May 2005 13:49:42 -0700
I have a small program I build as a stand-alone (i.e. as main method)
and as a junit test. I am using Apache Ant. When run as the Junit
test it takes bloody long time to ready itself before running -- on
the order of 1-2 minutes!! The total size of the library I am building
against is about 1.5M (class files).
I also see the available memory on my system going way down and
computer coming to a halt -- yuck. No such issues when run as a
standalone though -- runs as fast as I'd expect. My thought is that it
is not the inefficiency of my code but rather something Junit task is
doing internally. But maybe I am wrong.
Any thoughts on what is causing the long delay under Junit? Any way to
improve??
Thanks.
.
- Follow-Ups:
- Re: JUNIT very slow.......
- From: Bryce
- Re: JUNIT very slow.......
- Prev by Date: Re: Help: Tomcat crashes on java.lang.OutOfMemoryError
- Next by Date: Re: JUNIT very slow.......
- Previous by thread: Help: Tomcat crashes on java.lang.OutOfMemoryError
- Next by thread: Re: JUNIT very slow.......
- Index(es):
Relevant Pages
|