Spell Checker 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 4 7 10
gcc 0.27 0.45 0.63 0.80
vc 0.22 0.43 0.64 0.84
bcc 0.23 0.46 0.70 0.94
lcc 0.28 0.52 0.74 0.98
ocaml 0.27 0.53 0.81 1.08
mingw32 0.35 0.69 1.03 1.36
lua5 0.57 0.89 1.21 1.52
gawk 0.39 0.80 1.22 1.63
python 0.52 0.95 1.37 1.80
cygperl 0.55 0.98 1.42 1.85
lua 0.54 1.03 1.53 2.04
awka 0.49 1.05 1.62 2.16
ocamlb 0.50 1.09 1.67 2.26
mawk 0.43 1.05 1.67 2.28
java 1.45 1.96 2.44 2.94
nice 1.53 2.03 2.54 3.05
pike 0.86 1.75 2.64 3.54
mercury 1.21 1.98 2.78 3.56
gforth 1.36 2.15 2.94 3.75
icon 0.78 1.95 3.12 4.30
ici 1.06 2.59 4.19 5.72
slang 1.20 2.83 4.47 6.12
perl 1.61 3.44 5.28 7.12
php 1.52 3.65 5.81 7.99
ghc 3.14 5.05 6.97 8.89
tcl 1.43 4.00 6.55 9.11
guile 2.48 6.09 9.60 13.02
ruby 7.14 18.33 29.38 40.66
poplisp T T T T
se F F F F
smlnj F F F F
erlang T T T T
Measurement of Memory as N varies
  N
Test Source 1 4 7 10
gcc 2920 2920 2920 2920
vc 2852 2852 2852 2852
bcc 1996 1996 1996 1996
lcc 2408 2408 2408 2408
ocaml 2196 2196 2196 2196
mingw32 2536 2536 2536 2536
lua5 5992 5992 5992 5992
gawk 3960 3960 3960 3960
python 5308 5308 5308 5308
cygperl 5444 5444 5444 5444
lua 6268 6268 6268 6268
awka 5584 5584 5584 5584
ocamlb 380 380 380 380
mawk 3812 3812 3812 3812
java 9584 9584 9584 9584
nice 9756 9760 9760 9760
pike 6884 6888 6888 6888
mercury 3808 3808 3808 3808
gforth 2696 2696 2696 2696
icon 2780 2780 2780 2780
ici 4476 4476 4476 4476
slang 4040 4040 4040 4040
perl 5516 5516 5516 5516
php 7704 7712 7720 7720
ghc 14924 14924 14924 14924
tcl 6868 6876 6876 6876
guile 4844 4844 4844 4844
ruby 5736 5828 5828 5828
poplisp T T T T
se F F F F
smlnj F F F F
erlang 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.22 2852 49 log
bcc 0.23 1996 49 log
ocaml 0.27 2196 8 log
gcc 0.27 2920 49 log
lcc 0.28 2408 50 log
mingw32 0.35 2536 49 log
gawk 0.39 3960 11 log
mawk 0.43 3812 11 log
awka 0.49 5584 11 log
ocamlb 0.50 380 8 log
python 0.52 5308 12 log
lua 0.54 6268 13 log
cygperl 0.55 5444 13 log
lua5 0.57 5992 7 log
icon 0.78 2780 18 log
pike 0.86 6884 7 log
ici 1.06 4476 8 log
slang 1.20 4040 16 log
mercury 1.21 3808 54 log
gforth 1.36 2696 24 log
tcl 1.43 6868 14 log
java 1.45 9584 30 log
php 1.52 7704 14 log
nice 1.53 9756 0 log
perl 1.61 5516 13 log
guile 2.48 4844 17 log
ghc 3.14 14924 7 log
ruby 7.14 5736 12 log
smlnj F F 38 log
erlang T T 41 log
se F F 36 log
poplisp T T 12 log


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