Word Frequency Count 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 5 10 15 20
vc 0.06 0.18 0.32 F 0.59
bcc 0.07 0.20 0.37 F 0.69
gcc 0.11 0.26 0.45 F 0.84
ocaml 0.12 0.29 0.52 F 0.97
lcc 0.13 0.40 0.75 F 1.45
delphi 0.13 0.44 0.82 F 1.58
mingw32 0.13 0.48 0.92 F 1.80
mawk 0.34 0.76 1.27 F 2.28
pike 0.59 1.06 1.65 F 2.83
lua 0.33 0.91 1.63 F 3.07
lua5 0.35 0.92 1.65 F 3.11
python 0.51 1.06 1.77 F 3.14
java 1.31 1.85 2.54 F 3.92
gforth 0.44 1.29 2.35 F 4.49
slang 0.44 1.30 2.38 F 4.54
icon 0.33 1.29 2.49 F 4.89
gawk 0.62 1.81 3.32 F 6.31
pliant 1.02 2.23 3.74 F 6.75
awka 0.61 2.11 4.00 F 7.74
ocamlb 0.61 2.11 4.00 F 7.74
ici 0.79 2.21 4.05 F 7.75
mercury 0.74 2.85 5.51 F 10.77
tcl 1.13 4.43 8.52 F 16.74
ghc 1.08 5.03 10.09 F 20.17
rexx 4.39 7.76 11.98 F 20.47
ruby 1.86 8.74 17.32 F 34.44
guile 3.57 10.81 19.84 F 37.84
poplisp F F F F F
perl F F F F F
smlnj F F F F F
vbscript 66.00 T T T T
cygperl F F F F F
erlang T T T T T
Measurement of Memory as N varies
  N
Test Source 1 5 10 15 20
vc 1028 1028 1028 F 1028
bcc 1072 1072 1072 F 1072
gcc 1996 1996 1996 F 1996
ocaml 1456 1448 1476 F 1456
lcc 1088 1088 1088 F 1088
delphi 1184 1184 1184 F 1184
mingw32 1096 1096 1096 F 1096
mawk 2064 2064 2064 F 2064
pike 4060 4052 4112 F 4120
lua 1684 1788 1788 F 1788
lua5 1364 1436 1424 F 1440
python 2964 2964 2960 F 2976
java 6328 6316 6316 F 6316
gforth 1620 1620 1620 F 1620
slang 2196 2196 2196 F 2196
icon 1364 1376 1384 F 1376
gawk 2488 2488 2488 F 2488
pliant 3372 3372 3372 F 3372
awka 2108 2108 2108 F 2108
ocamlb 380 380 380 F 380
ici 2588 2616 2604 F 2788
mercury 2684 2636 2624 F 2684
tcl 2516 2592 2616 F 2624
ghc 3276 7872 14520 F 26832
rexx 1784 1784 1784 F 1784
ruby 3388 3584 3584 F 3592
guile 3216 3216 3216 F 3216
poplisp F F F F F
perl F F F F F
smlnj F F F F F
vbscript 10316 T T T T
cygperl F F F F F
erlang T T T T T

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
vc 0.06 1028 44 log
bcc 0.07 1072 45 log
gcc 0.11 1996 44 log
ocaml 0.12 1456 33 log
lcc 0.13 1088 44 log
delphi 0.13 1184 88 log
mingw32 0.13 1096 44 log
lua 0.33 1684 24 log
icon 0.33 1364 27 log
mawk 0.34 2064 18 log
lua5 0.35 1364 23 log
gforth 0.44 1620 83 log
slang 0.44 2196 24 log
python 0.51 2964 24 log
pike 0.59 4060 43 log
ocamlb 0.61 380 33 log
awka 0.61 2108 18 log
gawk 0.62 2488 18 log
mercury 0.74 2684 41 log
ici 0.79 2588 29 log
pliant 1.02 3372 91 log
ghc 1.08 3276 20 log
tcl 1.13 2516 20 log
java 1.31 6328 68 log
ruby 1.86 3388 11 log
guile 3.57 3216 24 log
rexx 4.39 1784 27 log
vbscript 66.00 10316 48 log
smlnj F F 339 log
perl F F 10 log
cygperl F F 10 log
erlang T T 42 log
poplisp F F 69 log


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