D
Dan
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.
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.