Hello World

Loading time evaluation

Average
(ms)
Fatest
(ms)
Slowest
(ms)
stdout Src
lines
exe/script
size (bytes)
Type Compile
time (ms)
Compiler
Interpreter
FASM 12.273 12.042 14.845 stdout 19 160 Compiled 142.485 infos
NASM 12.209 12.048 14.540 stdout 19 488 Compiled 45.843 infos
GCC 13.919 12.868 17.315 stdout 7 2952 Compiled 159.726 infos
G++ 16.001 15.760 18.335 stdout 7 4056 Compiled 1333.421 infos
Tcc (natif) 13.105 12.844 16.871 stdout 7 2976 Compiled 32.246 infos
Ada 16.298 16.066 18.652 stdout 6 20655 Compiled 412.154 infos
OCaml (natif) 15.890 13.736 20.936 stdout 1 119006 Compiled 293.844 infos
Pascal 12.413 12.215 14.748 stdout 3 80100 Compiled 92.168 infos
Fortran 13.706 13.439 17.940 stdout 3 306256 Compiled 197.525 infos
Java 340.443 333.465 398.701 stdout 5 355 Pré-Compiled 115.947 infos
Gambas 15.662 15.394 18.131 stdout 3 566 Pré-Compiled 98.885 infos
Lua (préc.) 16.199 15.959 18.695 stdout 2 112 Pré-Compiled 27.746 infos
Neko 20.587 20.315 23.117 stdout 1 66 Pré-Compiled 288.201 infos
OCaml (préc.) 17.326 17.078 19.809 stdout 1 11924 Pré-Compiled 81.346 infos
Lua (interp.) 16.278 16.018 18.615 stdout 2 37 Interpreted - infos
Lush 302.447 296.501 346.144 stdout 2 39 Interpreted - infos
Perl 16.131 15.866 18.511 stdout 2 41 Interpreted - infos
PHP 41.656 40.230 52.946 stdout 3 34 Interpreted - infos
Python 43.322 42.432 45.833 stdout 2 39 Interpreted - infos
Ruby 23.555 23.256 27.356 stdout 2 39 Interpreted - infos
Tcc (interp.) 15.469 15.181 17.972 stdout 6 80 Interpreted - infos
Tcl 21.476 21.117 23.838 stdout 2 38 Interpreted - infos
YaBasic 15.766 15.542 18.063 stdout 2 40 Interpreted - infos
BASH (shell) 23.212 22.899 25.814 stdout 2 33 Interpreted - infos
DASH (shell) 13.458 13.234 15.849 stdout 2 33 Interpreted - infos
KSH (shell) 15.799 15.589 17.582 stdout 2 32 Interpreted - infos
TCSH (shell) 19.266 19.002 21.691 stdout 2 33 Interpreted - infos
ZSH (shell) 18.178 17.938 20.630 stdout 2 32 Interpreted - infos

Graphics sorted from best to worse
Average execution time
(ms)
NASM 12.21
FASM 12.27
Pascal 12.41
Tcc 13.11
DASH 13.46
Fortran 13.71
GCC 13.92
Tcc 15.47
Gambas 15.66
YaBasic 15.77
KSH 15.80
OCaml 15.89
G++ 16.00
Perl 16.13
Lua 16.20
Lua 16.28
Ada 16.30
OCaml 17.33
ZSH 18.18
TCSH 19.27
Neko 20.59
Tcl 21.48
BASH 23.21
Ruby 23.55
PHP 41.66
Python 43.32
Lush 302.45
Java 340.44
Exe/script size
(bytes)
ZSH 32
KSH 32
DASH 33
BASH 33
TCSH 33
PHP 34
Lua 37
Tcl 38
Lush 39
Python 39
Ruby 39
YaBasic 40
Perl 41
Neko 66
Tcc 80
Lua 112
FASM 160
Java 355
NASM 488
Gambas 566
GCC 2952
Tcc 2976
G++ 4056
OCaml 11924
Ada 20655
Pascal 80100
OCaml 119006
Fortran 306256
Compile time
(ms)
Lua 28
Tcc 32
NASM 46
OCaml 81
Pascal 92
Gambas 99
Java 116
FASM 142
GCC 160
Fortran 198
Neko 288
OCaml 294
Ada 412
G++ 1333
Lua-
Lush-
Perl-
PHP-
Python-
Ruby-
Tcc-
Tcl-
YaBasic-
BASH-
DASH-
KSH-
TCSH-
ZSH-
Source
line count
OCaml 1
Neko 1
OCaml 1
Lua 2
Lua 2
Lush 2
Perl 2
Python 2
Ruby 2
Tcl 2
YaBasic 2
BASH 2
DASH 2
KSH 2
TCSH 2
ZSH 2
Pascal 3
Fortran 3
Gambas 3
PHP 3
Java 5
Ada 6
Tcc 6
Tcc 7
G++ 7
GCC 7
NASM 19
FASM 19

Red/Green = Column Min/Max
Each application was tested 100 times.

Hardware Test Machine:
Linux Debian 1.1 Ghz Celeron 328 Mb RAM
Tested on Fri Sep 22 15:29:39 2006 GMT+1


Next Test: Fibonacci, recursive function call