The Computer Language
22.01 Benchmarks Game

spectral-norm

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 C gcc #6 0.41 1,016 1197 1.60 98% 95% 98% 95%
1.7 Rust #7 0.71 2,488 932 2.85 100% 100% 99% 100%
1.7 Rust #6 0.71 2,440 1126 2.85 100% 100% 99% 100%
1.7 Rust #5 0.72 2,352 1055 2.86 100% 100% 100% 100%
1.7 Rust #4 0.72 2,308 817 2.85 100% 100% 99% 100%
1.7 C++ g++ #6 0.72 1,296 1044 2.86 99% 100% 100% 99%
1.8 C gcc #4 0.74 1,300 1139 2.91 99% 97% 99% 100%
1.8 Rust 0.74 1,212 1254 2.90 97% 99% 99% 99%
1.8 C gcc #5 0.74 1,300 569 2.90 99% 97% 97% 99%
1.8 Rust #2 0.74 1,216 1110 2.92 99% 99% 99% 99%
1.8 Classic Fortran #3 0.75 1,804 638 2.99 99% 100% 100% 100%
1.8 Rust #3 0.75 1,204 1053 2.99 100% 99% 99% 99%
1.8 Ada 2012 GNAT #4 0.76 4,256 2770 2.96 97% 97% 97% 97%
2.0 C# .NET #5 0.82 34,824 764 3.00 96% 90% 90% 91%
2.7 Julia #4 1.11 190,124 429 3.73 78% 99% 79% 80%
3.2 C++ g++ #5 1.32 3,316 1044 5.26 99% 100% 99% 100%
3.4 Swift #3 1.43 6,736 601 5.70 100% 100% 100% 99%
3.5 Go #4 1.43 1,992 548 5.68 99% 99% 99% 100%
3.5 Lisp SBCL #7 1.44 15,544 762 5.68 99% 99% 99% 99%
3.5 Free Pascal #2 1.44 1,488 542 5.72 99% 99% 99% 99%
3.5 Lisp SBCL #8 1.44 16,048 791 5.69 99% 99% 99% 99%
3.5 Free Pascal #3 1.44 1,356 625 5.72 100% 99% 99% 99%
3.5 Dart #6 1.45 22,052 1196 5.72 99% 98% 99% 99%
3.5 Lisp SBCL #3 1.45 20,032 890 5.73 98% 99% 99% 99%
3.5 C gcc #3 1.45 1,300 463 5.74 100% 98% 99% 98%
3.5 Go #2 1.46 1,192 668 5.69 97% 98% 98% 97%
3.5 Lisp SBCL #2 1.46 15,552 915 5.73 98% 99% 98% 97%
3.6 Haskell GHC #4 1.47 4,500 987 5.71 97% 97% 97% 97%
3.6 Ada 2012 GNAT #3 1.48 4,248 1717 5.80 99% 98% 97% 99%
3.6 Chapel 1.49 5,228 310 5.82 99% 97% 97% 98%
3.7 C# .NET #3 1.52 32,420 878 5.81 97% 95% 94% 96%
3.7 Julia #2 1.53 200,756 370 5.14 79% 99% 78% 80%
3.7 C++ g++ #8 1.53 1,348 1278 6.09 99% 100% 99% 99%
3.7 F# .NET #2 1.53 32,656 853 5.79 94% 97% 94% 94%
3.7 Java  #3 1.55 39,644 756 5.96 98% 96% 97% 95%
3.8 F# .NET #4 1.55 34,008 732 5.84 96% 92% 94% 93%
4.0 Node js #6 1.67 72,932 999 6.13 90% 90% 91% 95%
5.6 Java #2 2.31 38,348 950 8.87 95% 97% 97% 96%
6.4 Classic Fortran #2 2.66 1,964 513 2.74 2% 100% 1% 1%
8.0 Dart #2 3.29 26,408 1168 12.59 96% 96% 95% 95%
9.2 Racket #3 3.80 66,792 627 14.73 96% 99% 96% 96%
13 OCaml #2 5.32 3,976 377 5.34 0% 100% 0% 0%
13 Go 5.32 1,992 411 5.40 100% 0% 0% 1%
13 Swift 5.32 12,732 438 5.34 0% 0% 0% 100%
13 Lisp SBCL #6 5.32 16,804 505 5.38 0% 0% 100% 1%
13 Dart 5.32 10,400 461 5.34 0% 100% 0% 0%
13 Haskell GHC #2 5.32 7,996 403 5.42 2% 0% 0% 100%
13 Ada 2012 GNAT 5.35 2,200 716 5.39 0% 0% 0% 100%
13 C++ g++ 5.36 1,948 452 5.35 0% 100% 0% 0%
13 Node js #7 5.36 39,544 414 5.71 2% 0% 100% 4%
13 C gcc 5.39 1,240 383 5.47 0% 100% 0% 1%
13 Lisp SBCL 5.44 16,856 631 5.46 0% 0% 0% 100%
13 Node js 5.44 37,524 319 5.46 0% 0% 0% 100%
17 PHP 7.03 37,884 1152 27.90 99% 99% 99% 99%
19 Java 7.99 38,724 514 8.08 0% 100% 1% 0%
28 Erlang #2 11.61 45,732 747 45.29 97% 99% 97% 97%
28 Free Pascal 11.76 8 423 11.76 0% 100% 0% 0%
36 Racket #2 14.98 66,792 532 15.05 0% 0% 100% 0%
36 PHP #3 15.06 36,336 1210 60.00 100% 100% 100% 100%
49 VW Smalltalk #2 20.46 246,516 1047 62.66 79% 73% 75% 79%
57 Perl #4 23.53 12,208 555 92.94 99% 99% 98% 99%
71 Racket 29.46 68,244 446 29.58 100% 0% 0% 0%
119 VW Smalltalk 49.26 54,508 642 49.48 100% 0% 0% 0%
135 PHP #2 55.79 14,152 397 56.07 0% 0% 100% 0%
145 Ruby #5 60.13 288,760 758 220.73 93% 91% 92% 90%
151 Erlang 62.50 46,116 507 63.21 1% 0% 95% 5%
197 Lua 81.55 2,808 329 81.84 0% 0% 0% 100%
253 Perl 104.61 7,692 333 105.04 0% 100% 0% 0%
254 Perl #5 105.19 7,800 340 105.85 0% 100% 0% 0%
273 Python 3 #8 112.97 48,792 407 7 min 100% 100% 100% 100%
274 Ruby #4 113.30 287,604 326 113.91 24% 0% 76% 0%
277 Python 3 #7 114.57 48,896 417 7 min 100% 100% 99% 99%
308 Perl #3 127.57 17,908 850 8 min 100% 100% 100% 100%
348 Ruby 144.02 286,692 292 144.77 0% 0% 100% 0%
  Python 3 #6 6 min 9,368 328 6 min 0% 0% 0% 100%
  Perl #2 7 min 7,064 343 7 min 0% 100% 0% 0%
  Matz's Ruby #5 9 min 19,728 758 34 min 93% 95% 94% 94%
  Matz's Ruby 22 min 6,080 292 22 min 0% 0% 25% 76%
  Matz's Ruby #4 23 min 5,928 326 24 min 0% 0% 0% 100%