Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "M2M/Benchmarks/RSM2TPC"
< M2M | Benchmarks
(→RSM to TOPCASED transformation) |
(→RSM to TOPCASED transformation) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
To get more information about this topic, a full presentation can be found here : [http://www.eclipse.org/m2m/atl/usecases/RSM2Topcased/]. | To get more information about this topic, a full presentation can be found here : [http://www.eclipse.org/m2m/atl/usecases/RSM2Topcased/]. | ||
+ | |||
Currently only the '''class diagrams''' and '''usecase diagrams''' are processed in this version. | Currently only the '''class diagrams''' and '''usecase diagrams''' are processed in this version. | ||
− | * | + | *name of the input metamodel : RSM.ecore |
− | * | + | *name of the output metamodel : Topcased.ecore |
− | * | + | *name of the input model : Topcased.rsm - size : ~6 Mb |
− | * | + | *name of the output model : Topcased.umldi - size : ~900Kb |
− | + | == Benchmark environment == | |
− | + | ||
'''Hardware''' | '''Hardware''' | ||
Line 30: | Line 30: | ||
* Eclipse 3.3 Europa | * Eclipse 3.3 Europa | ||
* ATL 2.0 | * ATL 2.0 | ||
+ | |||
+ | == Changes between V0 (original) et V1 (optimized) == | ||
+ | * use of inheritance rules when it is possible. | ||
+ | * use the method refImmediateComposite() to find parent element (avoid to use custom code to browse the model) | ||
+ | * declare constants using attribute helpers. | ||
+ | * replace method helpers without parameters by attribute helpers. |
Latest revision as of 13:22, 13 December 2007
RSM to TOPCASED transformation
This transformation is an extract of a Topcased import process that allows to transform RSM diagrams in a the Topcased formalism. Normally, this process is done in three distinct parts which are :
- a preprocessing step done in Java
- an ATL transformation
- a postprocessing step done in Java
Here only the second part is presented and isolated to be tested for the ATL benchmark.
To get more information about this topic, a full presentation can be found here : [1].
Currently only the class diagrams and usecase diagrams are processed in this version.
- name of the input metamodel : RSM.ecore
- name of the output metamodel : Topcased.ecore
- name of the input model : Topcased.rsm - size : ~6 Mb
- name of the output model : Topcased.umldi - size : ~900Kb
Benchmark environment
Hardware
- Processor : Pentium IV 2.80 GHz
- RAM : 1024Mo
Software
- Operating system : Linux Mandriva
- JVM : JRE 1.5
- Eclipse 3.3 Europa
- ATL 2.0
Changes between V0 (original) et V1 (optimized)
- use of inheritance rules when it is possible.
- use the method refImmediateComposite() to find parent element (avoid to use custom code to browse the model)
- declare constants using attribute helpers.
- replace method helpers without parameters by attribute helpers.