[udig-devel] Re: _slow_ ui performance in Linux with cairo
Jesse Eichar
jeichar at refractions.net
Wed Oct 11 07:15:45 PDT 2006
Hi Sven,
So I looked at the performance at large screen sizes and definiately
see the issue. I will be playing with improving it. I found a
double buffer flag that really helps on the Mac and my re-
architecturing of the system is also going to help a great deal.
What is happening right now is that for every update all the layers
are merged together using a for loop for drawing all the layers.
Then it is converted to SWT then it is drawn on to a Double buffer
for all the animations then finally it is drawn on to the screen. I
intend to streamline that and also not require then entire area to be
draw each time if it is not necessary... But you do know the
mantra. Don't do performance tuning as you go. Ok I'm terrible at
quotes but thats the idea.
Jesse
On 10-Oct-06, at 8:19 AM, Sven Tessmann wrote:
> Jesse Eichar <jeichar at ...> writes:
>>
>>
>> I'm wondering what work you were doing. I found some issues with WMS
>> and geoserver that were really slow. I don't think this has to do
>> with Gabriel's problem but it certainly could be related to Sven's
>> problem since he is on XP. The XP performance has been acceptable in
>> all of my tests and on much slower machines. I'm sure I can make it
>> much faster since there has been minimal performance tuning. Oh I
>> should mention that I have also reduced the number of paints so that
>> makes a huge difference as well. Now that I think about it Sven
>> probably has a large screen and the number of paints where killing
>> the CPU. The next release and especially after I finish the
>> Rendering changes.
>>
>> However Gabriel's problem is completely different. Since the
>> performance compared to windows or Macintosh is MUCH worse on linux
>> even though the same code is running. I'm still trying to learn why
>> that should be.
>>
>> Jesse
>>
>> On 10-Oct-06, at 3:40 AM, Sven Tessmann wrote:
>>
>
> For my tests I used data from the spearfish dataset (e.g.
> cities20.shp that
> contains ~35k points) and WMS data sources (MODIS etc.). However
> you are right
> regarding the screen resolution (mine currently is
> 1600x1200 at 32bit): when I
> resize the window the performance increases, but to be acceptable
> the size has
> to be really small.
>
> I'm looking forward to the rendering changes.
>
> Sven
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.refractions.net/pipermail/udig-devel/attachments/20061011/5efd16e6/attachment-0001.html
More information about the udig-devel
mailing list