Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » load time weaving and execution time
load time weaving and execution time [message #765198] Tue, 13 December 2011 15:50 Go to next message
moha  is currently offline moha Friend
Messages: 43
Registered: March 2011
Member
Hi,

I want to know how much time spent to weave two bundles,in other word when i use load

time weaving to add some code (for instance code added as advice to an aspect ) to my

initial code i will have the execution time :

t = t(initial code) + t(code added to aspect) + t(weaving) ,

is t(weaving) significant or no ?

How can i reduce t(weaving) ?


Thanks in advance !
Re: load time weaving and execution time [message #765305 is a reply to message #765198] Tue, 13 December 2011 20:09 Go to previous message
Andrew Eisenberg is currently offline Andrew EisenbergFriend
Messages: 369
Registered: July 2009
Senior Member
t(weaving) can be significant, but it only happens once, when the target class is loaded. If you are using Equinox weaving, then there is a bit of caching going on that will store the woven class files and use them if nothing has changed in the configuration. This significantly reduces startup time.
Previous Topic:Using and Building AspectJ with Android App on Eclipse and Ant
Next Topic:RCP templates are not available in selection list
Goto Forum:
  


Current Time: Sat Nov 22 01:59:09 GMT 2014

Powered by FUDForum. Page generated in 0.01586 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software