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.

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

C++ GNU g++ 1.001.001.001.031.642.602.68

GNU gcc 1.001.001.001.041.221.564.46

ATS 1.001.001.061.392.454.525.75

Java 6 -server 1.001.001.251.884.008.1221.49

Ada 2005 GNAT 1.001.001.401.903.665.875.87

Pascal Free Pascal 1.131.131.662.053.564.984.98

Scala 1.031.031.632.235.076.576.57

Lua LuaJIT 1.381.381.932.339.3012.5112.51

Clean 1.211.211.542.596.589.099.09

F# Mono 1.421.421.912.758.6814.2714.27

C# Mono 1.391.391.952.866.6713.7414.88

Haskell GHC 1.101.101.383.113.386.379.09

Lisp SBCL 1.391.391.523.417.4714.2214.22

OCaml 1.321.322.224.125.8511.3015.33

Go 6g 8g 1.701.703.005.6216.2836.1984.98

Scheme PLT 1.451.453.886.3719.5743.1157.59

JavaScript V8 1.001.008.0914.5925.9952.8486.67

Erlang HiPE 3.393.397.3414.8122.0940.2540.25

Smalltalk VisualWorks 9.889.8812.1215.1626.4247.8656.59

Java 6 -Xint 6.216.2111.9025.8444.8394.23159.49

Lua 19.9119.9124.5331.3345.5176.98106.46

JavaScript TraceMonkey 1.551.5518.0731.5850.7299.68942.21

Ruby JRuby 12.9712.9720.0037.5673.87154.68295.72

Python 3 4.604.6010.2345.54103.47146.73146.73

Mozart/Oz 5.975.9714.5046.1795.93197.18197.18

Ruby 1.9 8.998.9918.8658.50125.47285.40402.04

Python CPython 4.314.3119.1162.1874.65129.67129.67

Perl 5.225.2219.9381.72110.56238.49238.49

PHP 6.406.4041.85123.78178.53250.72250.72

Ruby MRI 13.0613.0624.58134.69214.64499.73837.64

 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 programming language is best? or take the Summary Data and do your own analysis!

Revised BSD license

  Home   Flawed   Fastest   License   Help