[The Original Shootout]
[NEWS]
[FAQ]
[Methodology]
[Platform Details]
[Acknowledgements]
[Scorecard]
Measurements while N varies
The test parameter N is the number of times each nested loop iterates.
 |
| Measurement of CPU as N varies |
| |
N |
| Test Source |
4 |
8 |
12 |
16 |
| vc++ |
0.01 |
0.01 |
0.01 |
0.01 |
| vc |
0.01 |
9999.00 |
0.01 |
0.01 |
| delphi |
0.02 |
0.01 |
0.02 |
0.09 |
| mingw32 |
0.01 |
0.01 |
0.02 |
0.09 |
| bcc |
0.01 |
0.01 |
0.03 |
0.10 |
| gcc |
0.02 |
0.03 |
0.04 |
0.11 |
| lcc |
0.01 |
0.01 |
0.02 |
0.11 |
| parrot |
0.01 |
0.01 |
0.03 |
0.11 |
| modula2 |
0.01 |
0.01 |
0.03 |
0.13 |
| gnat |
0.01 |
0.01 |
0.03 |
0.15 |
| bigforth |
0.01 |
0.02 |
0.04 |
0.16 |
| mercury |
0.03 |
0.03 |
0.06 |
0.16 |
| ocaml |
0.01 |
0.01 |
0.04 |
0.17 |
| se |
0.01 |
0.01 |
0.05 |
0.23 |
| modula3 |
0.02 |
0.01 |
0.06 |
0.23 |
| vpascal |
0.01 |
0.01 |
0.05 |
0.23 |
| ghc |
0.01 |
0.02 |
0.08 |
0.28 |
| fpascal |
0.01 |
0.01 |
0.05 |
0.28 |
| csharp |
0.10 |
0.10 |
0.13 |
0.28 |
| pliant |
0.09 |
0.10 |
0.15 |
0.36 |
| smlnj |
0.03 |
0.04 |
0.10 |
0.36 |
| gforth |
0.03 |
0.05 |
0.13 |
0.53 |
| cim |
0.03 |
0.05 |
0.16 |
0.71 |
| java |
0.44 |
0.45 |
0.52 |
0.85 |
| poplisp |
0.06 |
0.08 |
0.22 |
0.90 |
| nice |
0.51 |
0.52 |
0.59 |
0.93 |
| pike |
0.11 |
0.17 |
0.48 |
1.64 |
| awka |
0.03 |
0.07 |
0.49 |
2.52 |
| erlang |
0.46 |
0.51 |
0.92 |
2.85 |
| lua5 |
0.01 |
0.07 |
0.71 |
3.78 |
| lua |
0.01 |
0.08 |
0.86 |
4.68 |
| ocamlb |
0.02 |
0.13 |
1.20 |
6.40 |
| slang |
0.03 |
0.16 |
1.48 |
8.02 |
| oz |
0.16 |
0.35 |
2.24 |
11.54 |
| python |
0.19 |
0.41 |
2.48 |
12.63 |
| tcl |
0.05 |
0.33 |
3.07 |
16.22 |
| cygperl |
0.04 |
0.35 |
3.14 |
16.32 |
| mawk |
0.03 |
0.32 |
3.13 |
16.86 |
| perl |
0.04 |
0.36 |
3.31 |
17.38 |
| elastic |
0.04 |
0.40 |
3.90 |
21.14 |
| ici |
0.03 |
0.41 |
4.44 |
24.37 |
| icon |
0.02 |
0.43 |
4.57 |
24.83 |
| gawk |
0.04 |
0.52 |
5.14 |
27.59 |
| jscript |
0.16 |
0.75 |
6.50 |
34.46 |
| ruby |
0.08 |
0.72 |
6.85 |
36.57 |
| rexx |
0.02 |
0.64 |
6.85 |
38.57 |
| guile |
0.13 |
0.94 |
8.77 |
47.05 |
| php |
0.07 |
1.04 |
10.72 |
57.93 |
| vbscript |
0.24 |
3.89 |
35.91 |
182.28 |
|
 |
| Measurement of Memory as N varies |
| |
N |
| Test Source |
4 |
8 |
12 |
16 |
| vc++ |
512 |
512 |
512 |
512 |
| vc |
464 |
464 |
464 |
464 |
| delphi |
584 |
584 |
584 |
584 |
| mingw32 |
508 |
508 |
508 |
508 |
| bcc |
564 |
564 |
564 |
564 |
| gcc |
1500 |
1500 |
1500 |
1500 |
| lcc |
504 |
504 |
504 |
504 |
| parrot |
1024 |
1024 |
1024 |
1024 |
| modula2 |
632 |
632 |
632 |
632 |
| gnat |
740 |
740 |
740 |
740 |
| bigforth |
912 |
912 |
912 |
912 |
| mercury |
1732 |
1732 |
1732 |
1732 |
| ocaml |
656 |
656 |
656 |
656 |
| se |
548 |
548 |
548 |
548 |
| modula3 |
856 |
856 |
856 |
856 |
| vpascal |
564 |
564 |
564 |
564 |
| ghc |
1108 |
1104 |
1108 |
1108 |
| fpascal |
520 |
520 |
520 |
520 |
| csharp |
3276 |
3276 |
3276 |
3276 |
| pliant |
3224 |
3224 |
3224 |
3224 |
| smlnj |
940 |
940 |
940 |
940 |
| gforth |
1484 |
1484 |
1484 |
1484 |
| cim |
2044 |
2044 |
2044 |
2044 |
| java |
4568 |
4580 |
4580 |
4580 |
| poplisp |
3220 |
3220 |
3220 |
3220 |
| nice |
4904 |
4908 |
4908 |
4908 |
| pike |
3420 |
3420 |
3420 |
3420 |
| awka |
1584 |
1584 |
1584 |
1584 |
| erlang |
5260 |
5264 |
5260 |
5260 |
| lua5 |
604 |
604 |
604 |
604 |
| lua |
592 |
592 |
592 |
592 |
| ocamlb |
380 |
380 |
380 |
380 |
| slang |
1808 |
1808 |
1808 |
1808 |
| oz |
648 |
648 |
648 |
648 |
| python |
2364 |
2364 |
2364 |
2364 |
| tcl |
1492 |
1492 |
1492 |
1492 |
| cygperl |
2368 |
2368 |
2368 |
2368 |
| mawk |
1592 |
1592 |
1592 |
1592 |
| perl |
1484 |
1484 |
1484 |
1484 |
| elastic |
1952 |
1952 |
1952 |
1952 |
| ici |
1120 |
1116 |
1128 |
1128 |
| icon |
592 |
592 |
592 |
592 |
| gawk |
2044 |
2044 |
2044 |
2044 |
| jscript |
2212 |
2212 |
2212 |
2212 |
| ruby |
1860 |
1860 |
1860 |
1860 |
| rexx |
1032 |
1032 |
1032 |
1032 |
| guile |
2472 |
2472 |
2472 |
2472 |
| php |
2828 |
2828 |
2828 |
2828 |
| vbscript |
2324 |
2324 |
2324 |
2324 |
|
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.
|
|