The Computer Language
22.01 Benchmarks Game

fasta

Always look at the source code.

Look at the slower simple sequential programs, and  look at the parallel programs written for multicore, and  look at the manually vectorized SIMD programs. Choose which programs you want to compare.

× source secs mem gz busy cpu load
1.0 Rust #7 0.77 1,996 2529 1.56 100% 1% 4% 99%
1.0 C++ g++ #8 0.77 2,676 2751 1.59 99% 38% 66% 4%
1.0 C gcc #9 0.78 1,244 1463 0.82 0% 1% 4% 100%
1.1 Haskell GHC #4 0.86 41,444 2013 2.76 81% 80% 81% 80%
1.1 C gcc #2 0.86 2,868 2268 3.39 98% 99% 99% 100%
1.1 C gcc #7 0.87 2,868 2011 3.40 98% 97% 100% 95%
1.2 Haskell GHC #6 0.89 8,184 1882 3.36 94% 94% 94% 93%
1.2 Haskell GHC #5 0.89 10,836 2000 2.81 78% 78% 79% 80%
1.2 Rust #2 0.94 2,512 1906 3.25 85% 85% 91% 84%
1.2 Rust #5 0.94 2,516 1961 3.24 92% 84% 85% 83%
1.2 C gcc #6 0.95 2,080 1930 2.83 5% 100% 97% 97%
1.3 Chapel #5 0.97 6,324 1391 3.52 98% 90% 89% 88%
1.4 C++ g++ #6 1.04 4,532 2324 3.90 93% 94% 94% 94%
1.4 C++ g++ #5 1.05 4,544 2344 3.86 92% 92% 92% 92%
1.5 F# .NET #3 1.12 76,316 1350 4.18 95% 92% 93% 94%
1.5 Julia #8 1.13 199,996 1082 1.46 11% 10% 99% 9%
1.6 Java  #6 1.20 44,952 2543 3.50 79% 63% 78% 71%
1.6 C# .NET #5 1.22 108,212 1691 4.45 93% 92% 91% 89%
1.7 Go #2 1.27 11,520 1404 3.81 66% 84% 77% 74%
1.7 Java #5 1.28 45,020 2473 4.09 76% 73% 95% 76%
1.7 C gcc #5 1.29 1,108 1281 1.37 2% 2% 2% 100%
1.9 C# .NET 1.48 51,664 2098 5.41 93% 87% 92% 93%
1.9 Go #3 1.49 3,024 1358 3.93 78% 30% 79% 77%
2.1 F# .NET #4 1.57 57,648 1342 5.87 94% 94% 94% 92%
2.3 Julia #7 1.76 443,000 1182 4.89 73% 55% 71% 80%
2.4 C++ g++ #2 1.85 1,996 1127 1.86 0% 0% 100% 1%
2.5 Node js #5 1.91 77,804 2047 6.21 78% 80% 86% 81%
2.6 Julia #6 1.97 448,044 1203 5.61 74% 62% 88% 61%
2.6 C++ g++ 1.97 1,944 1057 1.99 0% 1% 1% 100%
2.7 Classic Fortran #4 2.07 652 1351 2.12 1% 100% 0% 1%
2.7 Rust #3 2.09 1,044 1233 2.11 0% 100% 0% 0%
2.8 Swift #3 2.18 26,772 2090 8.01 93% 93% 92% 90%
2.9 Swift #2 2.20 7,232 1945 3.18 10% 40% 89% 6%
3.4 Ada 2012 GNAT #2 2.61 2,244 2153 2.82 7% 1% 0% 100%
3.4 Ada 2012 GNAT #5 2.61 2,200 2221 2.64 0% 0% 100% 1%
3.4 Julia #5 2.63 220,544 950 3.04 6% 6% 5% 100%
3.4 C++ g++ #3 2.64 1,992 1307 2.66 0% 0% 100% 0%
3.6 C gcc #8 2.75 968 1293 2.87 2% 1% 100% 2%
3.7 Julia #4 2.86 205,712 1049 3.29 4% 5% 6% 100%
4.0 C gcc #4 3.07 988 1240 3.16 2% 100% 0% 1%
4.2 Java #4 3.20 38,372 1524 3.34 98% 3% 0% 3%
4.4 OCaml #6 3.34 203,504 1189 3.42 2% 0% 100% 0%
4.4 C++ g++ #4 3.36 996 1287 3.39 0% 100% 1% 0%
4.6 Rust #6 3.56 123,672 955 3.64 0% 1% 100% 1%
4.6 Rust #4 3.56 123,736 939 3.65 2% 0% 100% 1%
4.8 C gcc 3.68 1,044 1206 3.76 1% 100% 2% 0%
4.9 Go 3.78 1,156 1053 3.96 100% 5% 0% 0%
5.4 Chapel #3 4.11 5,240 1229 4.15 99% 0% 0% 1%
5.7 Dart 4.35 17,524 1402 4.50 1% 100% 1% 2%
5.7 Lisp SBCL #6 4.38 15,144 1757 4.43 0% 1% 100% 0%
5.7 Java #2 4.39 38,508 1257 4.50 2% 1% 0% 99%
5.8 Dart #5 4.41 282,616 1485 7.90 1% 72% 16% 90%
5.9 Rust 4.50 1,040 1237 4.81 0% 100% 4% 2%
5.9 C gcc #3 4.55 968 819 4.62 2% 100% 0% 0%
6.0 Swift 4.63 6,776 1526 4.65 100% 0% 0% 0%
6.2 OCaml #3 4.71 2,772 1071 4.98 2% 2% 100% 2%
7.0 Haskell GHC #2 5.36 429,016 1319 16.35 75% 78% 72% 80%
7.3 Haskell GHC 5.55 12,436 969 5.83 26% 75% 2% 2%
7.3 Free Pascal #6 5.58 8 1190 5.72 1% 2% 100% 0%
7.4 Free Pascal #5 5.63 8 1220 5.77 1% 1% 100% 1%
7.9 Lisp SBCL #3 6.06 18,864 1587 6.07 0% 100% 0% 0%
8.1 Ada 2012 GNAT 6.23 2,244 1379 6.40 2% 1% 100% 0%
8.3 Classic Fortran #3 6.36 1,580 1215 6.46 0% 0% 1% 100%
8.8 Classic Fortran 6.73 1,404 1190 6.87 0% 1% 100% 1%
8.9 Haskell GHC #3 6.81 941,588 1088 7.34 16% 4% 60% 28%
9.0 Dart #4 6.90 289,176 1303 7.30 0% 99% 5% 1%
9.4 Dart #3 7.22 245,268 1108 7.23 0% 0% 99% 0%
10 Racket #3 7.97 69,876 1280 8.19 1% 100% 1% 1%
12 Lisp SBCL 9.37 22,012 1424 9.79 0% 0% 100% 4%
12 Lisp SBCL #2 9.41 18,828 1622 9.42 0% 100% 0% 0%
19 Dart #2 14.85 18,856 1068 15.11 0% 1% 0% 100%
24 Racket 18.67 68,208 1066 19.11 100% 0% 1% 1%
26 Erlang #2 20.21 37,600 1164 21.42 2% 3% 100% 0%
27 PHP #3 20.77 13,076 1062 21.01 1% 0% 0% 100%
34 Lua #2 26.30 2,836 1061 26.50 0% 100% 0% 0%
34 Lua #3 26.35 2,808 1061 26.44 100% 0% 0% 0%
36 Ruby #6 27.28 344,964 1069 27.47 0% 0% 100% 0%
36 Julia #3 27.69 239,068 896 28.37 1% 100% 1% 1%
37 PHP #2 28.14 13,132 1050 28.36 0% 0% 100% 1%
38 VW Smalltalk 29.42 54,472 1539 29.73 0% 100% 1% 0%
48 Node js 36.54 48,192 809 37.08 21% 79% 1% 1%
48 Python 3 #5 36.90 836,484 1947 68.94 43% 10% 74% 60%
65 Erlang 50.11 37,512 1039 67.35 7% 51% 14% 63%
66 Ruby #3 50.91 383,748 1002 51.19 0% 0% 100% 0%
75 Python 3 #2 57.32 8,184 1121 57.48 0% 0% 100% 0%
75 Python 3 #3 57.72 8,052 1003 58.28 1% 0% 100% 0%
82 Perl 62.96 55,196 871 65.41 2% 1% 2% 100%
86 Python 3 66.17 7,992 817 66.70 0% 0% 100% 0%
129 Ruby #4 99.01 540,904 860 99.38 0% 0% 100% 0%
130 Ruby #5 99.57 286,356 995 100.07 70% 30% 0% 0%
166 Perl #4 127.54 6,272 966 129.94 1% 1% 0% 100%
186 Ruby #2 142.46 481,660 743 144.80 1% 0% 100% 1%
247 Perl #2 189.06 6,260 922 191.09 1% 0% 0% 99%
349 Matz's Ruby #3 266.99 101,684 1020 295.69 33% 3% 3% 71%
394 Matz's Ruby #4 5 min 277,768 860 5 min 2% 1% 1% 100%
446 Matz's Ruby #5 5 min 4,308 995 5 min 1% 1% 100% 1%
520 Matz's Ruby #2 6 min 248,288 743 7 min 85% 2% 18% 2%
C++ g++ #7 Make Error
Matz's Ruby #6 Failed