The Computer Language
Benchmarks Game

fannkuch-redux

program source code, command-line and measurements

× source secs mem gz cpu cpu load
1.0 Ruby 34 min 8,780 384 34 min 76% 1% 5% 20%
1.0 Ruby JRuby 14 min 751,852 384 14 min 88% 1% 1% 12%
1.0 Python 3 #6 40 min 10,008 385 40 min 0% 54% 47% 1%
1.1 Perl #3 29 min 3,756 427 29 min 13% 41% 1% 46%
1.1 Hack #2 14 min 86,260 440 14 min 3% 87% 1% 11%
1.1 PHP #2 16 min 8,708 441 16 min 0% 0% 0% 100%
1.2 Swift 58.60 7,140 451 58.59 0% 1% 100% 0%
1.2 Perl 39 min 3,796 457 39 min 8% 1% 0% 92%
1.2 Lua 23 min 1,460 462 23 min 0% 100% 1% 0%
1.2 Node.js 108.91 30,228 471 108.89 0% 1% 0% 100%
1.2 Node.js #4 89.85 30,216 473 89.83 100% 1% 0% 0%
1.2 OCaml #2 85.49 1,856 473 85.47 0% 1% 0% 100%
1.3 PHP 24 min 9,112 482 24 min 12% 5% 7% 90%
1.3 Dart #2 91.29 44,168 495 91.77 45% 48% 8% 0%
1.3 C gcc 72.31 812 508 72.30 100% 0% 1% 0%
1.3 Java  #2 71.99 32,132 514 72.14 1% 0% 0% 100%
1.3 Lisp SBCL #2 94.89 18,344 517 94.88 67% 1% 0% 34%
1.4 C# .NET Core 79.45 31,700 520 79.43 100% 0% 1% 0%
1.4 OCaml 99.94 1,836 524 99.92 0% 99% 2% 0%
1.4 Hack 39 min 86,416 532 39 min 8% 30% 1% 63%
1.4 F# .NET Core #2 85.48 35,400 548 85.46 0% 24% 77% 0%
1.4 F# .NET Core 218.87 62,512 551 227.04 24% 30% 27% 24%
1.5 Haskell GHC 8 min 5,776 559 10 min 54% 26% 16% 31%
1.5 C# .NET Core #2 52.77 31,172 564 52.76 100% 0% 1% 0%
1.5 C gcc #3 47.88 896 567 47.87 0% 0% 1% 100%
1.5 Perl #2 9 min 11,260 570 36 min 96% 99% 95% 97%
1.5 C++ g++ #3 68.24 900 593 68.23 0% 0% 0% 100%
1.6 Fortran Intel 69.43 1,412 599 69.41 0% 1% 100% 0%
1.6 F# .NET Core #4 68.87 34,816 612 68.86 100% 0% 1% 0%
1.6 TypeScript 147.38 30,400 621 147.36 0% 0% 0% 100%
1.6 TypeScript #2 140.76 30,404 626 140.73 35% 2% 1% 65%
1.7 Racket 5 min 24,480 649 5 min 31% 44% 27% 1%
1.7 Haskell GHC #4 59.48 3,888 665 236.69 99% 99% 99% 100%
1.8 Lisp SBCL #5 55.91 46,576 681 55.89 0% 9% 92% 0%
1.9 Chapel 11.22 4,000 728 44.58 100% 99% 100% 100%
2.1 Haskell GHC #2 164.82 6,440 808 235.70 34% 22% 46% 44%
2.2 Lisp SBCL #3 75.52 33,632 826 75.50 0% 1% 100% 0%
2.2 Haskell GHC #5 61.90 4,116 842 61.90 0% 100% 1% 0%
2.3 Go #2 14.45 3,204 896 57.72 100% 100% 100% 100%
2.3 Go 14.44 1,560 900 57.53 100% 100% 100% 100%
2.4 Racket #2 294.97 24,488 903 294.97 98% 2% 1% 0%
2.4 C gcc #5 8.66 980 910 34.22 100% 97% 100% 100%
2.4 F# .NET Core #5 19.36 36,856 912 76.23 99% 100% 99% 99%
2.4 Smalltalk VW 11 min 53,736 927 11 min 1% 100% 1% 1%
2.5 F# .NET Core #3 24.16 37,096 945 87.20 94% 86% 83% 99%
2.5 Python 3 #4 9 min 15,528 950 36 min 95% 94% 95% 100%
2.6 C++ g++ #5 10.61 2,044 980 41.90 100% 96% 100% 100%
2.6 OCaml #4 16.53 ? 1004 ? 100% 100% 100% 100%
2.6 OCaml #3 16.12 ? 1017 ? 100% 100% 100% 100%
2.7 Rust #3 11.04 1,768 1020 43.14 96% 99% 98% 99%
2.7 Erlang HiPE 103.25 20,880 1038 6 min 97% 94% 100% 99%
2.7 C# .NET Core #5 14.44 32,724 1049 55.77 97% 92% 98% 99%
2.7 Pascal Free Pascal 17.94 1,884 1050 71.36 100% 100% 100% 99%
2.8 C++ g++ 14.25 2,020 1059 55.84 99% 95% 99% 100%
2.8 C# .NET Core #6 14.53 32,708 1068 57.81 100% 100% 99% 99%
2.9 Racket #3 82.36 24,740 1096 5 min 99% 99% 100% 96%
2.9 C# .NET Core #3 20.05 32,884 1096 79.00 98% 100% 100% 98%
2.9 Swift #3 10.08 7,920 1102 39.91 98% 100% 98% 100%
2.9 Haskell GHC #6 15.40 3,368 1113 60.35 100% 99% 99% 95%
3.0 C++ g++ #7 25.36 852 1150 25.35 0% 1% 0% 100%
3.0 Fortran Intel #3 12.93 10,848 1158 51.60 100% 100% 100% 100%
3.0 Haskell GHC #3 15.51 7,316 1159 60.50 100% 99% 95% 97%
3.0 PHP #3 244.56 33,692 1160 16 min 100% 100% 100% 100%
3.0 Hack #3 226.71 86,800 1160 14 min 100% 99% 99% 99%
3.1 C# .NET Core #4 18.95 33,008 1172 74.98 99% 99% 99% 100%
3.1 C gcc #4 22.66 852 1183 22.65 0% 100% 1% 0%
3.1 Rust #2 12.82 1,896 1191 50.05 100% 95% 99% 98%
3.3 Java #3 67.43 31,880 1257 67.60 0% 100% 0% 1%
3.3 Java 17.26 32,116 1282 67.75 98% 99% 97% 99%
3.7 Ruby JRuby #2 8 min 786,812 1426 33 min 96% 91% 94% 100%
3.7 Ruby #2 11 min 33,348 1426 46 min 99% 99% 95% 97%
3.7 C++ g++ #4 12.99 2,176 1439 50.85 99% 100% 100% 94%
3.8 C++ g++ #2 13.02 2,252 1440 50.96 100% 100% 99% 94%
4.0 Lisp SBCL #4 16.90 33,672 1527 65.55 100% 98% 91% 99%
4.1 C gcc #2 15.50 948 1557 60.65 96% 99% 97% 100%
5.5 Ada 2005 GNAT #3 10.23 4,504 2113 40.77 100% 100% 99% 100%