startup benchmark hypotheses non fingo

↓ Measure 'hello world' program startup time, .

Which programs used least Code? Which programs use highly optimised assembly code libraries? Which programs make use of all the processor cores?

    sort sort sort sort
  ×   Program & Logs CPU secs Elapsed secs Memory KB Code B ~ CPU Load
1.0GNU gcc #3 0.0012  133   
1.1Pascal Free Pascal 0.0014  72   
1.4C++ Intel 0.0017  108   
1.5Fortran Intel 0.0018  83   
1.8GNU gcc #2 0.0022  100   
1.8Lisaac 0.0023  178   
2.0Eiffel SmartEiffel 0.0025  117   
2.0Ada 2005 GNAT 0.0025  100   
2.2Intel #2 0.0028  100   
2.3Fortran G95 0.0028  83   
2.5Clean 0.0031  69   
2.6OCaml 0.0032  53   
2.7SML MLton 0.0033  55   
2.8Digital Mars 0.0035  89   
3.0JavaScript SpiderMonkey 0.0037  47   
3.2BASIC FreeBASIC 0.0040  45   
3.2Haskell GHC 0.0040  55   
3.5C++ GNU g++ 0.0043  108   
3.6Lua 0.0045  51   
5.2Forth bigForth 0.0065  110   
5.4Perl 0.0067  48   
6.9Scheme Chicken 0.0085  51   
7.1Lua LuaJIT 0.0088  51   
8.6Ruby MRI 0.0107  44   
9.1Mercury 0.0113  142   
10Forth GNU GForth 0.0124  110   
10Oberon-2 OO2C 0.0130  90   
11Tcl 0.0136  44   
14Icon 0.0169  71   
14Ruby 1.9 0.0172  44   
16Prolog SWI 0.0197  89   
19Smalltalk GNU 0.0241  64   
24CINT 0.0293  99   
27Python CPython 0.0329  45   
29Rebol 0.0359  146   
36SML SML/NJ 0.0452  179   
40Python Psyco 0.0499  66   
48Mozart/Oz 0.0591  108   
55PHP 0.0684  68   
62Java 6 -Xint 0.0771  112   
68Java 6 -client 0.0846  112   
69Java 6 -server 0.0854  112   
69Java 6 -Xms64m 0.0862  112   
81C# Mono 0.1000  123   
83Scheme Ikarus 0.1031  67   
84Zonnon Mono 0.1038  73   
92Scheme PLT #2 0.1139  69   
98Java GNU gcj 0.1209  112   
100Pike 0.1237  79   
142Smalltalk VisualWorks 0.1766  115   
144Java 1.4 -server 0.1787  112   
149Erlang HiPE 0.1846  103   
173F# Mono 0.2149  48   
185Lisp SBCL 0.2292  68   
220Nice 0.2730  75   
224Io 0.2783  47   
230CAL 0.2852  160   
279Prolog YAP 0.3465  54   
483Scala 0.5984  89   
485JavaScript Rhino 0.6016  47   
822Smalltalk Squeak 1.0189  118   
1,437Ruby JRuby 1.7820  44   
1,598Python IronPython 1.9810  45   
3,578Groovy 4.4366  47   
Intel #3 Failed133
Scheme PLT Failed76

 startup benchmark : Measure 'hello world' program startup time

diff program output N = 1 with this output file to check your program is correct before contributing.

Each program should print "hello world" and exit.

This benchmark measures startup costs. It is run differently than the others - each program is run N times in a loop by a shell script wrapper. We show the mean CPU time. Most hello world programs are too fast for the way we measure memory usage so we only show CPU time.

Revised BSD license