Statistical Moments Back to the Win32 Shootout
Back to dada's perl lab

[The Original Shootout]   [NEWS]   [FAQ]   [Methodology]   [Platform Details]   [Acknowledgements]   [Scorecard]  

Measurements while N varies

The test parameter N is used as a multiple of the input data size. So if N is 2, the test is fed 2 copies of the input data on standard input.


Measurement of CPU as N varies
  N
Test Source 1 50 100 150
delphi 0.01 0.13 0.24 0.36
bcc 0.01 0.13 0.27 0.38
gcc 0.03 0.16 0.28 0.42
gforth 0.04 0.16 0.30 0.43
vc++ 0.01 0.15 0.31 0.47
vpascal 0.01 0.22 0.45 0.68
gnat 0.01 0.23 0.48 0.70
ocaml 0.01 0.22 0.47 0.72
se 0.01 0.20 0.47 0.80
vc 0.01 0.24 0.56 0.97
mingw32 0.01 0.25 0.58 0.98
csharp 0.11 0.42 0.74 1.08
lcc 0.01 0.28 0.65 1.10
pike 0.25 0.55 0.88 1.21
slang 0.05 0.50 0.97 1.44
lua5 0.01 0.47 0.96 1.45
cygperl 0.05 0.56 1.10 1.63
tcl 0.05 0.55 1.09 1.65
python 0.22 0.73 1.26 1.80
pliant F 0.92 1.33 1.82
java 0.66 1.14 1.55 1.88
nice 0.74 1.20 1.65 2.12
lua 0.02 0.72 1.48 2.29
ocamlb 0.03 0.83 1.71 2.62
guile 0.20 1.30 2.50 3.89
perl 0.05 1.20 2.55 4.00
awka 0.05 1.41 3.03 4.86
ruby 0.12 2.34 4.46 6.34
ghc 0.05 2.06 4.41 6.83
mawk 0.06 2.46 5.46 8.86
ici 0.08 3.96 8.45 12.85
gawk 0.13 7.57 15.98 25.30
rexx 0.10 20.58 80.84 200.25
poplisp F F F F
mercury F F F F
vbscript F F F F
smlnj F F F F
fpascal F F F F
erlang F F F F
Measurement of Memory as N varies
  N
Test Source 1 50 100 150
delphi 1044 1508 1964 2204
bcc 576 928 1380 2020
gcc 1528 1676 1864 2060
gforth 1472 1664 1860 2056
vc++ 528 796 1052 1568
vpascal 584 792 976 1064
gnat 788 1352 1752 2444
ocaml 820 1908 2736 4488
se 576 824 1076 1584
vc 488 780 1044 1568
mingw32 544 796 1056 1580
csharp 3756 4960 5688 7188
lcc 524 796 1056 1580
pike 3800 4336 4940 5524
slang 1860 2292 2788 3276
lua5 644 1192 1708 2748
cygperl 2528 6584 10720 14860
tcl 1512 3324 5176 6852
python 2556 3900 5292 6700
pliant F 3496 3676 3676
java 5716 7004 7764 8064
nice 6036 6868 7640 8476
lua 632 2536 4460 8308
ocamlb 380 380 380 380
guile 2472 3412 4528 5408
perl 1624 6508 11460 16412
awka 1720 4344 7024 9576
ruby 1912 4216 6972 11616
ghc 1820 6700 11240 15916
mawk 1652 3532 5436 7220
ici 1228 2272 3148 3732
gawk 2124 4588 7108 9468
rexx 1204 5036 8880 12728
poplisp F F F F
mercury F F F F
vbscript F F F F
smlnj F F F F
fpascal F F F F
erlang F F F F

The following graph is similar to the graph on the index page, but here, N is much smaller, and startup costs may be more prominent.





[Note: Values have been normalized to fall in the range of 0-10 for aesthetic reasons. Original value ranges are included on the X-axis.
Source Code CPU (sec) Mem (KB) Lines Code Log
delphi 0.01 1044 63 log
lua5 0.01 644 41 log
vc 0.01 488 60 log
vc++ 0.01 528 65 log
mingw32 0.01 544 60 log
bcc 0.01 576 60 log
vpascal 0.01 584 71 log
se 0.01 576 73 log
gnat 0.01 788 0 log
lcc 0.01 524 60 log
ocaml 0.01 820 59 log
lua 0.02 632 43 log
gcc 0.03 1528 60 log
ocamlb 0.03 380 59 log
gforth 0.04 1472 80 log
slang 0.05 1860 46 log
perl 0.05 1624 36 log
ghc 0.05 1820 54 log
tcl 0.05 1512 46 log
awka 0.05 1720 66 log
cygperl 0.05 2528 36 log
mawk 0.06 1652 66 log
ici 0.08 1228 45 log
rexx 0.10 1204 226 log
csharp 0.11 3756 58 log
ruby 0.12 1912 46 log
gawk 0.13 2124 66 log
guile 0.20 2472 46 log
python 0.22 2556 41 log
pike 0.25 3800 49 log
java 0.66 5716 66 log
nice 0.74 6036 0 log
vbscript F F 58 log
smlnj F F 71 log
fpascal F F 71 log
poplisp F F 163 log
pliant F F 85 log
erlang F F 38 log
mercury F F 65 log


Back to the Win32 Shootout
Back to dada's perl lab
Send comments or suggestions to dada@perl.it