Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Tycho build got slow

We need to understand where the time is spent before we can start
looking for a solution. I usually use java profiler form yourkit.com for
this kind of investigation, but yourkit is not free nor it's cheap. I am
sure there are other profilers that can provide similar execution time
breakdown, I just don't have recent experience with any of them.
Whatever profiler you choose, be sure to measure wall-clock time (as
opposed to CPU time), as it is quite possible the time is spent on extra
remote downloads or thread synchronization, neither of which results in
any CPU utilization.

--
Regards,
Igor

On 11-09-25 11:05 AM, Christian Soltenborn wrote:
Hi,

the problems reported in the bug you cited have become urgent at the
beginning of September, and seem to have been caused by switching to
tycho 0.13.0. Since I always was on tycho 0.13.0, and since the slow
down of my build did not start before September 24 (a build on September
23 was fine), my guess was that this is not related (I had seen that bug
when googling for my problem). Could it be that my build never was
"fine" and now even got worse? :-)

However, could you quickly give me some hints on how to run my build
under a profiler?

Cheers,
Christian


Am 25.09.2011 14:10, schrieb Igor Fedorenko:
We are tracking this problem as bug 356888 [1]. It would be helpful if
you could run your build under profiler and see where the time is spent.

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=356888

--
Regards,
Igor

On 11-09-25 2:34 AM, Christian Soltenborn wrote:
Hi everybody,

I'm noticing a performance change in my builds: I started using tycho
with version 0.13.0.SNAPSHOT, and switching to 0.13.0 did not bring any
performance changes as expected. Before, the tycho part of my build took
29mins overall (and I'm not sure whether this is already slow - I always
felt it was, but didn't really care. My build consists of about 130
Eclipse plug-ins and features and results in a p2 repository of about
21MB).

However, with the build from 2011-9-24, 10am German time, my builds take
much longer: The tycho part now takes 64mins, and the resolving alone
takes 48mins (i.e., the part from starting maven up to the point where
the Reactor Build Order is announced).

I'm using an explicit target platform within my tycho build. I noticed
that some eclipse plug-ins seemed to be downloaded for the first time in
the build mentioned above (see  log output below). This doesn't happen
any more now, but the build is still slow.

As far as I know, Indigo SR1 is released these days. Is this what has
been downloaded in the mentioned build? Might this be related?

Let me know if you need more info about my build, and whether I should
file a bug.

Cheers,
Christian


Log output:

[INFO] Resolving target platform for project MavenProject:
de.upb.dmm:de.gupro.gxl:1.0.0-SNAPSHOT @ C:\Program Files
(x86)\Jenkins\workspace\DMM-Tooling\de.gupro.gxl\pom.xml
[INFO] Downloading org.eclipse.osgi
[INFO] [INFO] Downloading org.eclipse.equinox.registry
Downloading org.eclipse.equinox.preferences
[INFO] Fetching download.php (0B of 1,24kB at 0B/s) from
http://www.eclipse.org/downloads/download.php?file=/eclipse/updates/3.7/R-3.7.1-201109091335&format=xml&countryCode=de&timeZone=1&format=xml

[INFO] Fetching download.php (1,75kB of 1,24kB at 0B/s) from
http://www.eclipse.org/downloads/download.php?file=/eclipse/updates/3.7/R-3.7.1-201109091335&format=xml&countryCode=de&timeZone=1&format=xml

[INFO] Fetching
org.eclipse.equinox.registry_3.5.101.R37x_v20110810-1611.jar.pack.gz (0B
of 66,67kB at 0B/s) from
http://linorg.usp.br/eclipse/eclipse/updates/3.7/R-3.7.1-201109091335/plugins/

[INFO] 1 operation remaining.
[INFO] Fetching
org.eclipse.equinox.registry_3.5.101.R37x_v20110810-1611.jar.pack.gz
(2,62kB of 66,67kB at 0B/s) from
http://linorg.usp.br/eclipse/eclipse/updates/3.7/R-3.7.1-201109091335/plugins/

[INFO] Fetching
org.eclipse.equinox.preferences_3.4.1.R37x_v20110725.jar.pack.gz (0B of
43,58kB at 0B/s) from
http://linorg.usp.br/eclipse/eclipse/updates/3.7/R-3.7.1-201109091335/plugins/

...
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user





Back to the top