List Operations 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

N is the number of times we run a function that tests list operations.


Measurement of CPU as N varies
  N
Test Source 1 4 8 12 16
mingw32 0.01 0.03 0.05 0.08 0.10
lcc 0.01 0.03 0.06 0.09 0.12
gcc 0.03 0.05 0.07 0.10 0.12
vc 0.01 0.03 0.06 0.09 0.12
ocaml 0.01 0.04 0.08 0.11 0.15
bcc 0.02 0.04 0.07 0.11 0.15
csharp 0.12 0.14 0.15 0.16 0.18
smlnj 0.06 0.13 0.23 0.32 0.41
delphi 0.04 0.13 0.26 0.38 0.51
modula2 0.03 0.13 0.26 0.40 0.54
gforth 0.07 0.19 0.33 0.48 0.63
poplisp 0.14 0.32 0.56 0.80 1.04
ici 0.11 0.32 0.60 0.88 1.17
ocamlb 0.11 0.37 0.73 1.08 1.43
cygperl 0.15 0.44 0.83 1.22 1.61
python 0.30 0.63 1.07 1.50 1.94
java 0.60 1.06 1.71 2.32 2.92
perl 0.29 0.90 1.73 2.56 3.35
lua5 0.25 0.94 1.88 2.82 3.76
lua 0.26 1.03 2.04 3.06 4.09
vpascal 0.31 1.22 2.44 3.65 4.88
vbscript 0.48 1.43 2.71 4.01 5.35
slang 0.38 1.38 2.72 4.08 5.42
ruby 0.46 1.57 3.05 4.52 5.99
nice 0.94 1.98 3.51 4.95 6.42
pike 0.58 2.08 4.08 6.03 8.04
tcl 0.57 2.15 4.28 6.41 8.53
rexx 1.79 7.03 14.03 21.13 28.14
pliant 6.86 24.35 47.12 67.52 94.98
rebol F F F F F
mercury 101.19 T T T T
fpascal F F F F F
ghc T T T T T
jscript 228.62 T T T T
vc++ F F F F F
oz 68.48 273.45 T T T
guile 0.36 F F F F
Measurement of Memory as N varies
  N
Test Source 1 4 8 12 16
mingw32 716 716 716 716 716
lcc 720 728 728 728 728
gcc 1744 1744 1744 1744 1744
vc 700 700 700 700 700
ocaml 1008 1400 1652 1652 1652
bcc 804 804 804 804 804
csharp 3656 3932 4400 4872 4960
smlnj 940 940 940 940 940
delphi 1200 1200 1200 1200 1200
modula2 1136 1284 1476 1668 1860
gforth 1800 2744 4000 5248 6504
poplisp 3772 3772 3772 3772 3772
ici 1516 1768 1960 1960 1960
ocamlb 380 380 380 380 380
cygperl 3204 3204 3204 3204 3204
python 2624 2652 2660 2664 2664
java 6160 6788 6792 6888 6888
perl 2196 2196 2196 2196 2196
lua5 2100 2120 2120 2120 2120
lua 3192 4168 4168 4168 4168
vpascal 756 1152 1680 2212 2748
vbscript 2976 2992 2992 2996 2992
slang 2016 2016 2016 2016 2016
ruby 2028 2328 2708 3188 3452
nice 5492 6392 6920 6920 6920
pike 3508 3508 3508 3508 3508
tcl 2240 2244 2276 2276 2276
rexx 4800 4816 4816 4816 4816
pliant 3428 3428 3428 3428 3428
rebol F F F F F
mercury 4976 T T T T
fpascal F F F F F
ghc T T T T T
jscript 5156 T T T T
vc++ F F F F F
oz 652 652 T T T
guile 2944 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
ocaml 0.01 1008 131 log
vc 0.01 700 184 log
lcc 0.01 720 185 log
mingw32 0.01 716 185 log
bcc 0.02 804 184 log
modula2 0.03 1136 0 log
gcc 0.03 1744 185 log
delphi 0.04 1200 41 log
smlnj 0.06 940 213 log
gforth 0.07 1800 73 log
ici 0.11 1516 24 log
ocamlb 0.11 380 131 log
csharp 0.12 3656 172 log
poplisp 0.14 3772 34 log
cygperl 0.15 3204 30 log
lua5 0.25 2100 80 log
lua 0.26 3192 79 log
perl 0.29 2196 30 log
python 0.30 2624 27 log
vpascal 0.31 756 72 log
guile 0.36 2944 31 log
slang 0.38 2016 129 log
ruby 0.46 2028 26 log
vbscript 0.48 2976 41 log
tcl 0.57 2240 50 log
pike 0.58 3508 35 log
java 0.60 6160 45 log
nice 0.94 5492 0 log
rexx 1.79 4800 43 log
pliant 6.86 3428 60 log
oz 68.48 652 48 log
mercury 101.19 4976 30 log
jscript 228.62 5156 32 log
fpascal F F 72 log
ghc T T 16 log
rebol F F 46 log
vc++ F F 32 log


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