[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.m2t] Re: Galileo performance twice as slow?

in my  projects EMF M2M and Generation works fast (faster then 4.3.1)
but esp. UML - M2M is very slow (same as 4.3.1, but 20 minutes for generation is much),
I hoped that M2T-Xpand was faster

perhaps I also run into the performance problem with Java Classes ?

workflow from domain-specific project calls cartridges in another plug-in (workspace) project

I have to do some more performance tests later,
but if it helps to change a workflow component to use the OSGIResourceLoader I could try it out,
but where and how to implement ?

ekke

Jos Warmer schrieb:
Sebastian,

I assume you refer to this piece of code:

CachingResourceLoaderImpl crl = new CachingResourceLoaderImpl(new
OsgiResourceLoader(
       Activator.PLUGIN_ID, // a plugin that has declared the required deps
       MWEPlugin.INSTANCE.getBaseURL(),        RunWorkflows.class.getClassLoader())); // a class from this plugin
ResourceLoaderFactory.setCurrentThreadResourceLoader(crl);

I am not sure where I should put this code.  I tried to put it into an Activator class .  First of all, there is no three-argument constructor for OsgiResourceLoader, so I removed the second argument.

However, it does not seem to work. At least I see no difference in performance.  Can you explain where to put this code?

Jos



--

ekke (ekkehard gentz)
independent software-architect
senior erp-consultant
eclipse | osgi | equinox | mdsd | oaw | emf | uml
max-josefs-platz 30, D-83022 rosenheim, germany
mailto:ekke@xxxxxxxxxxxxxxxx
homepage (de): http://gentz-software.de
blog (en): http://ekkes-corner.org
twitter: @ekkescorner
skype: ekkes-corner
Steuer-Nr: 156/220/30931 FA Rosenheim, UST-ID: DE189929490