Graphic speed comparison between webLets and desktop stacks
BNig
niggemann at uni-wh.de
Thu Sep 10 15:53:30 EDT 2009
Jim,
one funny thing I noticed on the mac: if in your repeat loop you set the
wait to 0 millisecs on the slider the time goes down from 1500 millisecs to
630 millisecs, you can replace the wait with a "unlock screen" and you have
again around 630 millisecs. As soon as you wait even 1 millisecond you go up
to 1500 again. So there is more going on on the Mac then meets the eye.
By contrast I did not manage to speed up the send in time handler, maybe
someone has an idea.
regards
Bernd
James Hurley wrote:
>
>>
>> Message: 10
>> Date: Wed, 9 Sep 2009 14:54:01 -0700 (PDT)
>> From: SparkOut <SparkOutYNY at gmail.com>
>> Subject: Re: Graphic speed comparison between webLets and desktop
>> stacks
>> To: use-revolution at lists.runrev.com
>> Message-ID: <25373791.post at talk.nabble.com>
>> Content-Type: text/plain; charset=us-ascii
>>
>> James Hurley wrote:
>>>
>>> On the Mac there has been a longstanding problem in using repeat
>>> loops
>>> to control the movement of screen objects. It is necessary to
>>> insert a
>>> forced screen refresh every time through the loop on the desktop.
>>> That
>>> problem goes away on the Web. A screen refresh is no longer needed.
>>>
>>> The stack I wrote is very busy, lots of factors to vary in order to
>>> compare all the possibilities. If you have the courage you can
>>> compare these things for yourself on the desktop using the stack:
>>>
>>> go url "http://jamesphurley.on-rev.com/OnRevGraphicTimer.rev"
>>>
>>> And on the Web, go to
>>>
>>> http://jamesphurley.on-rev.com/OnRevTimer/test.html
>>>
>>> The stack is a little busy. Jim Hurley
>>>
>>> (P.S. On the third card of the stack above I added is a simulation of
>>> planetary motion. The speed is fine on the desktop and the motion is
>>> very smooth, but it is WAY too speedy on the Web. I didn't include
>>> any accommodation for the speed change on the Web. A good example of
>>> the need to do so.
>>>
>>>
>> For comparison, I tried some examples on Windows (XP, Rev Enterprise
>> 4.0-dp-4, Internet Explorer 8) and got identical* results on the
>> desktop
>> stack as with the revlet.
>> *OK, I got the range 727, 728 or 729 milliseconds consistently when
>> choosing
>> 90 points in the circle and 7 milliseconds on the delay slider.
>> --
>> And I meant to say, the blue planet spinning round the sun was high
>> speed to
>> the point of stroboscopic inability to see where it was at any given
>> point -
>> both on the web revlet and the desktop stack.
>> --
>
>
> SparkOut,
>
> Thanks for the feedback. I knew that the Rev took a hit on the Mac in
> these kinds of applications, but I didn't realize it was this bad.
>
> That make the PC roughly twice as fast as the Mac. Makes it difficult
> to develop cross platform.
>
> Jim Hurley
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
--
View this message in context: http://www.nabble.com/Re%3A-Graphic-speed-comparison-between-webLets-and-desktop-%09stacks-tp25388757p25389915.html
Sent from the Revolution - User mailing list archive at Nabble.com.
More information about the use-livecode
mailing list