Method Calls 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 method calls.


Measurement of CPU as N varies
  N
Test Source 100000 400000 700000 1000000
gnat 0.01 0.01 0.02 0.03
vc++ 0.01 0.02 0.03 0.04
mingw32 0.02 0.03 0.06 0.07
vc 0.01 0.03 0.05 0.07
lcc 0.01 0.03 0.06 0.08
fpascal 0.02 0.04 0.07 0.09
gcc 0.04 0.06 0.07 0.09
smlnj 0.04 0.06 0.08 0.10
delphi 0.02 0.05 0.08 0.10
bcc 0.01 0.05 0.08 0.11
se 0.02 0.05 0.08 0.12
csharp 0.11 0.11 0.12 0.14
ocaml 0.02 0.06 0.10 0.14
mercury 0.05 0.11 0.18 0.24
vpascal 0.03 0.10 0.18 0.26
pliant 0.22 0.30 0.39 0.47
java 0.48 0.50 0.53 0.55
nice 0.54 0.58 0.62 0.66
oz 0.39 1.10 1.80 2.52
ocamlb 0.28 1.04 1.82 2.59
lua5 0.55 2.17 3.80 5.43
pike 0.68 2.49 4.30 6.11
poplisp 0.84 3.05 5.28 7.50
ruby 1.35 5.14 8.92 12.73
lua 1.31 5.23 9.14 13.05
ici 1.41 5.59 9.71 13.90
python 1.64 6.00 10.34 14.70
guile 2.24 8.02 13.76 19.55
cygperl 2.03 8.06 14.07 20.10
perl 2.62 10.39 18.18 25.65
jscript 3.46 13.41 23.33 33.30
vbscript 8.77 34.57 60.34 86.15
bigforth F F F F
gforth F F F F
Measurement of Memory as N varies
  N
Test Source 100000 400000 700000 1000000
gnat 740 740 740 740
vc++ 492 492 492 492
mingw32 516 516 516 516
vc 464 464 464 464
lcc 504 504 504 504
fpascal 520 520 520 520
gcc 1492 1492 1492 1492
smlnj 936 936 936 936
delphi 884 884 884 884
bcc 560 560 560 560
se 560 560 560 560
csharp 3248 3248 3248 3248
ocaml 704 704 704 704
mercury 1788 1788 1788 1788
vpascal 564 564 564 564
pliant 3216 3216 3216 3216
java 4600 4600 4600 4600
nice 4936 4936 4936 4936
oz 648 648 648 648
ocamlb 380 380 380 380
lua5 612 612 612 612
pike 3404 3404 3404 3404
poplisp 4484 4484 4484 4484
ruby 1860 1860 1860 1860
lua 588 588 588 588
ici 1120 1120 1120 1120
python 2372 2372 2372 2372
guile 2708 2708 2708 2708
cygperl 2348 2348 2348 2348
perl 1464 1464 1464 1464
jscript 2228 2228 2228 2228
vbscript 2308 2308 2308 2308
bigforth F F F F
gforth 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
vc++ 0.01 492 51 log
bcc 0.01 560 72 log
vc 0.01 464 72 log
gnat 0.01 740 0 log
lcc 0.01 504 72 log
ocaml 0.02 704 33 log
se 0.02 560 32 log
fpascal 0.02 520 79 log
delphi 0.02 884 65 log
mingw32 0.02 516 72 log
vpascal 0.03 564 79 log
gcc 0.04 1492 72 log
smlnj 0.04 936 75 log
mercury 0.05 1788 54 log
csharp 0.11 3248 49 log
pliant 0.22 3216 65 log
ocamlb 0.28 380 33 log
oz 0.39 648 52 log
java 0.48 4600 50 log
nice 0.54 4936 0 log
lua5 0.55 612 51 log
pike 0.68 3404 45 log
poplisp 0.84 4484 34 log
lua 1.31 588 54 log
ruby 1.35 1860 45 log
ici 1.41 1120 45 log
python 1.64 2372 41 log
cygperl 2.03 2348 48 log
guile 2.24 2708 29 log
perl 2.62 1464 48 log
jscript 3.46 2228 47 log
vbscript 8.77 2308 65 log
gforth F F 46 log
bigforth F F 36 log


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