Jörg, If you are going to use the maven-eclipse-plugin as your benchmark I think it's going to be very hard to pin point where the bottleneck is. It's a little universe unto itself. Could be the shared components, resolution code, the plugin itself. I see vast improvements in speed in Maven 3.x. I don't think you can use the maven-eclipse-plugin as the basis for measuring improvement. For example there is behavior in Maven 3.x that is "more correct" which may contribute to some slow down and that we're just going to have to live with.
As one user suggested it may be wise to provide execution timings for the core and individual plugins and phases. For example if you found that Maven's execution time remained constant over all versions of Maven where it was the maven-eclipse-plugin that varied then we know it's an interaction problem with the plugin and you can go from there. Or use a profiler and find out where the actual problem is and tell us. We've done lots of profiling to get Maven 3.x and M2E running faster. But gigantic plugins like m-e-p and the assembler plugin will probably have problems entirely their own. On Apr 27, 2010, at 8:10 AM, Jörg Schaible wrote: > Hi guys, > > it's not the first time I complain about Maven performance, but it seems M3 > is heading the right direction. Yet, still not on the 2.0.x level: > > ======== %< ============= > $ MAVEN_OPTS="-Xmx768m -XX:MaxPermSize=128m" mvn-2.0 eclipse:eclipse > Apache Maven 2.0.11 > Java version: 1.6.0_20 > Java home: /opt/sun-jdk-1.6.0.20/jre > Default locale: en_US, platform encoding: UTF-8 > OS name: "linux" version: "2.6.32-gentoo-r7" arch: "i386" Family: "unix" > <snip> > ------------------------------------------------------------------------ > > [INFO] Total time: 2 minutes 46 seconds > > [INFO] Finished at: Tue Apr 27 12:06:49 CEST 2010 > > [INFO] Final Memory: 362M/573M > > ------------------------------------------------------------------------ > > $ MAVEN_OPTS="-Xmx768m -XX:MaxPermSize=128m" mvn-2.2 eclipse:eclipse > Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200) > Java version: 1.6.0_20 > Java home: /opt/sun-jdk-1.6.0.20/jre > Default locale: en_US, platform encoding: UTF-8 > OS name: "linux" version: "2.6.32-gentoo-r7" arch: "i386" Family: "unix" > <snip> > ------------------------------------------------------------------------ > [INFO] Total time: 6 minutes 46 seconds > [INFO] Finished at: Tue Apr 27 11:31:13 CEST 2010 > [INFO] Final Memory: 434M/682M > ------------------------------------------------------------------------ > > $ MAVEN_OPTS="-Xmx768m -XX:MaxPermSize=128m" mvn-3.0 eclipse:eclipse > Apache Maven 3.0-beta-1 (r935667; 2010-04-19 19:00:39+0200) > Java version: 1.6.0_20 > Java home: /opt/sun-jdk-1.6.0.20/jre > Default locale: en_US, platform encoding: UTF-8 > OS name: "linux" version: "2.6.32-gentoo-r7" arch: "i386" Family: "unix" > <snip> > ------------------------------------------------------------------------ > [INFO] Total time: 4:02.127s > [INFO] Finished at: Tue Apr 27 12:02:12 CEST 2010 > [INFO] Final Memory: 344M/443M > ------------------------------------------------------------------------ > ======== %< ============= > > The build processes ~400 projects. The version output is somewhat faked > (esp. for M2.0), it's just to give you the details of the environment. M3 is > way better than M2.2, but not (yet ?) at the level of 2.0.11 (and I bet > 2.0.9 will be a lot faster again). > > Also have a look at the memory footprint. Since M2.2 it is quite no longer > possible for me to build all the stuff at once. M3 looks very promising > here. > > - Jörg > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > For additional commands, e-mail: dev-h...@maven.apache.org > Thanks, Jason ---------------------------------------------------------- Jason van Zyl Founder, Apache Maven http://twitter.com/jvanzyl --------------------------------------------------------- We know what we are, but know not what we may be. -- Shakespeare