Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Increase speed of first open diagram in a fresh workspace
Increase speed of first open diagram in a fresh workspace [message #490510] Thu, 08 October 2009 17:09 Go to next message
Eclipse UserFriend
Hi,

I notice that the first time that a diagram is open in my gmf diagram editor in a new workspace, the UI freeze some seconds.

How can I increase the speed of the first open in a fresh workspace?

I tried to force all gmf and emf plugin to be in ACTIVE state instead of let them in <<LAZY>> mode but it seems to have no really effect.

I noticed that some files and folders are created in <workspace>/.metadata and others in <path_to_eclipse_application>/configuration. Are they responsible for increase the rapidity on the second open and for other open after restart on the same workspace?
Is it possible to create them at first start of the eclipse platform (even if it will slow it)?
later when we are in a wizard that will open it?
Provides a default configuration for the application in the packaging?

I also posted in gmf group. I don't know if it is specific to gmf diagram or more general to all eclipse plugins.

Thanks by advance for any hint.

Aurelien Pupier
Re: Increase speed of first open diagram in a fresh workspace [message #491608 is a reply to message #490510] Thu, 15 October 2009 05:00 Go to previous message
Eclipse UserFriend
I guess the time taken to load the editor very first time depends on class loading time, not the bundle activator itself but the required classes that needs to be loaded for the editor to function normally. Even the normal text editor takes time. Try to see if you can open the editor without displaying to the user. If you can, you should be able to improve performance. Also, you could try profiling your application and see which portion is taking the majority time.

--
Ravi
Previous Topic:API to find whether user has chosen to delete contents while deleting the project
Next Topic:[p2] API and development
Goto Forum:
  


Current Time: Mon Jul 07 20:40:21 EDT 2025

Powered by FUDForum. Page generated in 0.03326 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top