Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Perforrmance and translateXXXX methods
Perforrmance and translateXXXX methods [message #223732] Wed, 04 October 2006 17:10 Go to next message
Li Ding is currently offline Li DingFriend
Messages: 29
Registered: July 2009
Junior Member
Hi All,

When opening a diagram with about 50 nodes and 700 lines, my GMF and GEF
based graphical editor took about 20 seconds. The execution profiling data
shows the top three time spending methods are Figure's
translateToAbsolute(), translateToRelative() and translateToParent().
I am wondering how to cut down this. Is it something to do with
coordinate system ? Any help will be appreciated.

Li
Re: Perforrmance and translateXXXX methods [message #223904 is a reply to message #223732] Sat, 07 October 2006 14:45 Go to previous message
Eclipse UserFriend
Originally posted by: none.ibm.com

These methods are no-ops by default. So they must be overridden and calling
some other method that is taking all the time. Do you have more info? What
about invocation count? Even a really fast method takes a lot of time if you
call it millions of times.

"Li Ding" <lding@ca.ibm.com> wrote in message
news:a4c1ded601a3a776074b41687ba0044d$1@www.eclipse.org...
> Hi All,
>
> When opening a diagram with about 50 nodes and 700 lines, my GMF and GEF
> based graphical editor took about 20 seconds. The execution profiling data
> shows the top three time spending methods are Figure's
> translateToAbsolute(), translateToRelative() and translateToParent(). I am
> wondering how to cut down this. Is it something to do with coordinate
> system ? Any help will be appreciated.
>
> Li
Previous Topic:EMF property source provider in GEF?
Next Topic:just getting started
Goto Forum:
  


Current Time: Thu Apr 25 04:30:28 GMT 2024

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

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

Back to the top