comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Object graphics under Linux: are they supposed to be that slow?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Object graphics under Linux: are they supposed to be that slow? [message #29076 is a reply to message #29066] Thu, 31 January 2002 18:16 Go to previous messageGo to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
In the posting that started this thread, I said that IDL was *much*
slower (~ a factor of 10) in an object-graphics animation application
under Linux than under Windows. The various benchmarks presented since
then suggest that IDL for Linux *is* slower at object graphics on this
machine, but not by a factor of 10. So the original result was a
mystery.

Well I've solved it. It was caused by setting the window's RETAIN
property to 2 (system provides backing store). Here are some numbers
(where "-" means this property doesn't affect performance):


OS RENDERER RETAIN Time per frame

Windows 0 - 0.035 s
Windows 1 - 0.043 s

Linux - 1 0.052 s
Linux - 2 0.330 s

BTW the animation is part of my "Motley" library at

http://katipo.niwa.cri.nz/~hadfield/gust/software/idl/

The animation itself is in mgh_example_animate.pro, or you can get
almost the same thing with the command

mgh_new, 'mgh_surface_movie', /EXAMPLE

Anyone wants to try it out is welcome. But I'd be the first to admit
this library is a bit...shall we say...bloatish. (Though not as bad as
Microsoft Office or KDE.) I'd certainly be interested in any bug
reports.

---
Mark Hadfield
m.hadfield@niwa.co.nz http://katipo.niwa.co.nz/~hadfield
National Institute for Water and Atmospheric Research
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: AMD CPU - (pentium way faster)
Next Topic: Arithmetic error from NR_MACHAR()

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 16:04:19 PDT 2025

Total time taken to generate the page: 1.84268 seconds