Which languages are fastest?

This chart shows one comparison - Time-used.

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 which language implementations you want to compare (and deselect those you want to remove) before you click the chart button.

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%  ---|  -|

C++ GNU g++ 1.001.001.001.001.071.193.34

GNU gcc 1.001.001.001.101.993.485.71

ATS 1.001.001.061.381.431.985.83

Ada 2005 GNAT 1.091.091.521.622.323.527.87

Java 6 steady state 1.051.051.371.771.972.873.10

Java 6 -server 1.071.071.642.022.604.035.22

Pascal Free Pascal 1.231.231.572.162.553.553.55

Lua LuaJIT 1.321.321.942.374.347.9512.47

Scala 1.031.032.192.464.606.676.67

Clean 1.211.211.512.544.416.896.89

Fortran Intel 1.021.021.212.615.769.929.92

C# Mono 1.321.322.392.734.928.7115.05

OCaml 1.281.282.423.134.277.0516.15

Haskell GHC 1.191.191.843.193.866.626.62

Lisp SBCL 1.321.321.523.313.947.5812.41

F# Mono 1.491.492.465.0010.5922.7845.85

Go 6g 8g 2.552.553.425.6315.4933.6088.60

JavaScript V8 1.001.007.8210.6419.6837.4786.70

Erlang HiPE 2.062.065.5613.5817.1234.4640.06

Smalltalk VisualWorks 9.399.3912.3414.4723.8141.0356.44

Java 6 -Xint 2.052.0510.2014.8226.8851.9157.12

Scheme PLT 2.062.069.1316.9921.1839.2655.97

Lua 1.434.1015.5722.0223.2234.7042.35

Ruby JRuby 12.5712.5721.3028.8365.97132.97153.93

JavaScript TraceMonkey 1.511.5117.7235.0654.23109.001585.63

Ruby 1.9 8.798.7917.5939.8184.13183.94283.96

Mozart/Oz 5.445.4414.3840.6882.3898.9098.90

Python 3 5.755.7531.2957.6387.31113.89113.89

Python CPython 2.732.7315.1660.2178.59140.61140.61

PHP 2.822.828.3965.63105.65135.04135.04

Perl 2.602.606.9073.7399.18237.59238.68

Ruby MRI 8.908.9026.1687.46167.79380.23521.78

 Which languages are fastest?


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