No subject

MisterX b.xavier at internet.lu
Tue May 17 10:31:37 EDT 2005


Salut Eric,

i improved a little the script because i saw lots of variations in timings

on mouseUp
  hilite me
  repeat 100 times
  put the milliseconds into tStart
    put InternetConnected() into temp
    put the milliseconds - tStart & comma after tlist
  end repeat
  put average(tlist) , min(tlist), max(tlist), standardDeviation(tlist)
  unhilite me
end mouseUp

function InternetConnected
  return url "http://www.sosmartsoftware.com/Test.txt" = true
end InternetConnected

My results from Luxembourg were
100 loops 161.94,97,394,62.339381 
500 loops 160.1,92,420,56.68372

it's always good to do a statistically meaningful test...
The first try i did got me 686 ms 
The second was 90! Weird i thought...

cheers
Xav

> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com 
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of 
> Eric Chatonet
> Sent: Tuesday, May 17, 2005 16:19
> To: How to use Revolution
> Subject: 
> 
> Hi everyone,
> 
> If you had a couple of minuts, could some of you test the 
> speed of this internet connexion function from different 
> places around the world and tell me the results?
> Just email me off list (address below): I won't to pollute 
> :-) I shall be grateful.
> 
> on mouseUp
>    put the milliseconds into tStart
>    put InternetConnected() into temp
>    put temp && "in" && the milliseconds - tStart && "milliseconds"
> end mouseUp
> 
> function InternetConnected
>    return url "http://www.sosmartsoftware.com/Test.txt" = 
> true end InternetConnected
> 
> Speed appears variable at each call (here from 30 to  more than 200
> milliseconds)
> but it's reliable and speedy enough for me ;-)
> 
> Best regards from Paris,
> 
> Eric Chatonet.
> ----------------------------------------------------------------
> So Smart Software
> 
> For institutions, companies and associations Built-to-order 
> applications: management, multimedia, internet, etc.
> Windows, Mac OS and Linux... With the French touch
> 
> Plugins, tutorials and more on our website
> ----------------------------------------------------------------
> Web site        http://www.sosmartsoftware.com/
> Email        eric.chatonet at sosmartsoftware.com/
> Phone        33 (0)1 43 31 77 62
> Mobile        33 (0)6 20 74 50 86
> ----------------------------------------------------------------
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 



More information about the use-livecode mailing list