-
Revised numbers
From
Digital Man@VERT to
All on Fri Mar 16 15:33:44 2001
These are revised numbers based on fresh testing on nearly-zero loaded systems:ããScript P3-700/WinNT4 P2-300/WinME P1-200/Linux 2.2ã------ ------------- ------------ ----------------ãBaja/PCMS 32,000 1,000 80,000ãJavaScript 38,000 3,200 2,200ãã(again, numbers were averaged and rounded)ããI don't know what's wrong with Netscape's code on Linux, but man, Linux seemsãto like MY code. :-)ããIt would be interesting to see some comparable numbers for VBScript, Tcl, Perl,ãand other major scripting languages. I'm sure Angus is probably already workingãon a Perl module (the proverbial "Pandora's Box"?).ããRobã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
-
From
Amcleod@VERT to
Digital Man on Fri Mar 16 20:18:29 2001
RE: Revised numbersãBY: Digital Man to All on Fri Mar 16 2001 11:33 pmãã > It would be interesting to see some comparable numbers for VBScript, Tcl, Peã > and other major scripting languages. I'm sure Angus is probably already workã > on a Perl module (the proverbial "Pandora's Box"?).ããAlright, alright. I can take a hint!ãã#!/usr/bin/perl -wã# PCMS Bench (only in Perl)ããmy ($i, $t, $start); # int i t startãã$i = 0; # set i 0ã&clock_sync(); # call clock_syncãprintf "Calculating Performance ..."; # printf "Calculating Performance ..."ãwhile (($t = time()) <= $start) {$i++} # :loopã # time tã # compare start tã # if_equalã # add i 1ã # goto loopã # end_ifãã#printf "\r\n%lu addition and get-time-of-day operations per second\r\n" iãprint "\n$i addition and get-time-of-day operations per second\n";ããexit 0; # returnããsub clock_sync() { # :clock_syncã printf "Synchronizing clock ..."; # printf "Synchronizing clock ..."ã $t = time(); # time tã while (($start = time()) == $t) {} # :sync_loopã # time startã # compare start tã # if_equalã # goto sync_loopã # end_ifã print "\n"; # crlfã} # returnããFairly literal translation, possibly a ton of Perlesque optimizations thatãcould be done, but it's too early in the morning for that. On Zaphod (aãlightly loaded Celeron 500)ãã Synchronizing clock ...ã Calculating Performance ...ã 671193 addition and get-time-of-day operations per secondããInteresting to see what the P-III/700 does. Also, Rob, you C-fiend you, whatãdoes it look like in C?ããOh, I ran that several times with results all in the 670,000 to 671,000 range bãut I don't know what averaging and rounding you used. I think it might be anãidea to run the loop over a longer period, say 10 sec or even more, but I don'tãknow how to achieve this without loading the loop with additional calculations.ãmaybe add 10 to $start before the loop begins? But then $start would becomeã$stop.....ã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
-
From
Digital Man@VERT to
Amcleod on Fri Mar 16 21:40:37 2001
RE: Revised numbersãBY: Amcleod to Digital Man on Sat Mar 17 2001 04:18 amãã > Fairly literal translation, possibly a ton of Perlesque optimizations thatã > could be done, but it's too early in the morning for that. On Zaphod (aã > lightly loaded Celeron 500)ã > ã > Synchronizing clock ...ã > Calculating Performance ...ã > 671193 addition and get-time-of-day operations per secondããWow, that's fast. On Linux, I presume?ã ã > Interesting to see what the P-III/700 does. Also, Rob, you C-fiend you, whaã > does it look like in C?ããI'm sure it's a very high number, but my interest was in the comparable speedãof the script interpretter, not the CPU. :-)ã ã > Oh, I ran that several times with results all in the 670,000 to 671,000 rangã > ut I don't know what averaging and rounding you used. I think it might be aã > idea to run the loop over a longer period, say 10 sec or even more, but I doã > know how to achieve this without loading the loop with additional calculatioã > maybe add 10 to $start before the loop begins? But then $start would becomeã > $stop.....ããNothing scientific, I just ran it about 10 times and saw what the averageãappeared to be and rounded to the nearest 100.ããRobã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
-
From
Digital Man@VERT to
Digital Man on Fri Mar 16 21:43:04 2001
RE: Revised numbersãBY: Digital Man to All on Fri Mar 16 2001 11:33 pmãã > These are revised numbers based on fresh testing on nearly-zero loaded systeã > ã > Script P3-700/WinNT4 P2-300/WinME P1-200/Linux 2.2ã > ------ ------------- ------------ ----------------ã > Baja/PCMS 32,000 1,000 80,000ã > JavaScript 38,000 3,200 2,200ããFor some reason with the JavaScript code directly linked to the BBS, I'mãgetting an average of 7700 on the P2-300/WinME machine.ããYes, that's right, JavaScript linked into the BBS. :-)ããRobã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
-
From
Amcleod@VERT to
Digital Man on Sat Mar 17 05:16:59 2001
RE: Revised numbersãBY: Digital Man to Amcleod on Sat Mar 17 2001 05:40 amãã > > Synchronizing clock ...ã > > Calculating Performance ...ã > > 671193 addition and get-time-of-day operations per secondã > ã > Wow, that's fast. On Linux, I presume?ããYep. 2.2.16 with an absolute minimum of patches. And it's Perl, v5.6.0 builtãfor i686-linux.ãã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
-
From
Amcleod@VERT to
Digital Man on Sat Mar 17 05:17:59 2001
RE: Revised numbersãBY: Digital Man to Digital Man on Sat Mar 17 2001 05:43 amãã > Yes, that's right, JavaScript linked into the BBS. :-)ããYou're just ASKING for trouble! :)ã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
-
From
PistolGrip@VERT/WASTELND to
Digital Man on Sat Mar 17 16:09:00 2001
RE: Revised numbersãBY: Digital Man to Digital Man on Sat Mar 17 2001 05:43 amãã > Yes, that's right, JavaScript linked into the BBS. :-)ããUh oh, what are you working on now? :-)ããPGãã---ã þ Synchronet þ WasteLand BBS þ
telnet://wasteland.darktech.org ã
-
From
Digital Man@VERT to
PistolGrip on Sat Mar 17 16:51:18 2001
RE: Revised numbersãBY: PistolGrip to Digital Man on Sun Mar 18 2001 12:09 amãã > > Yes, that's right, JavaScript linked into the BBS. :-)ã > ã > Uh oh, what are you working on now? :-)ããWell... it's on the to-do list. :-)ããRobã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
-
From
PistolGrip@VERT/WASTELND to
Digital Man on Sun Mar 18 03:20:00 2001
RE: Revised numbersãBY: Digital Man to PistolGrip on Sun Mar 18 2001 12:51 amãã > RE: Revised numbersã > BY: PistolGrip to Digital Man on Sun Mar 18 2001 12:09 amã > ã > > > Yes, that's right, JavaScript linked into the BBS. :-)ã > >ã > > Uh oh, what are you working on now? :-)ã > ã > Well... it's on the to-do list. :-)ããHehe, must have missed that one. Sweet.ããPGãã---ã þ Synchronet þ WasteLand BBS þ
telnet://wasteland.darktech.org ã