Concerning speedtests

Richard Gaskin ambassador at
Fri Dec 5 10:02:50 CST 2003

Wouter wrote:

> 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

What you're testing is a very fast operation.  I found that if I increase
the number of iterations by one order of magnitude the variance drops

 Richard Gaskin 
 Fourth World Media Corporation
 Ambassador at
 Tel: 323-225-3717                       AIM: FourthWorldInc

More information about the use-livecode mailing list