- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Re: slow eclipse multi-project incremental build
Thu, 2009-12-17, 15:17
Hi,
I was about about to post a new message here about the very same slow
Eclipse problem when I saw there was already a thread about it, so I'll
add my observations.
I have been trying the nightly builds the few weeks to check on the
improvements of the 2.8 plugin. Kudos to the developers, it really
improved a lot in terms of features.
I am mainly using Eclipse 3.5 with JDT and PDE and programming in Java.
I have around 100 open Java projects (and a few Scala projects) in many
working sets, and Eclipse runs like a breeze with JDT/PDE only (using
the Eclipse for RCP EPP).
When the Scala plugin is installed (different versions), Java
refactoring actions become extremely slow (to the point that Eclipse
becomes unresponsive from 15 to 30 seconds).
(The open Scala projects do not depend on the Java projects I'm
refactoring).
I have made sure that the culprit is indeed the Scala plugin by
uninstalling it, testing, then installing it again, testing many times
with a few different nightly builds.
The JDT build also generally feels slower with the Scala plugin
installed but not to the point I can make sure there is an actual
difference. The main problem is with JDT refactoring actions.
Unfortunately I had no time to profile it further or try to explore the
code for a patch, but I made sure to try with and without enough times
to make sure the problem is indeed related to the Scala plugin.
I'm posting the ticket hoping there is some quick optimization that can
prevent the Scala plugin from slowing things done if it is not involved
(no Scala project dependency on a project affected by the refactoring
action).
I understand that the slowdown is a result of using Equinox Aspects on
JDT, but I think a requirement for the Scala plugin (or any successful
Eclipse plugin) is not to affect too strongly its host ecosystem's
performance; I think many people using the Scala plugin will spend a lot
of time using Java and the Scala plugin should not get in their way. For
now, I had to uninstall the Scala plugin and I have to play with it in a
separate Eclipse install, but this is suboptimal.
Show I create a new ticket about that issue?
Thu, 2009-12-17, 16:37
#2
Re: Re: slow eclipse multi-project incremental build
Miles Sabin a écrit :
> On Thu, Dec 17, 2009 at 2:16 PM, Simon Chemouil wrote:
>> Show I create a new ticket about that issue?
>
> Yes, definitely.
>
> It would help me enormously if you could tell me if you experience the
> same slowdowns in your 100 Java project workspace without the Scala
> IDE installed, but with the latest AJDT installed (and a trivial
> AspectJ project in the workspace, eg. one of the samples).
Hi,
I uninstalled the Scala plugin but the Equinox Weaving feature is/was
still installed.
I just created a random AspectJ project, but it will take some time of
real-world Eclipse usage to check if I experience the same slowdowns.
I'll get back in touch early next week (and I'll create a ticket then
with the details).
Best,
Thu, 2009-12-17, 16:47
#3
Re: Re: slow eclipse multi-project incremental build
On Thu, Dec 17, 2009 at 3:33 PM, Simon Chemouil wrote:
> Miles Sabin a écrit :
>> It would help me enormously if you could tell me if you experience the
>> same slowdowns in your 100 Java project workspace without the Scala
>> IDE installed, but with the latest AJDT installed (and a trivial
>> AspectJ project in the workspace, eg. one of the samples).
>
> I uninstalled the Scala plugin but the Equinox Weaving feature is/was still
> installed.
AJDT also uses Equinox Aspects and JDT Weaving, and I'd like to know
if it causes a similar slowdown or not. If possible, could you create
a fresh Eclipse install so that there's no possibility of confusing
versions of the various shared components (eg. an older version of
Equinox Aspects than the one that ships with the most recent AJDT
release).
> I just created a random AspectJ project, but it will take some time of
> real-world Eclipse usage to check if I experience the same slowdowns.
>
> I'll get back in touch early next week (and I'll create a ticket then with
> the details).
That's very helpful ... thanks :-)
Cheers,
Miles
Wed, 2009-12-23, 20:47
#4
Re: Re: slow eclipse multi-project incremental build
On 17/12/09 15:39, Miles Sabin wrote:
Miles, had you had a chance to try out the new AspectJ release http://andrewclement.blogspot.com/2009/12/aspectj-167-and-faster-load-time.html?
—Mohamed
30961e500912170739j1d30eca2rb1859e08dc910e49 [at] mail [dot] gmail [dot] com" type="cite">On Thu, Dec 17, 2009 at 3:33 PM, Simon Chemouilwrote: Miles Sabin a écrit :It would help me enormously if you could tell me if you experience the same slowdowns in your 100 Java project workspace without the Scala IDE installed, but with the latest AJDT installed (and a trivial AspectJ project in the workspace, eg. one of the samples).I uninstalled the Scala plugin but the Equinox Weaving feature is/was still installed.AJDT also uses Equinox Aspects and JDT Weaving, and I'd like to know if it causes a similar slowdown or not. If possible, could you create a fresh Eclipse install so that there's no possibility of confusing versions of the various shared components (eg. an older version of Equinox Aspects than the one that ships with the most recent AJDT release).
Miles, had you had a chance to try out the new AspectJ release http://andrewclement.blogspot.com/2009/12/aspectj-167-and-faster-load-time.html?
—Mohamed
30961e500912170739j1d30eca2rb1859e08dc910e49 [at] mail [dot] gmail [dot] com" type="cite">I just created a random AspectJ project, but it will take some time of real-world Eclipse usage to check if I experience the same slowdowns. I'll get back in touch early next week (and I'll create a ticket then with the details).That's very helpful ... thanks :-) Cheers, Miles
On Thu, Dec 17, 2009 at 2:16 PM, Simon Chemouil wrote:
> Show I create a new ticket about that issue?
Yes, definitely.
It would help me enormously if you could tell me if you experience the
same slowdowns in your 100 Java project workspace without the Scala
IDE installed, but with the latest AJDT installed (and a trivial
AspectJ project in the workspace, eg. one of the samples).
Cheers,
Miles