[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-dev] Slow if() compilation -- bug?
|
I tested it with AspectJ 1.2.1 and AspectJ 1.5M2 -- 1.5M2 is a little
bit faster than 1.2.1, but the problem with the exploding compile time
remains.
I raise it as a bug.
Regards,
Simon
Andrew Clement wrote:
I'm not aware of a bug in this area? What version of AspectJ/AJDT are
you using?
I think you should raise it against AJ as a bug.
thanks,
Andy.
--
Andy Clement
AspectJ Committer
*Simon Heinzle <simon.heinzle@xxxxxxxxxx>*
Sent by: aspectj-dev-bounces@xxxxxxxxxxx
09/05/2005 09:04
Please respond to
AspectJ developer discussions <aspectj-dev@xxxxxxxxxxx>
To
aspectj-dev@xxxxxxxxxxx
cc
Subject
[aspectj-dev] Slow if() compilation -- bug?
Hi there,
there must be some "bug" in compiling the if - Statements in the
Pointcut declarations. For example:
pointcut Pc2() :
(execution(* Test.a(..)) && if (sl.isEnabled()))
|| (execution(* Test.b(..)) && if (sl.isEnabled()));
Is compiled very quickly, in about one second. Up to 7 such conditions , eg.
pointcut Pc7() :
(execution(* Test.a(..)) && if (sl.isEnabled()))
|| (execution(* Test.b(..)) && if (sl.isEnabled()))
|| (execution(* Test.c(..)) && if (sl.isEnabled()))
|| (execution(* Test.d(..)) && if (sl.isEnabled()))
|| (execution(* Test.e(..)) && if (sl.isEnabled()))
|| (execution(* Test.f(..)) && if (sl.isEnabled()))
|| (execution(* Test.g(..)) && if (sl.isEnabled()));
are also compiled quite quickly (~ 3 seconds).
Now, adding another condition (8 lines) causes 10 seconds compile time.
Adding yet another condition line (= 9 ex. lines) causes 1 min and 30
seconds compile time!
(I just tried with 13 such condition lines, but aborted compilation
after 10 minutes)
Shall I submit this to bugzilla? Or are you already aware of this problem?
Regards,
Simon
_______________________________________________
aspectj-dev mailing list
aspectj-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-dev
------------------------------------------------------------------------
_______________________________________________
aspectj-dev mailing list
aspectj-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-dev
--
AdNovum Informatik AG
Simon Heinzle
Praktikant
Roentgenstrasse 22, CH-8005 Zuerich
mailto:simon.heinzle@xxxxxxxxxx
phone: +41 44 272 6111, fax: +41 44 272 6312
http://www.adnovum.ch
AdNovum Offices: Bern, Budapest, San Mateo, Zuerich (HQ)