Concerning speedtests

Wouter wouter.abraham at pi.be
Fri Dec 5 10:54:26 EST 2003


On 05 Dec 2003, at 16:02, use-revolution-request at lists.runrev.com wrote:

> Message: 8
> Date: Fri, 5 Dec 2003 15:25:25 +0100
> From: Wouter <wouter.abraham at pi.be>
> Subject: Concerning speedtests
> To: use-revolution at lists.runrev.com
> Message-ID: <DDE1222C-272E-11D8-9D09-003065CC999E at pi.be>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
>
> Hi all,
>
> The speedtests that sometimes are proposed are "very" relative.
> Certainly in a preemptive multitasking environment with lots of
> processes running.
> Do a test on the speedtest, repeat a couple of times the following :
>
> on mouseUp
>    put the millisecs into zap1
>    repeat 100000
>      put 1 after x
>    end repeat
>    put the millisecs into zap2
>    repeat 100000
>      put 1 after y
>    end repeat
>    put the millisecs into zap3
>    put zap2 - zap1 && zap3 - zap2
> end mouseUp
>
>
> Greetings,
> WA


A bit less repeat and a bit more comparative speedtesttest :

on mouseUp
   repeat 10
     put the millisecs into zap
     repeat 10000
       put the millisecs into x
     end repeat
     put  the millisecs- zap  after theAnswer
     put  the millisecs into zap
     repeat 10000
       put  the millisecs into x
     end repeat
     put  space & the millisecs - zap & cr after theAnswer
   end repeat
   answer theAnswer
end mouseUp

Greetings,
WA



More information about the use-livecode mailing list