Community
Participate
Working Groups
For some models loading, it is a critical need to dispatch model elements on many XMI resources from a memory usage point of view. In such cases, MoDisco browser resources loading depth need to be set to a convenient value. It would be convenient to have the following evolution - a new extension point which allows to specify a default "MoDisco resources loading depth" for one given metamodel (using EPackage uri). - a checkbox in "Window->preferences->MoDisco Model Browser" for specifying that the global setting "loading depth" should overrides specific metamodel "loading depth" (unchecked by default) - The MoDisco browser takes in account theses informations to decide which level of resources to load at opening.
modisco-nightly took 5 hr 35 min on hudson-slave1: BUCKMINSTER SETPREF took : 6s BUCKMINSTER IMPORT took : 19302s (5 hours and 22 minutes!) BUCKMINSTER RESOLVE took : 76s BUCKMINSTER BUILD took : 74s BUCKMINSTER JUNIT took : 591s BUCKMINSTER PERFORM 'site.p2' took : 85s Whereas the same job took 48 min on master on build.eclipse.org: BUCKMINSTER SETPREF took : 25s BUCKMINSTER IMPORT took : 1213s BUCKMINSTER RESOLVE took : 90s BUCKMINSTER BUILD took : 164s BUCKMINSTER JUNIT took : 1097s BUCKMINSTER PERFORM 'site.p2' took : 234s So, this is definitely the import phase that is slow, as it runs 16 times more slowly on hudson.eclipse.org than on build.eclipse.org. The other major steps in the build are actually *faster* on hudson.eclipse.org.
(In reply to comment #1) Oops, wrong bug!
Done in revision 3021 (extension point "loadingDepth").
It works fine. Thanks.
Bug fixed.