Hi Do the same test with mvn org.twdata.maven:maven-cli-plugin:execute-phase - A regular compile with large projects cuts down the time drastically
Hermod -----Original Message----- From: Jörg Schaible [mailto:joerg.schai...@gmx.de] Sent: Tuesday, April 27, 2010 2:11 PM To: dev@maven.apache.org Subject: Maven performance 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 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This email with attachments is solely for the use of the individual or entity to whom it is addressed. Please also be aware that the DnB NOR Group cannot accept any payment orders or other legally binding correspondence with customers as a part of an email. This email message has been virus checked by the anti virus programs used in the DnB NOR Group. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org