Re: Speed of Maven build

2020-09-06 Thread Michael Bien
this would be an interesting use case for a native image, but the modular nature of maven is at the same time also the worst case scenario for native images :) best regards, -michael On 06.09.20 06:43, Jaroslav Tulach wrote: Thanks Jesse, Tim. I've modified https://issues.apache.org/jira/brow

Re: Speed of Maven build

2020-09-05 Thread Jaroslav Tulach
Thanks Jesse, Tim. I've modified https://issues.apache.org/jira/browse/NETBEANS-4746 with links to your posts - I assume both are part of the problem: cold JVM for small projects, a lot of I/O for large project structures. -jt Dne pátek 4. září 2020 5:26:21 CEST, Tim Boudreau napsal(a): > For l

Re: Speed of Maven build

2020-09-05 Thread Jaroslav Tulach
Dne úterý 25. srpna 2020 13:26:33 CEST, Jeff Jensen napsal(a): > In case this helps, Jason Dillon has a "Maven Shell" that does what you > seek for CLI - launches a Maven instance and runs interactive commands with > it, saving the startup time. > https://github.com/jdillon/mvnsh Thanks Jeff. The

Re: Speed of Maven build

2020-09-03 Thread Tim Boudreau
For larger multi-module projects, I'd tend to suspect that a substantial chunk of the time is I/O-bound, parsing XML - build one project with a substantial dependency tree. How many POM files both in the project and under ~/.m2 need to parsed? It would be interesting to instrument Maven and get s

Re: Speed of Maven build

2020-09-03 Thread Jesse Glick
On Thu, Aug 27, 2020 at 1:30 AM Jaroslav Tulach wrote: > Hypothesis: Probably different Ant and Maven integration into the NetBeans > IDE. > While Ant is executed in the same JVM as the IDE in an isolated classloader, > Maven is probably always started as a separate process. Yes this likely acco

Re: Speed of Maven build

2020-08-27 Thread Davide Grandi
I think that your conclusions are reasonable. I've built your test project, that confirms the startup delay hypothesis. However performances must be evaluated on specific test cases : building a 10 *.java program is different from building CXF (maven) or derby (ant). Maybe that also the goals ar

Re: Speed of Maven build

2020-08-26 Thread Jaroslav Tulach
Dne středa 26. srpna 2020 10:01:33 CEST, Davide Grandi napsal(a): > Sorry to be late, but > there is a project test case for Maven "slowlyness" ? This is a great question, thanks Davide! I've just tried to create such project: https://issues.apache.org/jira/browse/NETBEANS-4746 and yes, Mav

Re: Speed of Maven build

2020-08-26 Thread Davide Grandi
Sorry to be late, but     there is a project test case for Maven "slowlyness" ? I mean : a project for which there's a time gap between - nb/command line mvn invocations - or between ant / mavn builds (I know : how many projects have TWO build files ? ...) for routinely rebuilds of big projec

Re: Re: Speed of Maven build

2020-08-25 Thread Eric Bresie
Would multi threading/multi core parameters help speed things up? https://stackoverflow.com/questions/32368976/ways-to-make-maven-build-faster/44646756#44646756 Or other speedups like limiting some activities or profile the builds? https://medium.com/@alex_collins/10x-faster-maven-builds-at-intu

Re: Speed of Maven build

2020-08-25 Thread Manfred Moser
Mickael Istria wrote on 2020-08-25 14:17 (GMT -07:00): > I > > On Tuesday, August 25, 2020, Manfred Moser wrote: >> And the VS code integration from Red Hat might also do something along > those lines. > > It embeds and uses m2eclipse. > Haha.. thanks for confirming. I thought that to be t

Re: Speed of Maven build

2020-08-25 Thread Mickael Istria
I On Tuesday, August 25, 2020, Manfred Moser wrote: > And the VS code integration from Red Hat might also do something along those lines. It embeds and uses m2eclipse. -- Mickael Istria Eclipse IDE developer, for Red Hat Developers

Re: Speed of Maven build

2020-08-25 Thread Manfred Moser
Also the M2Eclipse integration does basically embed maven and make the Maven build incremental. The Takari plugin does that on the commandline with the eclipse compiler And the VS code integration from Red Hat might also do something along those lines. Others can chime in with more details. M

Re: Speed of Maven build

2020-08-25 Thread John Patrick
Are you planning to create a baseline project or selecting a range of projects to be used as a baseline, so that perceived improvements can be monitored? So that anyone wanting to help out or give feedback can submit their own build performance. i.e. 1. Equipment OS, Ram, CPU, physical, virtual, d

Re: Speed of Maven build

2020-08-25 Thread Will Hartung
On Tue, Aug 25, 2020 at 4:37 AM Jeff Jensen < jeffjen...@upstairstechnology.com> wrote: > In case this helps, Jason Dillon has a "Maven Shell" that does what you > seek for CLI - launches a Maven instance and runs interactive commands with > it, saving the startup time. > https://github.com/jdillo

Re: Speed of Maven build

2020-08-25 Thread Jeff Jensen
In case this helps, Jason Dillon has a "Maven Shell" that does what you seek for CLI - launches a Maven instance and runs interactive commands with it, saving the startup time. https://github.com/jdillon/mvnsh On Tue, Aug 25, 2020 at 12:27 AM Jaroslav Tulach wrote: > > And it's Apache Maven, ov

Re: Speed of Maven build

2020-08-24 Thread Jaroslav Tulach
> And it's Apache Maven, over the corner at https://maven.apache.org/ so > I suppose that community would be happy to get such contributions. > > -Bertrand You are right, Bertrand. Why not ask! Hello Maven guys, we had a discussion on the NetBeans mailing list recently and here is a summary: * Ap

Re: Speed of Maven build was: Status of Ant vs Maven

2020-08-24 Thread Bertrand Delacretaz
On Sun, Aug 23, 2020 at 9:06 AM Jaroslav Tulach wrote: > ...If the > Maven startup is the biggest problem for you guys, we shall investigate how to > turn Tomáš's work on... And it's Apache Maven, over the corner at https://maven.apache.org/ so I suppose that community would be happy to get such