The Computer Language
Benchmarks Game

spectral-norm

program source code, command-line and measurements

× source secs mem gz cpu cpu load
1.0 Free Pascal 15.98 8 423 15.98 100% 0% 0% 1%
135 Go #2 4.05 1,076 668 15.74 97% 98% 97% 98%
140 C gcc 16.00 1,120 383 15.99 0% 100% 0% 1%
146 C gcc #5 1.98 1,164 569 7.86 100% 100% 99% 99%
146 C gcc #3 3.99 1,164 463 15.90 100% 100% 100% 100%
146 C++ g++ #6 1.98 1,164 1044 7.87 99% 99% 99% 100%
146 C++ g++ #8 3.48 1,164 1278 13.88 100% 100% 100% 100%
146 C gcc #4 1.98 1,168 1139 7.87 100% 99% 100% 99%
211 Fortran Intel #3 1.98 1,684 638 7.89 99% 100% 99% 100%
224 C++ g++ #5 2.00 1,792 1044 7.96 100% 100% 100% 100%
231 Free Pascal #2 3.98 1,844 542 15.82 99% 99% 99% 99%
268 Rust 2.07 2,140 1254 7.96 96% 97% 96% 97%
273 Rust #5 2.07 2,180 1055 8.23 100% 100% 100% 100%
276 Rust #6 1.97 2,204 1126 7.86 99% 99% 100% 100%
277 Rust #4 2.39 2,216 817 9.51 100% 100% 100% 100%
280 Rust #3 2.31 2,236 1053 8.87 96% 97% 96% 96%
280 Rust #2 2.07 2,236 1110 7.94 97% 96% 96% 96%
283 Go 15.70 2,260 411 15.70 100% 0% 1% 0%
332 Go #4 3.98 2,656 548 15.72 99% 99% 99% 99%
339 Lua 192.71 2,712 329 192.66 10% 0% 0% 91%
391 Fortran Intel #2 7.85 3,124 513 7.85 1% 100% 0% 0%
403 C++ g++ 16.07 3,220 452 16.07 0% 100% 0% 0%
435 Ada 2012 GNAT 15.70 3,480 716 15.70 1% 100% 1% 0%
453 Haskell GHC #4 4.06 3,620 987 15.71 97% 99% 97% 95%
459 OCaml #2 15.70 3,668 377 15.70 0% 1% 1% 100%
523 Substrate VM #2 5.46 4,180 950 21.77 100% 100% 100% 100%
526 Ada 2012 GNAT #4 2.00 4,204 2770 7.87 99% 98% 99% 99%
531 Ada 2012 GNAT #3 4.00 4,244 1717 15.72 98% 98% 99% 99%
661 Substrate VM 15.72 5,284 514 15.72 0% 100% 0% 0%
671 Chapel 3.98 5,368 310 15.76 100% 99% 99% 99%
673 OCaml #3 4.29 5,384 914 15.99 93% 94% 94% 93%
725 Haskell GHC #2 15.78 5,800 403 15.78 0% 99% 2% 0%
745 Matz's Ruby 41 min 5,956 292 41 min 19% 45% 37% 0%
  Matz's Ruby #4 45 min 6,068 326 45 min 32% 28% 40% 1%
  Perl #2 13 min 6,252 343 13 min 0% 100% 1% 0%
  Perl 163.37 6,908 333 163.33 0% 100% 0% 0%
  Perl #5 156.88 6,936 340 156.85 100% 0% 1% 0%
  Swift #3 3.95 7,856 601 15.75 100% 100% 99% 100%
  Python 3 #6 10 min 8,912 328 10 min 34% 67% 1% 4%
  PHP #2 248.65 9,624 397 248.59 23% 0% 1% 78%
  Perl #4 41.09 11,104 555 161.08 97% 98% 99% 98%
  Lisp SBCL #2 4.02 16,432 915 15.74 98% 98% 98% 98%
  Lisp SBCL #5 4.00 16,460 899 15.74 99% 98% 99% 99%
  Lisp SBCL #3 4.00 16,516 890 15.73 99% 99% 98% 99%
  Perl #3 205.73 17,292 850 13 min 100% 100% 100% 100%
  Ruby 288.18 17,904 292 5 min 2% 100% 7% 8%
  Ruby #4 237.96 18,312 326 280.55 97% 4% 6% 12%
  Swift 15.72 19,680 438 15.71 100% 1% 1% 0%
  Ruby #5 5 min 20,208 862 19 min 97% 97% 97% 96%
  Lisp SBCL 22.55 20,576 631 22.54 0% 100% 1% 0%
  PHP 38.56 20,848 1152 153.24 99% 100% 99% 99%
  Matz's Ruby #5 15 min 22,028 835 1h 02 min 99% 99% 99% 99%
  Erlang HiPE 139.36 25,168 507 139.39 40% 37% 6% 17%
  Erlang HiPE #2 15.65 31,372 747 61.61 98% 98% 99% 98%
  Node js #2 15.81 31,736 336 15.81 0% 100% 0% 1%
  Node js #3 15.81 31,780 381 15.81 2% 100% 1% 2%
  Node js #5 15.81 31,884 393 15.81 1% 100% 0% 0%
  TypeScript #3 15.83 32,312 394 15.83 1% 0% 100% 1%
  PHP #3 62.39 32,548 1210 245.51 100% 98% 97% 99%
  Node js 15.83 32,800 319 15.82 1% 0% 0% 100%
  TypeScript 15.82 33,024 383 15.82 0% 100% 1% 0%
  Java  #2 4.26 33,572 950 16.39 96% 96% 98% 95%
  Java 16.54 33,744 514 16.65 92% 0% 0% 9%
  TypeScript #2 20.24 34,020 385 20.25 0% 23% 78% 1%
  C# .NET Core #3 4.07 35,988 878 15.85 97% 100% 97% 97%
  C# .NET Core 15.85 36,572 459 15.85 1% 100% 0% 0%
  F# .NET Core #4 4.13 37,268 732 15.91 98% 95% 97% 95%
  F# .NET Core #2 4.13 37,304 853 15.91 95% 99% 96% 95%
  F# .NET Core #3 4.55 37,516 721 17.50 96% 99% 96% 95%
  Racket 40.56 43,556 446 40.56 100% 1% 1% 0%
  Racket #2 38.08 45,192 532 38.08 0% 1% 1% 100%
  Racket #3 5.66 48,708 627 20.91 91% 91% 91% 98%
  Python 3 #5 182.12 52,752 443 11 min 96% 96% 96% 100%
  Lisp SBCL #4 10.70 53,796 891 40.34 95% 95% 95% 95%
  VW Smalltalk 91.13 54,744 678 91.11 0% 1% 100% 0%
  Dart app-jit 15.79 73,048 462 15.92 1% 100% 1% 0%
  Dart app-jit #5 15.78 73,184 489 15.93 1% 100% 1% 0%
  Dart 16.24 119,704 462 16.71 1% 99% 3% 4%
  Dart #5 16.17 119,992 489 16.65 2% 2% 99% 1%
  Julia #2 4.67 160,808 370 17.28 90% 99% 90% 91%
  Julia 4.76 184,436 401 17.01 86% 86% 86% 99%
  C++ g++ #2 2.45 239,024 453 2.45 1% 0% 100% 0%
  Truffle Ruby #7 27.31 449,204 292 28.96 92% 1% 4% 11%
  Truffle Ruby #4 30.89 467,636 326 51.35 25% 92% 27% 23%
  Truffle Ruby 25.51 473,216 292 50.45 36% 91% 37% 34%
  JRuby #2 133.21 785,540 776 8 min 98% 98% 98% 98%
  JRuby #4 282.89 785,592 326 296.60 17% 31% 39% 20%
  JRuby 8 min 788,112 292 8 min 29% 14% 22% 39%
Truffle Ruby #5 Timed Out
VW Smalltalk #2 Partial