Skip to main content
Jump to: navigation, search

M2M/Benchmarks/RSM2TPC

< M2M‎ | Benchmarks
Revision as of 13:22, 13 December 2007 by Sebastien.gabel.c-s.fr (Talk | contribs) (RSM to TOPCASED transformation)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

Back to the top