[etoys-dev] Fwd: Etoys-To-Go-4.0.2253-beta slow when a viewer is open

Bert Freudenberg bert at freudenbergs.de
Mon Aug 24 16:15:37 EDT 2009

Ah. That did reproduce the problem. I was testing on the bouncing car  
in the cloud project before.

To verify, you can get out a frame rate display from the object catalog.

On my Mac I get the regular 50 fps animating a simple sketch. Opening  
its viewer gets down to 25 fps. Holding the mouse button down on  
Button or the Viewer's title bar indeed gets the rate back up to 50.  
How strange.

I cannot reproduce the same on the car in the cloud project. It slows  
down the same but does not speed up pressing a button.

However, when I paint a new sketch in the clouds project, the odd  
behavior returns - as long as the car script is not ticking.

The higherPerformance preference makes no substantial difference  
except that the 50 fps cap is removed.

- Bert -

On 24.08.2009, at 18:24, Ricardo Moran wrote:

> How strange, I tried it some minutes ago in another machine with  
> Ubuntu 9.04 and it behaves exactly the same. And it is very  
> noticeable if you make a new project, draw a simple sketch, make a  
> script with forward: 5 turn: 5, change the tickRate to 100 and run.  
> Then opening a viewer should slow down the script, and keeping the  
> mouse down on a button should make it go faster.
> On Sun, Aug 23, 2009 at 11:12 PM, K. K. Subramaniam  
> <subbukk at gmail.com> wrote:
> On Sunday 23 Aug 2009 9:26:21 pm Ricardo Moran wrote:
> > I was just testing and I noticed something weird: I have a script  
> running
> > at 100 ticks per second, then I open a viewer and the script slows  
> down,
> > then I click in the viewer title and keep the mouse down and the  
> script
> > starts running faster!
> I didn't see this effect on the Linux (Kubuntu 9.04). You may want  
> to turn on
> dot-style pen trails to capture the behavior.
> Subbu
> _______________________________________________
> etoys-dev mailing list
> etoys-dev at squeakland.org
> http://lists.squeakland.org/mailman/listinfo/etoys-dev

-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: http://luna.immuexa.com/pipermail/etoys-dev/attachments/20090824/18df40b4/attachment-0001.html

More information about the etoys-dev mailing list