Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » Performance
Performance [message #1062680] Mon, 10 June 2013 07:05 Go to next message
samar sousou is currently offline samar sousou
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 12:16 Go to previous message
Hugo Bruneliere is currently offline Hugo Bruneliere
Messages: 600
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 - R&D Engineer
AtlanMod research team (Inria, EMN & LINA)
Ecole des Mines de Nantes
Nantes - France
------------------------------------------
Previous Topic:ArrayIndexOutOfBoundsException with ->at(1) although size is 2
Next Topic:helper attribute
Goto Forum:
  


Current Time: Tue Jul 29 10:47:38 EDT 2014

Powered by FUDForum. Page generated in 0.06456 seconds