The Computer Language
Benchmarks Game

fannkuch-redux

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 low-level programs written for SIMD.

× source secs mem gz busy cpu load
1.0 Rust #5 7.28 1,168 1016 28.82 100% 97% 100% 100%
1.0 Swift #3 7.46 7,668 1097 29.52 98% 100% 99% 100%
1.0 C gcc #5 7.52 836 910 29.37 99% 100% 93% 99%
1.1 Rust #3 7.69 1,172 1020 30.47 100% 97% 100% 99%
1.1 Rust #4 7.69 1,168 1020 30.21 99% 96% 99% 99%
1.1 Julia #2 7.96 197,292 1067 30.06 94% 95% 94% 94%
1.1 C++ g++ #5 8.08 1,900 980 31.45 98% 100% 98% 93%
1.1 Go #3 8.28 2,428 969 33.10 100% 100% 100% 100%
1.2 C# .NET #9 8.40 30,788 1225 33.30 100% 99% 99% 99%
1.2 Julia #3 8.44 191,584 886 32.22 95% 96% 96% 94%
1.2 OCaml #4 8.52 19,072 1004 34.08 100% 100% 100% 100%
1.2 F# .NET #6 8.65 31,784 1097 33.57 98% 99% 94% 98%
1.2 Ada 2012 GNAT #3 8.68 4,384 2113 34.48 99% 100% 99% 99%
1.2 OCaml #3 8.71 26,456 1017 34.80 100% 100% 100% 100%
1.3 Chapel #2 9.35 4,288 731 37.30 100% 100% 100% 100%
1.3 C# .NET #6 9.62 30,444 1068 38.20 99% 99% 99% 100%
1.3 Lisp SBCL #4 9.72 32,444 1527 38.01 95% 99% 99% 98%
1.4 Rust #2 9.94 980 1191 38.82 98% 100% 98% 94%
1.4 Intel Fortran #3 10.16 11,048 1158 40.55 100% 100% 100% 100%
1.4 Haskell GHC #6 10.22 3,620 1113 40.23 100% 100% 95% 99%
1.4 C++ g++ #4 10.25 2,060 1439 40.46 100% 96% 99% 100%
1.4 C++ g++ #2 10.38 2,060 1440 40.93 100% 95% 100% 100%
1.5 Free Pascal 10.55 1,848 1050 42.14 100% 100% 100% 100%
1.5 F# .NET #5 10.59 33,428 912 41.63 98% 98% 98% 98%
1.5 C gcc #2 10.85 912 1557 42.64 98% 100% 95% 100%
1.5 Java  11.00 34,104 1282 43.42 99% 98% 98% 99%
1.5 C++ g++ 11.16 1,920 1059 44.04 99% 96% 100% 100%
1.6 Go 11.29 3,312 900 45.08 100% 100% 100% 100%
1.6 Go #2 11.36 15,116 896 45.38 100% 100% 100% 100%
1.6 Node js #5 11.89 61,216 1313 45.33 96% 94% 96% 94%
1.6 Haskell GHC #5 11.95 4,368 842 47.44 100% 100% 98% 100%
1.9 C gcc #4 13.90 792 1183 13.95 0% 100% 0% 0%
2.0 C++ g++ #7 14.33 792 1150 14.38 0% 0% 0% 100%
4.2 Lisp SBCL #5 30.56 42,384 681 30.62 100% 0% 0% 0%
4.6 Julia 33.73 168,352 434 34.15 0% 100% 1% 0%
5.0 Lisp SBCL #3 36.74 32,040 826 36.84 0% 0% 0% 100%
5.4 Intel Fortran 38.99 2,016 599 40.42 1% 2% 100% 1%
5.6 C++ g++ #3 40.47 740 593 40.82 0% 0% 1% 100%
5.7 OCaml #2 41.32 1,744 473 41.71 0% 0% 100% 0%
5.7 Swift 41.40 7,108 451 41.72 0% 0% 1% 100%
5.7 Java #3 41.43 33,864 1257 42.06 1% 0% 100% 1%
5.7 C gcc 41.69 740 508 41.95 0% 0% 0% 100%
5.8 C gcc #3 41.90 740 567 42.10 0% 0% 100% 0%
6.2 Java #2 44.81 34,576 514 45.21 100% 0% 0% 0%
6.4 Haskell GHC #4 46.59 3,604 665 185.39 99% 99% 100% 99%
6.4 OCaml 46.74 1,748 524 47.62 1% 0% 100% 1%
6.5 Lisp SBCL #2 47.27 18,868 517 47.57 0% 0% 0% 100%
7.0 Haskell GHC #2 50.61 9,648 808 147.69 73% 72% 73% 73%
7.1 Racket #3 51.89 35,336 1101 205.05 99% 100% 100% 96%
8.1 Erlang HiPE 59.08 24,856 1038 234.23 99% 99% 99% 99%
8.3 Dart #2 60.13 116,376 495 60.60 0% 1% 100% 0%
8.7 PHP #3 63.18 44,168 1160 250.98 99% 99% 100% 99%
23 Racket #2 168.68 35,152 908 172.19 1% 100% 1% 0%
28 Racket 201.67 35,244 649 204.78 100% 0% 1% 1%
29 PHP #2 213.70 12,008 441 226.84 2% 2% 100% 2%
35 PHP 255.57 12,104 482 271.74 80% 22% 2% 3%
43 Haskell GHC 5 min 6,112 559 6 min 6% 72% 25% 15%
50 Python 3 #4 6 min 12,288 950 24 min 100% 98% 99% 98%
54 Perl #2 6 min 12,116 570 26 min 100% 100% 100% 100%
62 VW Smalltalk 7 min 54,936 916 7 min 0% 0% 0% 100%
99 Lua 11 min 1,224 462 12 min 0% 0% 0% 100%
171 Perl #3 20 min 5,264 427 20 min 0% 100% 0% 0%
173 Ruby 20 min 25,200 384 21 min 100% 0% 0% 0%
176 Python 3 #6 21 min 7,928 385 21 min 100% 0% 0% 0%
232 Perl 28 min 5,060 457 28 min 0% 100% 1% 1%
495 Matz's Ruby #2 59 min 16,720 1444 3h 51 min 95% 94% 100% 97%
  Matz's Ruby 2h 53 min 4,624 384 2h 54 min 100% 0% 0% 0%
Haskell GHC #3 Make Error
Ruby #2 Failed