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"?).
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, wha does it look like in C?
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.....
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
Synchronizing clock ...
Calculating Performance ...
671193 addition and get-time-of-day operations per second
Wow, that's fast. On Linux, I presume?
Yes, that's right, JavaScript linked into the BBS. :-)
Yes, that's right, JavaScript linked into the BBS. :-)
Yes, that's right, JavaScript linked into the BBS. :-)
Uh oh, what are you working on now? :-)
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. :-)
Sysop: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,039 |
Nodes: | 16 (0 / 16) |
Uptime: | 15:20:40 |
Calls: | 500,926 |
Calls today: | 3 |
Files: | 109,372 |
D/L today: |
2,893 files (490M bytes) |
Messages: | 305,290 |