Skip to main content

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.

Jump to: navigation, search

Difference between revisions of "MoDisco/Components/Java/Composition/Architecture"

Line 1: Line 1:
{{MoDiscoTabs|Java/Composition|
+
{{MoDiscoTabs|Java/Composition|{{MoDiscoTab|Java/Composition|Documentation|0.9}}{{MoDiscoTab|Java/Composition|Architecture|}}}}
{{MoDiscoTab|Java/Composition|Documentation|0.9}}{{MoDiscoTab|Java/Composition|Architecture|}}
+
}}
+
  
  
Line 46: Line 44:
 
[[Image:Javakdmbenchmark2b.JPG|center]]
 
[[Image:Javakdmbenchmark2b.JPG|center]]
  
 +
{{MoDisco}}
 
[[Category:MoDisco]]
 
[[Category:MoDisco]]

Revision as of 11:59, 9 March 2011

MoDisco
Website
Download
Community
Mailing ListForums
Bugzilla
Open
Help Wanted
Bug Day
Contribute
Browse SourceProject Set File


Benchmark 1 : dispatching elements in xmi resources

Java Composition Model, weaving KDM Model Source and Java Model, can easily become a big model, in terms of XMI size as well as number of model elements.

First implementation resulted in a single XMI file containing all the weaving elements between both models.

Second implementation results in a root XMI file, referencing other xmi fragment


Splitting was done following this repartition :

  • First resource contains the JavaApplication itself
  • Second resource contains all Java2Directory
  • One resource per package/directory


This splitting enable the browser to perform lazy loading when browsing a composite model in the MoDisco Model Browser It has been decided to split after realizing a benchmark on the memory consumption of the MoDisco model browser.

Three levels of resource

Memory usage

This figure shows the memory used by the MoDisco Model Browser on several xmi resources obtained with the Java Composition Discoverer. The gain of memory thanks to the lazy loading is significant.

MoDiscoOpeningBrowserCompositeBenchmark.png

Saving time

To decide which spliting solution to choose, we made another benchmark on the time spent on serializing the resource on the hard drive. Moreover, serializing plenty of files (one xmi for each java classes) creates a lot of hard drive access resulting in some delay while browsing

MoDiscoSavingCompositeBenchmark.png


Benchmark 2 : MinimalEObject vs EObject

Measures in Browser opening figure have been done with -1 as "Resource Loading Depth" setting, for initial complete xmi resources loading in MoDisco Browser.

Javakdmbenchmark2d.JPG
Javakdmbenchmark2c.JPG
Javakdmbenchmark2.JPG
Javakdmbenchmark2b.JPG


MoDisco
Components Infrastructure: KDM · SMM · GASTM · Model Browser · Discovery Manager · MoDisco Workflow · Query Manager · Facet Manager · Metrics Visualization Builder · KDM Source Extension
Technologies: Java · JEE · EjbJar · WebApp · XML
Use Cases: Simple Transformation Chain · Model Filter
Help Installation · SVN
Project API Policy · Retention Policy · Project Plan · metrics · Accessibility Guidelines · Capabilities Disablement

Back to the top