Skip to main content



      Home
Home » Eclipse Projects » GEF » Perforrmance and translateXXXX methods
Perforrmance and translateXXXX methods [message #223732] Wed, 04 October 2006 13:10 Go to next message
Eclipse UserFriend
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 10: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: Wed Jul 23 18:13:15 EDT 2025

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

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

Back to the top