Bug 331887 - Model serialization performance improvement
Summary: Model serialization performance improvement
Status: NEW
Alias: None
Product: MMT.ATL
Classification: Modeling
Component: emfvm (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: mmt-atl.toolkit-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-06 05:57 EST by Guillaume Doux CLA
Modified: 2010-12-06 05:57 EST (History)
0 users

See Also:


Attachments
Patch solving the problem -- need to be check with profiled uml models (1.17 KB, patch)
2010-12-06 05:57 EST, Guillaume Doux CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume Doux CLA 2010-12-06 05:57:30 EST
Created attachment 184580 [details]
Patch solving the problem -- need to be check with profiled uml models

Hello,

I was having a problem when I wanted to execute a transformation on a model of 25mb, it was taking more than 30 minutes to execute the full transformation process (transformation execution + model serialization). 
The transformation execution part was taking less than 10 seconds and the other part around 30 minutes.

This performance issue was due to the commitToResource method in the EMFModel class. 
A patch solving this issue is attached but it is needed to check if this workaround works with profiled UML models, because the model elements to keep are remove from the resource then re-add to it.

Regards,

Guillaume Doux