Skip to main content Link Search Menu Expand Document (external link)

2022-11-14 07:41:58

Speed comparison results

These are the latest speed comparison results of various programming languages.

plot

Raw results

name version median min max accuracy
Julia (AOT compiled) 1.8.2 77.95 73.91 78.3 8.4971
Nim 1.6.6 78.51 74.11 79.72 8.4975
D (GDC) 11.2.1 84.77 75.51 86.73 8.4968
C++ (avx2) 11.2.1 76.69 75.97 77.71 8.4969
C (clang) 13.0.1 77.04 76.03 90.47 8.4972
Fortran 90 12.1.0 77.12 76.09 77.59 8.4972
D (LDC) 1.28.1 79.06 76.94 82.08 8.4972
C (gcc) 11.2.1 79.98 77.27 80.93 8.4968
Rust (nightly) 1.67.0 81.28 77.95 81.97 8.497
C++ (g++) 11.2.1 79.06 78.2 79.9 8.4968
C++ (clang++) 13.0.1 79.66 79.35 80.91 8.4972
Zig 0.9.1 151.94 150.09 155.22 8.4972
Pony 0.52.0 157.89 153.66 159.05 8.4972
Swift 5.7.1 157.18 156.35 161.09 8.4971
Pony(nightly) 14.0.3 166.28 160.81 176.82 8.4972
Rust 1.64.0 162.99 160.98 172.77 8.4972
Go 1.19.1 162.73 162.01 173.82 8.4972
Common Lisp (SBCL) 2.2.5 163.85 163.15 166.34 8.4972
LuaJIT 2.1.0 183.25 183.16 197.15 8.4971
C# 7.0.100 249.73 230.17 250.68 8.4972
Java 19.36 283.64 272.83 297.23 8.4972
Crystal 1.6.2 274.91 274.5 282.29 8.4971
Javascript (bun) 0.2.0 337.88 329.87 350.53 8.4972
Javascript (nodejs) 18.9.1 357.08 351.32 398.5 8.4972
Julia (ux4) 1.8.2 385.98 365.68 389.63 5.534
Julia 1.8.2 397.21 394.65 434.21 8.4971
Python (PyPy) 3.9.12 799.01 775.76 827.26 8.4972
R 4.2.0 831.89 829.71 838.42 8.4971
Clojure 1.11.1.1189 2271.07 1901.9 2297.44 8.4972
Lua 5.4.4 2215.72 2195.68 2237.21 8.4971
PHP 8.1.12 3173.87 3153.9 3333.36 8.4972
Elixir 1.13.4 3379.87 3291.87 3527.22 8.4326
Python (CPython) 3.11.0 5887.83 5857.33 6101.09 8.4972
Ruby 3.1.2 14468.18 14452.39 14509.87 8.4971
Perl 5.34.1 15486.91 15337.68 15837.96 8.4971
Clojure (Babashka) 1.0.165 41701.61 41640.02 41785.72 8.4972