2022-11-14 12:28:47
Speed comparison results
These are the latest speed comparison results of various programming languages.
Raw results
name | version | median | min | max | accuracy |
---|---|---|---|---|---|
C++ (avx2) | 11.2.1 | 80.59 | 80.54 | 80.67 | 8.4969 |
C (clang) | 13.0.1 | 80.9 | 80.64 | 80.91 | 8.4972 |
C (gcc) | 11.2.1 | 80.72 | 80.65 | 80.76 | 8.4968 |
C++ (g++) | 11.2.1 | 80.72 | 80.65 | 81.08 | 8.4968 |
C++ (clang++) | 13.0.1 | 80.73 | 80.66 | 80.83 | 8.4972 |
D (LDC) | 1.28.1 | 80.97 | 80.95 | 81.02 | 8.4972 |
Nim | 1.6.6 | 81.03 | 80.96 | 82.34 | 8.4975 |
D (GDC) | 11.2.1 | 81.04 | 80.99 | 81.13 | 8.4968 |
Julia (AOT compiled) | 1.8.2 | 81.19 | 81.06 | 82.13 | 8.4971 |
Rust (nightly) | 1.67.0 | 81.37 | 81.32 | 81.46 | 8.497 |
Fortran 90 | 12.1.0 | 81.58 | 81.53 | 81.62 | 8.4972 |
Zig | 0.9.1 | 161.12 | 161.06 | 161.22 | 8.4972 |
Go | 1.19.1 | 162.31 | 162.26 | 162.42 | 8.4972 |
Rust | 1.64.0 | 164.34 | 164.15 | 164.49 | 8.4972 |
Swift | 5.7.1 | 166.71 | 166.45 | 167.11 | 8.4971 |
Pony(nightly) | 14.0.3 | 167.49 | 167.01 | 167.88 | 8.4972 |
Common Lisp (SBCL) | 2.2.5 | 170.3 | 169.69 | 170.55 | 8.4972 |
LuaJIT | 2.1.0 | 170.03 | 169.81 | 170.63 | 8.4971 |
Pony | 0.52.0 | 177.66 | 175.82 | 191.43 | 8.4972 |
Crystal | 1.6.2 | 194.95 | 194.46 | 196.12 | 8.4971 |
Java | 19.36 | 213.9 | 213.65 | 215.15 | 8.4972 |
C# | 7.0.100 | 231.4 | 230.55 | 232.25 | 8.4972 |
Javascript (bun) | 0.2.0 | 246.99 | 246.03 | 249.96 | 8.4972 |
Javascript (nodejs) | 18.9.1 | 291.8 | 291.57 | 292.06 | 8.4972 |
Julia (ux4) | 1.8.2 | 340.81 | 332.52 | 341.66 | 5.534 |
Julia | 1.8.2 | 356.97 | 356.01 | 367.73 | 8.4971 |
R | 4.2.0 | 715.0 | 667.41 | 741.86 | 8.4971 |
Python (PyPy) | 3.9.12 | 691.03 | 690.35 | 698.51 | 8.4972 |
Haskell (GHC) | 9.4.3 | 751.44 | 751.41 | 751.55 | 8.4972 |
Clojure | 1.11.1.1189 | 1723.12 | 1365.74 | 2058.17 | 8.4972 |
Lua | 5.4.4 | 1856.02 | 1855.64 | 1856.4 | 8.4971 |
PHP | 8.1.12 | 2659.46 | 2657.62 | 2741.1 | 8.4972 |
Elixir | 1.13.4 | 2782.69 | 2773.54 | 2805.63 | 8.4326 |
Python (CPython) | 3.11.0 | 5161.66 | 5113.81 | 5344.28 | 8.4972 |
Ruby | 3.1.2 | 12214.73 | 12203.03 | 12242.31 | 8.4971 |
Perl | 5.34.1 | 12294.09 | 12282.91 | 12296.01 | 8.4971 |
Clojure (Babashka) | 1.0.165 | 35171.63 | 35147.94 | 35256.81 | 8.4972 |