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.11 7,996 1102 40.21 99% 100% 100% 100%
1.2 Ada 2005 GNAT #3 10.23 4,504 2113 40.77 100% 100% 99% 100%
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.4 Rust #2 12.07 1,832 1191 47.32 99% 100% 95% 99%
1.5 Fortran Intel #3 12.93 10,848 1158 51.60 100% 100% 100% 100%
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 C# .NET Core #5 14.44 32,724 1049 55.77 97% 92% 98% 99%
1.7 C# .NET Core #6 14.53 32,708 1068 57.81 100% 100% 99% 99%
1.7 Go 14.72 1,540 900 58.65 100% 100% 99% 100%
1.7 Go #2 14.94 10,788 896 59.53 100% 100% 100% 100%
1.8 Haskell GHC #6 15.41 3,280 1113 60.92 99% 98% 100% 100%
1.8 C gcc #2 15.50 948 1557 60.65 96% 99% 97% 100%
1.8 Lisp SBCL #4 15.69 32,332 1527 60.61 97% 92% 98% 99%
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%
1.9 F# .NET Core #8 16.71 36,616 949 65.09 99% 95% 98% 99%
2.1 Free Pascal 17.90 1,984 1050 71.35 100% 100% 100% 100%
2.1 Java  18.27 31,820 1282 72.06 99% 99% 98% 98%
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 Lisp SBCL #5 52.72 44,336 681 52.71 0% 84% 17% 0%
6.1 C# .NET Core #2 52.77 31,172 564 52.76 100% 0% 1% 0%
6.8 Swift 58.76 4,568 451 58.75 82% 19% 0% 0%
7.0 Haskell GHC #4 60.19 3,932 665 239.54 99% 100% 100% 99%
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 Lisp SBCL #3 69.25 31,944 826 69.24 100% 1% 0% 0%
8.0 Fortran Intel 69.43 1,412 599 69.41 0% 1% 100% 0%
8.2 Java #3 70.63 31,804 1257 70.82 1% 1% 1% 100%
8.4 C gcc 72.31 812 508 72.30 100% 0% 1% 0%
8.8 Java #2 76.53 32,176 514 76.67 25% 0% 0% 75%
9.2 C# .NET Core 79.45 31,700 520 79.43 100% 0% 1% 0%
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.63 30,960 473 89.61 0% 100% 0% 1%
11 Racket #3 91.11 23,348 1101 5 min 90% 90% 90% 100%
11 Dart #2 91.29 44,168 495 91.77 45% 48% 8% 0%
11 Lisp SBCL #2 95.94 18,320 517 95.92 0% 77% 23% 0%
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 109.14 31,028 471 109.12 100% 0% 0% 0%
16 Truffle Ruby 134.27 343,644 384 155.01 6% 11% 7% 93%
16 TypeScript #2 139.53 31,248 454 139.51 0% 97% 4% 0%
17 TypeScript 147.23 31,044 445 147.21 100% 0% 1% 0%
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 292.79 23,304 908 292.87 0% 1% 1% 100%
35 Racket 5 min 23,284 649 5 min 0% 39% 62% 0%
57 Haskell GHC 8 min 6,180 559 10 min 28% 37% 22% 44%
62 JRuby #2 8 min 782,020 1432 34 min 96% 98% 100% 91%
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%
78 Ruby #2 11 min 30,416 1432 43 min 98% 100% 100% 92%
80 VW Smalltalk 11 min 53,736 927 11 min 1% 100% 1% 1%
95 JRuby 13 min 799,468 384 13 min 25% 51% 13% 14%
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%
229 Ruby 32 min 8,828 384 32 min 1% 64% 36% 0%
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%
Haskell GHC #3 Make Error
Haskell GHC #5 Make Error
Haskell GHC #2 Make Error
Matz's Ruby Timed Out
Matz's Ruby #2 Failed
Truffle Ruby #2 Failed
Rust #3 Make Error