The Computer Language
Benchmarks Game

spectral-norm

program source code, command-line and measurements

× source secs mem gz cpu cpu load
1.0 Ruby 6 min 10,036 292 6 min 0% 39% 1% 62%
1.0 Ruby JRuby 7 min 754,648 292 7 min 34% 8% 6% 57%
1.1 Chapel 4.00 51,084 310 15.82 100% 99% 99% 99%
1.1 Ruby JRuby #4 250.17 750,632 326 262.40 43% 6% 7% 51%
1.1 Ruby #4 5 min 10,884 326 5 min 6% 0% 1% 94%
1.1 Python 3 #6 11 min 9,016 328 11 min 0% 1% 100% 0%
1.1 Lua 180.25 2,628 329 180.20 100% 1% 1% 0%
1.1 Perl 197.49 6,548 333 197.42 0% 1% 100% 1%
1.2 Perl #5 158.63 6,516 340 158.57 97% 4% 1% 1%
1.2 Perl #2 13 min 5,888 343 13 min 90% 10% 1% 1%
1.2 Node.js 16.19 32,692 351 16.18 0% 1% 1% 100%
1.3 Node.js #2 16.17 31,288 368 16.17 100% 1% 1% 0%
1.3 OCaml #2 15.70 5,300 377 15.69 1% 1% 100% 0%
1.3 C gcc 15.69 1,048 383 15.69 100% 0% 1% 3%
1.3 TypeScript 16.18 32,360 383 16.18 100% 1% 1% 0%
1.3 TypeScript #2 66.88 37,424 385 66.82 1% 1% 0% 100%
1.3 TypeScript #3 16.19 30,828 394 16.19 0% 100% 1% 0%
1.4 PHP #2 255.95 8,796 397 255.88 100% 1% 1% 1%
1.4 Hack #2 139.83 114,696 398 139.78 100% 1% 1% 1%
1.4 Haskell GHC #2 34.60 10,632 403 97.20 64% 64% 55% 100%
1.4 Go 15.69 2,344 411 15.69 1% 100% 0% 1%
1.4 Node.js #3 16.18 31,536 413 16.17 1% 0% 100% 1%
1.4 Pascal Free Pascal 15.98 8 423 15.97 1% 100% 0% 1%
1.5 Node.js #5 16.18 31,548 425 16.17 0% 0% 1% 100%
1.5 Python 3 #5 188.83 54,524 437 12 min 99% 100% 100% 99%
1.5 Swift 16.19 16,604 438 16.18 100% 1% 1% 1%
1.5 Racket 40.33 26,436 446 40.32 100% 2% 1% 0%
1.5 C++ g++ 16.31 3,192 452 16.30 1% 1% 0% 100%
1.6 Dart 15.92 51,380 457 16.04 1% 100% 1% 1%
1.6 C# .NET Core 15.81 38,800 459 15.80 100% 0% 1% 0%
1.6 C gcc #3 3.96 1,820 463 15.74 99% 100% 100% 99%
1.7 Dart #5 16.97 52,396 486 17.01 6% 93% 1% 1%
1.7 Erlang 191.91 30,416 507 191.89 0% 1% 1% 100%
1.7 Erlang HiPE 111.41 40,912 507 111.42 1% 100% 1% 1%
1.8 Fortran Intel #2 7.85 2,896 513 7.84 0% 0% 100% 1%
1.8 Java  16.79 36,052 514 16.92 1% 100% 1% 1%
1.8 Racket #2 37.74 27,916 532 37.74 100% 0% 0% 1%
1.9 Pascal Free Pascal #2 3.99 1,896 542 15.82 99% 100% 99% 100%
1.9 Go #4 3.96 2,584 548 15.70 99% 99% 99% 99%
1.9 Perl #4 41.10 10,800 551 156.09 98% 94% 94% 94%
1.9 C gcc #5 2.00 1,872 569 7.88 99% 99% 98% 100%
2.1 Swift #3 3.98 11,292 601 15.82 100% 100% 100% 100%
2.1 Lisp SBCL 18.26 28,092 625 18.26 1% 0% 1% 100%
2.1 Racket #3 5.33 29,216 627 20.55 97% 98% 96% 96%
2.2 Fortran Intel #3 1.99 4,928 638 7.90 100% 99% 100% 100%
2.3 Go #2 4.04 1,564 668 15.73 97% 98% 97% 98%
2.3 Smalltalk VW 91.12 56,232 669 91.10 1% 1% 0% 100%
2.4 Ada 2005 GNAT 15.70 1,932 710 15.69 1% 1% 63% 38%
2.5 F# .NET Core #3 4.54 46,928 721 17.47 96% 96% 96% 98%
2.6 Erlang HiPE #2 18.00 35,760 747 70.43 98% 98% 98% 98%
2.6 Erlang #2 38.56 28,696 747 149.48 96% 97% 98% 97%
2.7 Ruby JRuby #2 216.27 804,576 776 13 min 98% 98% 98% 98%
2.8 Rust #4 2.33 20,068 817 9.26 100% 100% 100% 100%
2.9 Ruby #5 141.49 50,156 835 9 min 96% 97% 96% 97%
2.9 Perl #3 202.93 17,972 846 13 min 99% 99% 99% 99%
2.9 F# .NET Core #2 4.34 46,716 853 16.64 95% 96% 98% 96%
3.0 C# .NET Core #3 4.05 42,828 878 15.80 99% 97% 97% 98%
3.0 Lisp SBCL #4 11.41 77,812 881 41.00 91% 90% 92% 91%
3.0 Lisp SBCL #3 4.40 34,252 883 15.94 92% 91% 90% 90%
3.1 Lisp SBCL #5 4.39 34,312 893 15.94 92% 90% 91% 92%
3.1 Lisp SBCL #2 4.40 34,252 906 15.93 91% 91% 91% 91%
3.1 OCaml #3 4.36 5,072 907 15.48 92% 91% 93% 91%
3.3 Java #2 4.25 36,364 950 16.30 97% 96% 95% 97%
3.4 Haskell GHC #4 4.05 7,800 987 15.70 100% 94% 97% 97%
3.6 C++ g++ #6 1.99 1,880 1044 7.89 100% 99% 99% 99%
3.6 C++ g++ #5 2.02 2,544 1044 7.97 99% 99% 99% 99%
3.6 Rust #3 2.43 13,984 1050 9.23 97% 95% 95% 94%
3.6 Smalltalk VW #2 32.22 244,048 1054 82.07 84% 83% 84% 86%
3.8 Rust #2 4.18 13,984 1107 15.74 95% 94% 94% 95%
3.9 PHP 37.94 19,420 1135 150.67 99% 99% 100% 99%
3.9 C gcc #4 1.99 1,824 1139 7.88 99% 99% 99% 100%
4.1 PHP #3 59.54 19,484 1193 236.80 99% 99% 100% 100%
4.1 Hack #3 31.46 115,488 1195 122.93 99% 98% 97% 98%
4.3 Rust 4.11 13,980 1251 15.72 97% 94% 95% 98%
4.4 C++ g++ #8 2.00 1,880 1278 7.92 99% 100% 100% 100%
5.8 Ada 2005 GNAT #3 4.03 4,240 1702 15.82 98% 98% 99% 99%
9.5 Ada 2005 GNAT #4 2.02 4,244 2762 7.88 98% 99% 98% 98%