• Revised numbers

    From Digital Man@VERT to All on Fri Mar 16 16: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 telnet://vert.synchro.net
  • From Amcleod@VERT to Digital Man on Fri Mar 16 21: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 telnet://vert.synchro.net
  • From Digital Man@VERT to Amcleod on Fri Mar 16 22: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 telnet://vert.synchro.net
  • From Digital Man@VERT to Digital Man on Fri Mar 16 22: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 telnet://vert.synchro.net
  • From Amcleod@VERT to Digital Man on Sat Mar 17 06: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 telnet://vert.synchro.net
  • From Amcleod@VERT to Digital Man on Sat Mar 17 06: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 telnet://vert.synchro.net
  • From PistolGrip@VERT to Digital Man on Sat Mar 17 17: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 17: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 telnet://vert.synchro.net
  • From PistolGrip@VERT to Digital Man on Sun Mar 18 04: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