Re: Speeding up Maven

2018-04-18 Thread Kristian Rosenvold
Just make sure you're not running low on entropy on your linux box, all sorts of weird slowdowns happen then. https://major.io/2007/07/01/check-available-entropy-in-linux/ Kristian 2018-04-16 11:28 GMT+02:00 Mark Raynsford : > With absolutely impeccable timing,

Re: Speeding up Maven

2018-04-16 Thread Mark Raynsford
With absolutely impeccable timing, I've had a couple of hardware failures. It is theoretically possible that this was the cause of the performance issues - although there were no error messages logged anywhere. I'm waiting for replacement parts, so it'll be a week or so before I can continue

Re: Speeding up Maven

2018-04-14 Thread John Patrick
Mark, Your project on mine machine takes on average 2.5 second and that is also doing a clean package each time, not just package. Spec: MacBook Pro (Retina, 13-inch, Late 2013) Processor 2.8 GHz Intel Core i7 Memory 16 GB 1600 MHz DDR3 Disk 512GB SSD $ java -version java version "9.0.4"

Re: Speeding up Maven

2018-04-14 Thread Tibor Digana
This is interesting discussion and so I decided to build your project with Java 9 and Maven 3.5.3. Completed within 1.5 sec. I have noticed that Maven 3.3.9 was slower, cca 2.5 sec. mvn -V test Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 2018-02-24T20:49:05+01:00) Maven home:

Re: Speeding up Maven

2018-04-14 Thread Mark Raynsford
On 2018-04-14T09:02:55 + Bernd Eckenfels wrote: > Hello, > > Maven is not the fastest, but in your case it sounds unusual slow. What are > your machine specs? Any SSD? Do you happen to have a on-access malware > scanner active? They react very bad to Java scanning

Re: Speeding up Maven

2018-04-14 Thread Bernd Eckenfels
From: Mark Raynsford <org.apache.maven.u...@io7m.com> Sent: Friday, April 13, 2018 11:21:33 PM To: Paul Hammant Cc: Maven Developers List Subject: Re: Speeding up Maven On 2018-04-13T16:29:27 -0400 Paul Hammant <p...@hammant.org> wrote: > Mark, > >

Re: Speeding up Maven

2018-04-13 Thread Paul Hammant
Can you yourself try another dissimilar machine?

Re: Speeding up Maven

2018-04-13 Thread Mark Raynsford
On 2018-04-13T16:29:27 -0400 Paul Hammant wrote: > Mark, > > Assuming a pre-filled Maven local cache, I've a 16 second build that's only > longer when I run a screen recorder in order to make the video show here - >

Re: Speeding up Maven

2018-04-13 Thread Mark Raynsford
On 2018-04-13T21:48:58 +0200 Karl Heinz Marbaise wrote: > Hi Mark, 'Ello. > On 13/04/18 21:20, Mark Raynsford wrote: > > First it would be good to know which Maven version are you using? And on > which JDK you are running? Hah, I purposefully left out details in the hope

Re: Speeding up Maven

2018-04-13 Thread Paul Hammant
Mark, Assuming a pre-filled Maven local cache, I've a 16 second build that's only longer when I run a screen recorder in order to make the video show here - https://paulhammant.com/2017/02/05/a-16-second-java-webapp-build-including-webdriver-tests/ That one runs three WebDriver tests too after

Re: Speeding up Maven

2018-04-13 Thread Karl Heinz Marbaise
Hi Mark, I simply missed this project: https://github.com/khmarbaise/maven-buildtime-profiler Kind regards Karl Heinz Marbaise On 13/04/18 21:20, Mark Raynsford wrote: Hello. Is there any way I might speed up Maven? I've been using it for years and, for the first time, I'm actually

Re: Speeding up Maven

2018-04-13 Thread Karl Heinz Marbaise
Hi Mark, On 13/04/18 21:20, Mark Raynsford wrote: First it would be good to know which Maven version are you using? And on which JDK you are running? Hello. Is there any way I might speed up Maven? I've been using it for years and, for the first time, I'm actually executing it from an

Speeding up Maven

2018-04-13 Thread Mark Raynsford
Hello. Is there any way I might speed up Maven? I've been using it for years and, for the first time, I'm actually executing it from an IDE rather than using the IDE's built-in compiler. It seems like there's a rather large and apparently fixed amount of overhead per invocation. Take the