The Computer Language
Benchmarks Game

fannkuch-redux

program source code, command-line and measurements

× source secs mem gz cpu cpu load
1.0 C++ g++ #7 24.05 780 1150 24.04 100% 1% 1% 0%
1.0 C gcc #4 24.64 816 1183 24.63 1% 1% 1% 100%
1.5 C gcc #5 9.07 1,576 910 35.43 100% 99% 98% 94%
1.7 Ada 2005 GNAT #3 10.19 4,140 2100 40.60 100% 100% 100% 100%
1.7 C++ g++ #5 10.58 2,520 950 41.88 100% 100% 99% 98%
1.8 Rust #3 10.80 20,028 1020 43.07 100% 100% 100% 100%
1.9 Swift #3 11.44 6,900 1102 45.27 100% 100% 98% 98%
2.1 Fortran Intel #3 12.45 12,236 1148 49.60 100% 100% 100% 100%
2.1 C++ g++ #4 13.17 1,944 1439 51.41 93% 100% 98% 100%
2.2 Rust #2 13.31 17,980 1191 51.98 98% 99% 95% 100%
2.2 C++ g++ #2 13.36 1,928 1440 52.26 99% 98% 100% 94%
2.2 Chapel 13.25 33,972 728 52.74 100% 99% 100% 99%
2.3 C# .NET Core #2 54.16 41,064 564 54.14 0% 1% 1% 100%
2.3 C gcc #2 14.01 928 1557 54.57 95% 97% 100% 98%
2.3 C gcc #3 55.91 812 567 55.90 68% 1% 1% 32%
2.4 Swift 56.89 4,292 451 56.87 0% 0% 100% 0%
2.4 C++ g++ #3 56.91 740 593 56.90 1% 100% 0% 1%
2.4 Lisp SBCL #5 56.93 52,764 674 56.92 1% 100% 0% 1%
2.4 C++ g++ 14.69 1,852 1059 57.46 94% 99% 98% 100%
2.6 Go 15.84 1,384 900 63.01 99% 100% 100% 100%
2.7 Fortran Intel 64.80 1,428 590 64.78 1% 100% 0% 1%
2.7 Scala #2 16.81 47,716 1017 65.32 96% 99% 97% 98%
2.7 Lisp SBCL #4 16.81 49,124 1518 65.36 99% 98% 97% 95%
2.8 F# .NET Core #4 66.57 39,924 612 66.55 100% 1% 1% 0%
2.8 Haskell GHC #3 17.00 6,948 1153 66.65 95% 100% 98% 99%
2.8 Java  #3 67.97 27,916 1257 68.01 1% 100% 0% 1%
2.9 Java 17.74 30,048 1282 69.90 98% 98% 100% 99%
3.0 Pascal Free Pascal 17.90 1,720 1018 71.36 100% 100% 100% 100%
3.0 Java #2 72.10 28,380 514 72.14 0% 100% 1% 0%
3.1 C# .NET Core #4 18.91 39,160 1172 74.75 99% 99% 98% 99%
3.1 Haskell GHC #6 19.08 7,688 1110 74.84 96% 100% 98% 100%
3.2 Clojure #3 19.84 72,936 1491 76.27 99% 96% 95% 95%
3.2 Lisp SBCL #3 76.86 38,788 821 76.84 100% 1% 1% 1%
3.3 Node.js #4 78.41 27,192 473 78.39 1% 1% 100% 1%
3.3 C gcc 78.88 816 508 78.86 0% 1% 1% 100%
3.3 C# .NET Core 78.96 40,976 520 78.94 1% 100% 0% 1%
3.3 C# .NET Core #3 20.31 36,740 1096 80.11 99% 100% 98% 98%
3.5 OCaml #2 85.22 4,116 473 85.20 1% 100% 1% 1%
3.6 Haskell GHC #5 21.99 9,888 834 86.85 100% 97% 99% 100%
3.6 F# .NET Core #2 87.40 37,940 548 87.38 0% 100% 1% 1%
3.7 Haskell GHC #4 81.65 8,672 665 90.00 54% 21% 26% 11%
3.8 Scala 90.62 42,812 459 90.72 1% 1% 100% 0%
3.8 Node.js 91.74 27,280 471 91.71 1% 1% 1% 100%
3.8 Dart #2 91.63 48,584 495 92.20 1% 1% 100% 1%
4.0 Lisp SBCL #2 96.19 23,188 513 96.16 0% 1% 0% 100%
4.0 F# .NET Core #3 27.05 44,236 945 96.49 99% 82% 96% 81%
4.1 OCaml 99.19 2,084 524 99.16 1% 0% 1% 100%
7.7 Clojure #2 60.88 71,156 1088 184.38 75% 77% 76% 74%
9.6 F# .NET Core 221.43 71,672 551 230.61 68% 21% 7% 11%
12 Racket #2 288.08 18,100 903 288.13 13% 53% 4% 33%
12 Racket 297.69 18,020 649 297.73 1% 93% 4% 4%
13 Racket #3 77.55 18,464 1096 5 min 97% 100% 98% 100%
19 Erlang HiPE 117.45 22,708 1038 7 min 98% 100% 97% 97%
23 Haskell GHC #2 186.74 10,356 808 9 min 74% 74% 74% 74%
24 Ruby JRuby 9 min 687,080 384 9 min 8% 12% 35% 49%
27 Haskell GHC 8 min 9,372 553 10 min 22% 48% 39% 26%
28 Erlang 174.59 35,840 1038 11 min 99% 100% 96% 98%
35 Hack #3 216.95 118,448 1150 14 min 98% 99% 96% 100%
53 PHP #3 5 min 29,140 1150 21 min 100% 100% 99% 100%
69 Ruby JRuby #2 7 min 690,372 1426 27 min 99% 91% 81% 88%
82 Python 3 #4 8 min 54,708 944 32 min 98% 97% 100% 99%
86 Perl #2 8 min 12,832 565 34 min 98% 97% 100% 98%
115 Ruby #2 11 min 33,348 1426 46 min 99% 99% 95% 97%
Hack #2 Partial
Hack Partial
Lua Partial
OCaml #4 Partial
OCaml #3 Partial
Perl #3 Partial
Perl Partial
PHP #2 Partial
PHP Partial
Python 3 #6 Partial
Ruby Partial
TypeScript Partial
TypeScript #2 Partial
Smalltalk VW Partial