[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.
|
|