Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-dev] Incremental Compile Numbers with AJDT 1.2.0M2

Sorry I went dark on this issue for a while.

I neglected to mention that the build I was testing against was ADJT
1.2.0M2 (and whatever version of the compiler was attached to that).

I swapped back to 1.2.0M1 and got times of approx. 2.5 seconds for adding
the same comment to the same file. That seems acceptable if less than
ideal.

I just tested the file on 1.2.20050124144759, and got approx 15.5 seconds
for an incremental compile. (Along with an annoying "NullPointerException"
box that seems to have no consequences.)

I can raise this in BZ if that's the appropriate place to track it.

Cheers,
Nick


--- Andrew Clement <CLEMAS@xxxxxxxxxx> wrote:

> Seems slow to me ... but last time I said anything about incremental 
> performance you raised 3 bugs against me :)
> 
> The weaver stress level information in there was the beginnings of a 
> mechanism to help us tell users if they were writing poor pointcuts.
> Similar to your proposal about having metrics on a per aspect
> basis.
> 
> I can't give you a number for what the compile time should be - but
> it should be better than that. (Cue bugzilla report: 'adding a comment
> to a source file should have an incremental compile time of <17s') ...
> 
> cheers,
> Andy.
> 
> 
> 
> 
> Lesiecki Nicholas <ndlesiecki@xxxxxxxxx> 
> Sent by: aspectj-dev-admin@xxxxxxxxxxx
> 28/01/2005 16:24
> Please respond to
> aspectj-dev@xxxxxxxxxxx
> 
> 
> To
> aspectj-dev@xxxxxxxxxxx
> cc
> 
> Subject
> [aspectj-dev] Incremental Compile Numbers with AJDT 1.2.0M2
> 
> 
> 
> 
> 
> 
> I just fired up the AJDT Event Trace (thanks for the suggestion Matt!)
> and
> I got the following numbers for an incremental compile on a file
> (affected
> by 2 or three aspects):
> 
> 9:07:37 AM                Time to first 'compiled:' message: 5281ms
> 9:07:41 AM                Weaver stress level: 
> 9:07:41 AM                Fast fast matching (type level) of #0 types 
> resulting in us
> dismissing 0
> 9:07:41 AM                Fast matching within the remaining #0 types, we
> 
> fast matched on
> #0 shadows and dismissed #0
> 9:07:41 AM                Slow match then attempted on #0 shadows of
> which 
> 0 successful
> 9:07:42 AM                Wiping StructureModelUtil caches
> 9:07:43 AM                build: build time = 10625ms
> 9:07:44 AM                Created AJ model for project Adbase in 766ms
> 
> I tried adding a comment and compiling again:
> 
> 9:22:56 AM                build: Kind=AUTOBUILD Project=Adbase 
> Mode=Incremental AspectJ
> compilation
> 9:22:56 AM                Building Adbase with config
> D:\data\workspace\Adbase\.generated.lst.
>  
>
CLASSPATH=D:\data\workspace\Adbase\eclipseclasses;D:/data/workspace/Adbase/lib/cactus-1.6.1.jar;D:/data/workspace/Adbase/lib/cglib-full-2.0.1.jar;D:/data/workspace/Adbase/build_lib/classes12.jar;D:/data/workspace/Adbase/lib/commons-beanutils.jar;D:/data/workspace/Adbase/lib/commons-collections-3.0.jar;D:/data/workspace/Adbase/lib/commons-digester.jar;D:/data/workspace/Adbase/lib/commons-fileupload-1.0.jar;D:/data/workspace/Adbase/lib/commons-httpclient-2.0.jar;D:/data/workspace/Adbase/lib/commons-lang-2.0.jar;D:/data/workspace/Adbase/lib/commons-logging.jar;D:/data/workspace/Adbase/lib/commons-net-1.2.1.jar;D:/data/workspace/Adbase/lib/commons-pool-1.1.jar;D:/data/workspace/Adbase/lib/commons-validator.jar;D:/data/workspace/Adbase/lib/commons-vfs-1.0-dev.jar;D:/data/workspace/Adbase/lib/dbunit-2.1.jar;D:/data/workspace/Adbase/lib/dom4j-1.4.jar;D:/data/workspace/Adbase/lib/easymock.jar;D:/data/workspace/Adbase/lib/ehcache-0.7.jar;D:/data/workspace/Adbase/lib/hibernate2.jar;D:/
>  data/wor
>
kspace/Adbase/lib/httpunit-1.5.4.jar;D:/data/workspace/Adbase/build_lib/ifxjdbc.jar;D:/data/workspace/Adbase/build_lib/j2ee.jar;D:/data/workspace/Adbase/lib/jakarta-oro-2.0.8.jar;D:/data/workspace/Adbase/lib/jcifs-0.8.0.jar;D:/data/workspace/Adbase/lib/jmock-1.0.1.jar;D:/data/workspace/Adbase/lib/jmock-cglib-1.0.1.jar;D:/data/workspace/Adbase/lib/jsch-20040225.jar;D:/data/workspace/Adbase/lib/junit-3.8.1.jar;D:/data/workspace/Adbase/lib/junit-addons-1.4.jar;D:/data/workspace/Adbase/lib/log4j-1.2.8.jar;D:/data/workspace/Adbase/lib/odmg-3.0.jar;D:/data/workspace/Adbase/lib/poi-2.0-final-20040126.jar;D:/data/workspace/Adbase/lib/struts-el.jar;D:/data/workspace/Adbase/lib/VMSMyLibrary.jar;D:/data/workspace/Adbase/build_lib/weblogic.jar;C:/Documents
> and
>
Settings/nlesiecki/.maven/repository/ant/jars/ant-1.6.jar;C:/j2sdk1.4.2_05/jre/lib/rt.jar;C:/j2sdk1.4.2_05/jre/lib/sunrsasign.jar;C:/j2sdk1.4.2_05/jre/lib/jsse.jar;C:/j2sdk1.4.2_05/jre/lib/jce.jar;C:/j2sdk1.4.2_05/jre/lib/charsets.jar;C:/j2sdk1.4.2_05/jre/lib/ext/dnsns.jar;C:/j2sdk1.4.2_05/jre/lib/ext/ldapsec.jar;C:/j2sdk1.4.2_05/jre/lib/ext/localedata.jar;C:/j2sdk1.4.2_05/jre/lib/ext/sunjce_provider.jar;D:/data/workspace/Adbase/lib/tapestry-contrib-3.0.jar;D:/data/workspace/Adbase/lib/ognl-2.6.5.jar;D:/data/workspace/Adbase/lib/bsf-2.3.0.jar;D:/data/workspace/Adbase/lib/commons-codec-1.2.jar;D:/data/workspace/Adbase/lib/javassist.jar;D:/data/workspace/Adbase/lib/tapestry-3.0-vms-0.1.jar;D:/data/workspace/Adbase/lib/axis-1.2-beta-2.jar;D:/data/workspace/Adbase/lib/saaj-1.1.jar;D:/data/workspace/Adbase/lib/wsdl4j-1.4.jar;D:/data/workspace/Adbase/lib/commons-discovery-0.2.jar;D:/data/workspace/Adbase/build_lib/webservices.jar;D:/data/workspace/Adbase/lib/jaxrpc-api.jar;D:/data/
>  workspac
>
e/Adbase/lib/jaxrpc-impl.jar;D:/data/workspace/Adbase/lib/jaxrpc-spi.jar;D:/data/workspace/Adbase/lib/ldap_utilities.jar;D:/data/workspace/Adbase/lib/ldap.jar;D:/data/workspace/Adbase/lib/velocity-1.4.jar;D:/data/workspace/Adbase/lib/mboxservicetransport-SNAPSHOT.jar;D:/data/workspace/Adbase/lib/spring-20041011.jar;D:/data/workspace/Adbase/lib/spring-core-20041011.jar;D:/data/workspace/Adbase/lib/msbase.jar;D:/data/workspace/Adbase/lib/mssqlserver.jar;D:/data/workspace/Adbase/lib/msutil.jar;D:/data/workspace/Adbase/lib/tapestry-checkboxes-1.1.jar;C:/Documents
> and
>
Settings/nlesiecki/.maven/repository/hibernateext/jars/bsh-2.0b1.jar;C:/Documents
> and
>
Settings/nlesiecki/.maven/repository/hibernateext/jars/forms-1.0.3.jar;C:/Documents
> and
>
Settings/nlesiecki/.maven/repository/hibernateext/jars/hibern8ide-2.1.2.jar;C:/Documents
> and
>
Settings/nlesiecki/.maven/repository/hibernateext/jars/jgraph-20030831.jar;C:/Documents
> and
>
Settings/nlesiecki/.maven/repository/hibernateext/jars/looks-1.1.3.jar;C:/Documents
> and
>
Settings/nlesiecki/.maven/repository/hibernateext/jars/pf-joi-full-2.0.jar;C:/Documents
> and
>
Settings/nlesiecki/.maven/repository/aspectj/jars/aspectjrt-1.2.1.jar;C:/Documents
> and
>
Settings/nlesiecki/.maven/repository/aspectj/jars/aspectjtools-1.2.1.jar;C:/Documents
> and
>
Settings/nlesiecki/.maven/repository/concurrent/jars/concurrent-1.3.4.jar;D:/data/workspace/Adbase/aspectlib/standard-1.0.6.jar;D:/data/workspace/Adbase/aspectlib/struts.jar;C:/Documents
> and
>
Settings/nlesiecki/.maven/repository/jcrontab/jars/jcrontab-1.4.1.jar;C:/Documents
> and
>
Settings/nlesiecki/.maven/repository/vmscommon/jars/vmscommon-SNAPSHOT.jar;C:/Documents
> and 
> Settings/nlesiecki/.maven/repository/vmstest/jars/vmstest-SNAPSHOT.jar;
> 9:23:11 AM                Time to first 'compiled:' message: 14984ms
> 9:23:13 AM                Weaver stress level: 
> 9:23:13 AM                Fast fast matching (type level) of #112 types 
> resulting in us
> dismissing 16
> 9:23:13 AM                Fast matching within the remaining #96 types,
> we 
> fast matched
> on #1056 shadows and dismissed #959
> 9:23:13 AM                Slow match then attempted on #5952 shadows of 
> which 11
> successful
> 9:23:13 AM                Wiping StructureModelUtil caches
> 9:23:13 AM                build: build time = 17406ms
> 9:23:15 AM                Created AJ model for project Adbase in 625ms
> 
> 
> This is for a project with ~750 classes and 70 aspects.
> 
> So, does these (11+/17+ seconds) count as "unusually slow"? Or are these
> numbers expected?
> 
> Performance from an JDT incremental compile on similarly-sized projects
> is
> so fast as to be unnoticeable.
> 
> Cheers,
> Nick
> _______________________________________________
> aspectj-dev mailing list
> aspectj-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/aspectj-dev
> 
> 



Back to the top