Which programming languages are fastest?

This chart shows one comparison - Time-used (Elapsed secs).

Each chart box shows the middle 50% of program times measured for a programming language implementation, and each horizontal black bar shows ↓ the median program time measured.

 Which languages are fastest? Le mieux est l'ennemi du bien.

Select the language implementations you want to chart (deselect those you want to remove) then click the chart button.

Also, follow the links to compare 2 language implementations directly - one-against-another for all the benchmarks - on Time-used, Memory-used and Code-used.

  compare 2  |-  |---  25% median  75%  ---|  -|

GNU gcc 1.001.001.001.001.432.0812.51

C++ GNU g++ 1.001.001.001.001.091.224.00

ATS 1.001.001.281.423.306.336.91

Java 6 steady state 1.051.051.381.682.544.2811.33

Java 6 -server 1.061.061.641.983.255.6611.45

Ada 2005 GNAT 1.091.091.461.992.664.468.64

Scala 1.031.032.382.805.359.8121.33

Haskell GHC 1.341.342.373.115.369.8412.06

C# Mono 1.331.332.133.318.5118.0745.59

OCaml 1.931.933.033.637.7514.83322.91

Lisp SBCL 1.511.513.304.495.578.9634.98

Pascal Free Pascal 1.491.492.434.566.2612.0114.48

Lua LuaJIT 1.411.413.205.2314.4029.2829.28

Clean 1.221.224.375.698.2914.1621.54

Fortran Intel 1.021.021.996.7411.2625.1631.93

Go 6g 8g 3.523.525.928.9138.2186.65104.00

F# Mono 2.122.125.4610.4231.3249.3449.34

Erlang HiPE 3.783.787.8613.9129.4461.79154.62

Scheme PLT 2.072.0712.7622.2780.24181.46310.68

Java 6 -Xint 2.032.0314.5723.4227.9548.0168.94

JavaScript V8 1.181.1810.6927.0756.4186.5786.57

Smalltalk VisualWorks 12.4612.4620.9733.1766.29134.26196.14

Lua 1.431.4322.9234.8487.41156.09156.09

PHP 2.812.819.9061.2497.77129.17129.17

Python CPython 2.732.7320.8662.01119.88268.40338.19

Python 3 6.786.7836.4564.74182.07379.48379.48

JavaScript TraceMonkey 1.791.7935.9166.84128.63267.701591.64

Perl 2.592.596.2981.93101.54244.41259.61

Mozart/Oz 10.3910.3934.9782.51172.13377.89397.79

Ruby JRuby 17.6917.6924.8489.00146.08298.98298.98

Ruby 1.9 10.6110.6126.93130.55302.63716.201567.48

Ruby MRI 10.9710.9793.29182.33368.12780.362113.29

 Which programming languages are fastest? Robust Statistics

Which programming language implementations have the fastest benchmark programs?

Read "Visual Presentation of Data by Means of Box Plots" (pdf)

For each benchmark, F is the fastest time measurement; for each language implementation, each time measurement T is then normalized to T/F


There are other ways to analyse and present this data: look for patterns in Code-used Time-used Shapes or ask Which language is best? or take the Summary Data and do your own analysis!

Revised BSD license