maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mirko Friedenhagen <mfriedenha...@gmail.com>
Subject Maven bootstrap/surefire:test performance
Date Fri, 13 Sep 2013 19:25:11 GMT
Hello everybody,

I use Netbeans 7.4 as IDE and mostly like how it uses Maven to get stuff
done. While it is nice that I do not encounter problems as I did with
Eclipse when dealing with dependency scoping I am slowed down when running
single test files or methods. Netbeans invokes "test-compile surefire:test
-Dtest=...".

Now even from the CLI it takes Maven some time to reach surefire:test. Even
when I do not invoke test-compile 3 seconds are spent before surefire:test
starts it's work and another 3 seconds afterwards.

The tests of a single testcase themselves only take 0.3 seconds. With
Eclipse or Intellij the execution happens in less than 1 second while with
Maven or Netbeans this will take up to 10 seconds even in offline mode.

Any hints for speeding up things would be appreciated (except of changing
the IDE ;-)).

Regards Mirko
-- 
Sent from my mobile

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message