Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] build speed?

Speaking of patches. I think it would be extremely useful if somebody
contributed Tycho performance regression test(s) and helped with
required hardware to run them on. We had pretty bad performance
regression right before 0.14 [1], which luckily got noticed (thank you,
Steffen!), but we can't rely on luck to catch all such regressions.

If anyone wants to volunteer, I think Maven performance regression tests
[2] can be used as a reasonable starting point.



On 12-02-17 12:11 PM, Oberlies, Tobias wrote:
The build performance issue is traced here:

The whole target platform/dependency resolution is not really an easy
subject, so probably not a good starting point in case you wanted to
contribute a patch.



[mailto:tycho-user-bounces@xxxxxxxxxxx] *On Behalf Of *Jeff MAURY
*Sent:* Freitag, 17. Februar 2012 17:43
*To:* Tycho user list
*Subject:* Re: [tycho-user] build speed?

You could try the offline mode that is now supported by 0.14.0


On Fri, Feb 17, 2012 at 5:34 PM, Matthew O'Connor
<thegreendragon@xxxxxxxxx <mailto:thegreendragon@xxxxxxxxx>> wrote:


I'm looking for ways to speed up my build.

I have a Tycho project with around 10 subprojects each of which has 5-10
bundles in them. I specify all my project dependencies in the root pom.
The rest of the poms just specify they are "eclipse-plugin"s. Likewise
for build plugins.

Running "mvn -o package" takes around 2 1/2 minutes. About 1 1/2 of
those are spent on Tycho's dependency, class path, and target platform
resolution. It seems like dependency resolution is slow, but then I
don't know the complexity of what is being done.

I've created a "release" profile that handles creating products & zips
for all our target platforms. This helped quite a bit for normal builds.

What are some good ways to speed up the build?


tycho-user mailing list
tycho-user@xxxxxxxxxxx <mailto:tycho-user@xxxxxxxxxxx>


"Legacy code" often differs from its suggested alternative by actually
working and scaling.
- Bjarne Stroustrup

tycho-user mailing list

Back to the top