You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Tommy Svensson <to...@natusoft.se> on 2024/05/28 13:35:22 UTC

Hmm ...

Performance problems

When I bought my Apple MacBook Pro M1 machine with 10 cores (real, not threaded) and 64 GB memory, I was able to build one of my multimodule projects in around 4 seconds! The project had 4 modules at the time.

I now build on Samsun external disk and it takes 29 seconds to build with 2 of the modules removed! So I first thought that it must be a difference in speed between external SSD and internal. "BlackMagic Disk Test" on Mac showed internal disk to be extremely must faster than external. Samsung: 791 apple internal: 4431. So I moved the code back to apples internal disk. That did however not make a difference!!!

But I have earlier build same project with twice the amount of code in it at around 4 seconds on internal disk! The speed test shows it is still as fast as it was before. 

This makes me wonder if something has happened in maven that makes builds slower ? It is clearly not the disk speed that affects time it takes, so I can only assume Maven or Groovy! The latter is more complicated to verify, so I started with maven! This is not an accusation of any kind! Just wan't to se if I'm pretty much alone with this problem or not. 

Best Regards, 

Tommy Svensson
tommy@natusoft.se



Re: Hmm ...

Posted by Karl Heinz Marbaise <kh...@gmx.de.INVALID>.
Hi,


which Maven versions do you use? Which JDK versions do you use?

Which plugin versions do you use in your builds?

etc. There are missing so much information so I can not even guess what
might be a point?

Do you have tests running? How much? Have you measured the plain build
time? With or without the tests etc. ?

BTW: Which projects do you build ? Do you have example projects?

Kind regards
Karl Heinz Marbaise
On 28.05.24 15:35, Tommy Svensson wrote:
> Performance problems
>
> When I bought my Apple MacBook Pro M1 machine with 10 cores (real, not threaded) and 64 GB memory, I was able to build one of my multimodule projects in around 4 seconds! The project had 4 modules at the time.
>
> I now build on Samsun external disk and it takes 29 seconds to build with 2 of the modules removed! So I first thought that it must be a difference in speed between external SSD and internal. "BlackMagic Disk Test" on Mac showed internal disk to be extremely must faster than external. Samsung: 791 apple internal: 4431. So I moved the code back to apples internal disk. That did however not make a difference!!!
>
> But I have earlier build same project with twice the amount of code in it at around 4 seconds on internal disk! The speed test shows it is still as fast as it was before.
>
> This makes me wonder if something has happened in maven that makes builds slower ? It is clearly not the disk speed that affects time it takes, so I can only assume Maven or Groovy! The latter is more complicated to verify, so I started with maven! This is not an accusation of any kind! Just wan't to se if I'm pretty much alone with this problem or not.
>
> Best Regards,
>
> Tommy Svensson
> tommy@natusoft.se
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org