georgio
03-17-2006, 02:21 PM
Hi,
I have a view (in a window) that draws my XML data in a pretty manner. Unfortunately, when I make the window large - say 1000x1000 pixels, the rendering speed becomes awefully slow ~ 1 frame per sec. My machine is no slouch - Athlon 64 3800+ on Linux with accelerated X driver.
When I move the window around, my CPU usage hits 100%. I get the same results on a Windows machine. Also have very good performance in the Laszlo demos.
I figure there's something that I'm doing wrong in my code, but I can't figure it out. Do constraints cause every variable to be re-calculated on every re-draw? Should I use constraints with caution? What else could cause views that are drawing datasets to run very slowly.
Many thanks,
Nick
I have a view (in a window) that draws my XML data in a pretty manner. Unfortunately, when I make the window large - say 1000x1000 pixels, the rendering speed becomes awefully slow ~ 1 frame per sec. My machine is no slouch - Athlon 64 3800+ on Linux with accelerated X driver.
When I move the window around, my CPU usage hits 100%. I get the same results on a Windows machine. Also have very good performance in the Laszlo demos.
I figure there's something that I'm doing wrong in my code, but I can't figure it out. Do constraints cause every variable to be re-calculated on every re-draw? Should I use constraints with caution? What else could cause views that are drawing datasets to run very slowly.
Many thanks,
Nick