[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-users] AJC compiler and eclipse
|
We have around 4100 java fileswich result in 8500 classes.
I only have one aspect that will need to weave in one class but each save
with automatic build on will grind my eclipse to halt.
Jan
From: Wes Isberg <wes@xxxxxxxxxxxxxx>
Reply-To: aspectj-users@xxxxxxxxxxx
To: aspectj-users@xxxxxxxxxxx
Subject: Re: [aspectj-users] AJC compiler and eclipse
Date: Fri, 28 May 2004 02:22:43 -0700
I use a medium-sized java project (1000 files). Weaving about 1000 join
points in the .class files in the eclipse output (bin directory) to an
output jar takes about 15 seconds.
Search the archives and docs for performance tips for writing better code
(e.g., use within(..) to reduce the scope of a pointcut, avoid wildcards
where possible). People often don't realize how much (unnecessary) work
they're asking ajc to do.
That said, Erik, Jim, Adrian, et al are hard at work measuring and
upgrading performance. I'd be very interested to hear if there is any
technology out there doing the same work faster.
Wes
jan casteels wrote:
Ok, we seem to have the same issues.
Is their someone that has experience in setting up eclipse with 2 projects
1. Normal eclipse project
Contains all the normal classes and is the normal project like most
developers are currently using it.
2. Aspect project that contains the aspects but uses the other project for
the classes
Developers can use this project to weave in the aspects.
What I am trying to achieve is to replace some Mock objects with aspects
to ease some of the unittesting
Jan
From: Alan Williamson <alan@xxxxxxxxxxxxx>
Reply-To: aspectj-users@xxxxxxxxxxx
To: aspectj-users@xxxxxxxxxxx
Subject: Re: [aspectj-users] AJC compiler and eclipse
Date: Fri, 28 May 2004 09:38:58 +0100
jan casteels wrote:
How can the performance of the AJC compiler in eclipse be increased?
What is the experience of the people with the incremental compilation?
What is the performance of AJC vs Javac?
I am still getting complaints in eclipse that compiler is saying that is
taking to long and asks me if I want to continue.
I already allocated 512Mb to eclipse
For my own experience, i am running on a Dual 3GHz 1GB desktop. I am
using a handful of aspects, weaving into a JAR file that is 1.8MB.
The speed of Eclipse under these conditions, is dreadful! Back to the
good old days of going to make a coffee every time i hit save on a file.
I have tried increasing memory to eclipse; no difference. The UI
freezes up often and doesn't respond to anything.
If i remove the ASPECT project, then eclipse bursts into life and is fast
and snappy again. I have tried it with both incremental compilation flag
on and off, and no difference. Still dreadful.
I have all the latest builds (3M9 etc) and like i say, if you remove the
ASPECT project, then Eclipse is fast.
I am just putting it down to being an 'early pioneer'. If you want to
work with Aspects then this is the price you have to pay.
:)
--
Alan Williamson, City Planner
w: http://www.BLOG-CITY.com/
b: http://alan.blog-city.com/
e: alan@xxxxxxxxxxxxx
p: http://www.blog-city.com/profiles/9.htm
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/aspectj-users
_________________________________________________________________
MSN Messenger v6.2 al geïnstalleerd ?
http://messenger.msn.be?DI=1032&XAPID=2604&SU=hotmail.be
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/aspectj-users
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/aspectj-users
_________________________________________________________________
Op zoek naar huisje met tuintje? http://www.msn.be/wonen