Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » Performance
Performance [message #1062680] Mon, 10 June 2013 11:05 Go to next message
samar sousou is currently offline samar sousouFriend
Messages: 63
Registered: March 2013
Member
Hi,
I need your help,
When the number of input element increases, the execution time increases also.
And can takes more than an hour.

So how can I decrease this execution time.


I'm waiting for your idea and solution,

thank you,
Samar.
Re: Performance [message #1062765 is a reply to message #1062680] Mon, 10 June 2013 16:16 Go to previous message
Hugo Bruneliere is currently offline Hugo BruneliereFriend
Messages: 674
Registered: July 2009
Senior Member
Hello,

A good way to improve performance is to remove as much as possible the calls to the "allInstances" operation if there are some (they can often be replaced by specific navigation inside the input model).
Also, you have to double-check the complexity of your OCL expressions: e.g. doing an appropriate use of the "select" operation can save quite a lot of time.

However, depending on the elements actually handled by the transformation, it could be normal that the execution time (reasonably) increases when augmenting the size of the input models.


--------------------------------------------------------
Hugo Bruneliere, PhD
NaoMod team (IMT Atlantique & LS2N-CNRS)
Nantes - France
--------------------------------------------------------
Previous Topic:ArrayIndexOutOfBoundsException with ->at(1) although size is 2
Next Topic:helper attribute
Goto Forum:
  


Current Time: Fri Apr 26 21:38:07 GMT 2024

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

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

Back to the top