Subj : PCMS performance (cont.)
To   : All
From : Digital Man
Date : Fri Mar 16 2001 10:51 am

For comparitive purposes, I wrote this little JavaScript program that does
basically the same thing as the Baja code in the last message:

var start = new Date();

var i=0;

while(new Date().valueOf() - start.valueOf()<1000)
       i++;

print(i + " additions and time-of-day operations per second\n");

/****/

I ran this code through Netscape's SpiderMonkey JavaScript engine (jsshell),
which produced the following numbers (rounded averages):

38000 on the same lightly-loaded 700mhz PIII w/WinNT 4.0
3400 on the same lightly-loaded 300mhz PII w/WinME

Interesting, huh?
I've yet to run this script on my Linux machine, but I'm sure to do that
tonight and will let you know...

Rob

---
� Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net