Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » GMF Loading time
GMF Loading time [message #793807] Wed, 08 February 2012 15:41 Go to next message
Abbas Mohd is currently offline Abbas MohdFriend
Messages: 31
Registered: February 2012
Member
For large Diagrams >1MB
DiagramCanonicalEditPolicy class refreshOnActivate method is taking large time for opening GMF Diagram.

My Diagram file of size >1MB is taking 45 secs to load,Can some one tell me how to decrease the loading time.

[Updated on: Tue, 14 February 2012 12:16]

Report message to a moderator

Re: GMF Loadng time [message #795366 is a reply to message #793807] Fri, 10 February 2012 11:43 Go to previous messageGo to next message
Michael Golubev is currently offline Michael GolubevFriend
Messages: 383
Registered: July 2009
Senior Member
Hello,

How many elements (nodes/links) are shown at the diagram? How many semantic elements that are NOT shown at the diagram are in the semantic file?

The refreshOnActivate method does 2 distinct things -- it activates all child EditParts and then refreshes the diagram. Which of the parts takes most time?

I am interested in all investigations and would like to encourage everyone to post comments/thoughts on performance here.

Regards,
Michael "Borlander" Golubev
at Montages Think Tank, Prague, Czech Republic
Montages AG, Zürich, Switzerland

[Updated on: Fri, 10 February 2012 11:44]

Report message to a moderator

Re: GMF Loadng time [message #797461 is a reply to message #795366] Mon, 13 February 2012 14:17 Go to previous messageGo to next message
Abbas Mohd is currently offline Abbas MohdFriend
Messages: 31
Registered: February 2012
Member
I have 4500 nodes and same amount of connectors.
In refreshOnActivate method EditParts activate is taking only 1Sec,where as super.refreshOnActivate method which is calling
refreshSemantic method taking about 50 secs for 1MB file.
refreshConnections/createConnections is only taking 20 secs from the above 50 secs.

Re: GMF Loadng time [message #802247 is a reply to message #795366] Sun, 19 February 2012 17:23 Go to previous message
Abbas Mohd is currently offline Abbas MohdFriend
Messages: 31
Registered: February 2012
Member
Any update on this.

[Updated on: Sun, 19 February 2012 17:24]

Report message to a moderator

Previous Topic:links in compartments
Next Topic:Create a ResourceSet of Filesystem
Goto Forum:
  


Current Time: Thu Mar 28 12:22:19 GMT 2024

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

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

Back to the top