The Computer Language
Benchmarks Game

fannkuch-redux

program source code, command-line and measurements

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