Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 21:09 Go to next message
Aurélien Pupier is currently offline Aurélien PupierFriend
Messages: 637
Registered: July 2009
Location: Grenoble, FRANCE
Senior Member

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


Aurélien Pupier - Red Hat
Senior Software Engineer in Fuse Tooling team
Re: Increase speed of first open diagram in a fresh workspace [message #491608 is a reply to message #490510] Thu, 15 October 2009 09:00 Go to previous message
Ravi  is currently offline Ravi Friend
Messages: 27
Registered: July 2009
Junior Member
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: Thu Apr 25 17:03:23 GMT 2024

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

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

Back to the top