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
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,
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: 667
Registered: July 2009
Senior Member

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: Sun Jun 24 11:28:36 GMT 2018

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

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

Back to the top