GEF & Draw2D on Linux/GTK [message #170837] |
Mon, 07 March 2005 23:03 |
Mark Powell Messages: 14 Registered: July 2009 |
Junior Member |
|
|
Anyone developing a GEF-based or Draw2D-based application on Linux/GTK?
I am, and the performance on Windows is much, much better than on Linux.
I've noticed when working with ImageFigures in a ScrollPane, for example.
I'm in the process of writing up a self-contained example to reproduce what
I'm
talking about somewhat ambiguously, but in the meantime I just wanted to see
how
many of you who frequent the newsgroups are on this platform and what your
experience
has been like.
Thanks,
Mark Powell
--
(My correspondence does not reflect the opinions of the Jet Propulsion
Laboratory, NASA, or Caltech, etc., etc.)
|
|
|
Re: GEF & Draw2D on Linux/GTK [message #170862 is a reply to message #170837] |
Tue, 08 March 2005 03:52 |
Pratik Shah Messages: 1077 Registered: July 2009 |
Senior Member |
|
|
Performance in what regards? I'm assuming you're comparing equivalent
set-ups here (in terms of processing power, ram, resource, etc.).
I don't think we're doing anything OS-specific in this case. So, if you're
noticing a difference, it's most likely because of something in SWT. Check
to see if you can reproduce the problem with an SWT-only snippet.
"Mark Powell" <Mark.Powell@jpl.nasa.gov> wrote in message
news:d0imku$s7t$1@www.eclipse.org...
> Anyone developing a GEF-based or Draw2D-based application on Linux/GTK?
> I am, and the performance on Windows is much, much better than on Linux.
> I've noticed when working with ImageFigures in a ScrollPane, for example.
>
> I'm in the process of writing up a self-contained example to reproduce
> what I'm
> talking about somewhat ambiguously, but in the meantime I just wanted to
> see how
> many of you who frequent the newsgroups are on this platform and what your
> experience
> has been like.
>
> Thanks,
> Mark Powell
>
> --
> (My correspondence does not reflect the opinions of the Jet Propulsion
> Laboratory, NASA, or Caltech, etc., etc.)
>
|
|
|
|
Re: GEF & Draw2D on Linux/GTK [message #171074 is a reply to message #170862] |
Wed, 09 March 2005 01:23 |
Mark Powell Messages: 14 Registered: July 2009 |
Junior Member |
|
|
"Pratik Shah" <ppshah@us.ibm.com> wrote in message
news:d0j7ej$1vk$1@www.eclipse.org...
> Performance in what regards? I'm assuming you're comparing equivalent
> set-ups here (in terms of processing power, ram, resource, etc.).
It appears (on the surface at least) to be image rendering performance that
is far different between Windows and Linux/GTK. The time it takes to render
a newly-exposed area in a ScrollPane filled with ImageFigures is noticeably
slower when running on GTK. The time it takes to render an newly-exposed
ImageFigure when using the GC.drawImage(sourceRect, destRect) where
sourceRect != destRect (i.e. it has the rescale the image before rendering)
is _way_ slower. On the surface at least, it looks like these issues have
more to do with SWT and probably even more with GTK than anything that is
attributable to Draw2D.
I will code up standalone snippet to reproduce this behavior and file the
code with Bugzilla issues for use in performance profiling and enhancement.
The comparison tests I have done so far are with a 2.1 Ghz Windows laptop
with 1GB of RAM versus a dual 2.0 Ghz Linux/GTK workstation with 2GB of RAM.
More powerful computer running Linux, worse performance than Windows.
>
> I don't think we're doing anything OS-specific in this case. So, if
> you're noticing a difference, it's most likely because of something in
> SWT. Check to see if you can reproduce the problem with an SWT-only
> snippet.
I am certain you are right about that, having looked at the source (yay,
open source!). Nothing OS-specific going on here in Draw2D. I'll raise my
points with the SWT team developers who are currently focusing on GTK
optimization and write snippets for them that they can use.
Mark
|
|
|
|
Powered by
FUDForum. Page generated in 0.02132 seconds