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.72 980 910 34.43 98% 97% 100% 100%
1.1 Rust #3 9.60 1,752 1020 37.68 100% 96% 99% 99%
1.1 Rust #4 9.60 1,736 1020 37.68 100% 100% 100% 94%
1.1 Ada 2012 GNAT #3 9.82 4,448 2113 39.13 100% 100% 100% 100%
1.1 Swift #3 9.98 7,596 1102 39.50 99% 98% 100% 100%
1.2 C++ g++ #5 10.62 2,040 980 41.91 100% 95% 100% 100%
1.4 Chapel 12.07 4,556 728 48.05 100% 100% 100% 100%
1.4 Rust #2 12.15 1,888 1191 47.60 99% 99% 94% 100%
1.6 C++ g++ 14.25 2,000 1059 55.76 100% 99% 94% 99%
1.7 Fortran Intel #3 14.43 11,104 1158 57.59 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.55 952 1557 60.73 96% 97% 98% 100%
1.8 Lisp SBCL #4 15.69 32,332 1527 60.61 97% 92% 98% 99%
1.9 OCaml #3 16.14 ? 1017 ? 100% 100% 100% 100%
1.9 OCaml #4 16.54 ? 1004 ? 100% 100% 100% 100%
1.9 F# .NET Core #8 16.84 37,296 949 65.43 99% 98% 95% 97%
2.0 F# .NET Core #7 17.21 37,356 953 67.01 98% 100% 95% 97%
2.0 C# .NET Core #6 17.47 33,448 1068 69.43 100% 99% 99% 100%
2.0 Java  17.74 31,900 1282 69.78 99% 98% 99% 98%
2.0 Go 17.82 1,472 900 71.03 100% 100% 100% 100%
2.0 F# .NET Core #6 17.84 35,924 1025 69.40 98% 99% 98% 95%
2.1 Free Pascal 17.90 1,984 1050 71.35 100% 100% 100% 100%
2.1 Go #2 18.03 11,368 896 71.87 100% 100% 100% 100%
2.2 C# .NET Core #4 18.86 36,004 1172 74.51 99% 99% 100% 98%
2.2 C# .NET Core #5 19.07 33,540 1049 73.95 91% 99% 100% 98%
2.3 F# .NET Core #5 19.81 37,400 912 77.96 98% 98% 98% 100%
2.4 C# .NET Core #3 20.57 33,784 1096 81.13 99% 98% 98% 99%
2.6 C gcc #4 22.64 868 1183 22.64 1% 0% 0% 100%
2.8 F# .NET Core #3 24.83 37,492 945 89.29 98% 99% 81% 82%
2.9 C++ g++ #7 25.37 812 1150 25.37 0% 0% 1% 100%
3.1 Java AOT 26.72 5,664 1282 105.93 98% 100% 99% 100%
5.5 C gcc #3 47.88 868 567 47.87 100% 1% 1% 0%
5.8 Truffle Ruby #2 51.02 457,624 1454 193.52 94% 93% 96% 96%
6.0 Lisp SBCL #5 52.72 44,336 681 52.71 0% 84% 17% 0%
6.9 Swift 59.80 4,700 451 59.79 1% 0% 100% 0%
6.9 Haskell GHC #4 60.19 3,932 665 239.54 99% 100% 100% 99%
7.4 C# .NET Core #2 64.58 34,460 564 64.57 100% 0% 1% 1%
7.6 F# .NET Core #4 66.71 36,220 612 66.70 1% 100% 0% 0%
7.7 Fortran Intel 67.48 1,900 599 67.47 0% 0% 100% 0%
7.8 C++ g++ #3 68.27 816 593 68.25 1% 0% 1% 100%
7.9 Lisp SBCL #3 69.25 31,944 826 69.24 100% 1% 0% 0%
7.9 Java #2 69.35 32,036 514 69.49 96% 1% 0% 4%
8.1 Java #3 70.81 31,740 1257 71.00 1% 89% 11% 1%
8.4 C gcc 73.11 824 508 73.09 1% 0% 100% 0%
9.0 C# .NET Core 78.54 34,608 520 78.52 0% 100% 1% 0%
9.2 Erlang HiPE 80.09 23,912 1038 5 min 97% 100% 97% 99%
9.3 Node js #4 80.78 31,176 473 80.76 0% 0% 1% 100%
9.7 F# .NET Core #2 84.92 35,468 548 84.91 73% 0% 18% 10%
9.8 OCaml #2 85.36 1,812 473 85.34 1% 100% 0% 0%
10 Racket #3 91.11 23,348 1101 5 min 90% 90% 90% 100%
11 Lisp SBCL #2 95.94 18,320 517 95.92 0% 77% 23% 0%
11 OCaml 96.49 1,780 524 96.47 1% 0% 100% 0%
12 Node js 100.91 31,176 471 100.89 1% 0% 87% 13%
12 Java AOT #3 105.99 5,572 1257 105.97 0% 62% 38% 0%
13 Java AOT #2 114.22 5,552 514 114.20 0% 1% 100% 0%
13 TypeScript #2 116.49 30,892 454 116.47 1% 100% 0% 0%
15 Truffle Ruby 134.27 343,644 384 155.01 6% 11% 7% 93%
16 TypeScript 139.77 30,672 445 139.74 66% 0% 0% 35%
22 Dart #2 195.39 138,140 495 195.81 26% 2% 74% 1%
24 F# .NET Core 209.27 65,904 551 211.80 81% 8% 8% 6%
27 PHP #3 233.57 34,748 1160 15 min 100% 99% 100% 99%
29 Hack #3 248.88 131,976 1163 16 min 98% 98% 97% 100%
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%
56 Haskell GHC 8 min 6,180 559 10 min 28% 37% 22% 44%
58 JRuby #2 8 min 785,604 1432 31 min 91% 97% 92% 94%
63 Python 3 #4 9 min 48,052 950 36 min 99% 100% 97% 100%
65 Perl #2 9 min 11,260 570 36 min 96% 99% 95% 97%
67 Ruby #2 9 min 36,872 1454 37 min 99% 94% 99% 99%
81 VW Smalltalk 11 min 54,888 947 11 min 27% 7% 1% 67%
101 Hack #2 14 min 130,712 440 14 min 0% 100% 1% 0%
104 PHP #2 15 min 8,892 441 15 min 0% 92% 9% 0%
104 JRuby 15 min 768,860 384 15 min 38% 49% 10% 7%
159 Lua 23 min 1,460 462 23 min 0% 100% 1% 0%
161 PHP 23 min 9,360 482 23 min 1% 0% 0% 100%
186 Ruby 26 min 11,996 384 27 min 2% 99% 2% 1%
205 Perl #3 29 min 3,756 427 29 min 13% 41% 1% 46%
273 Perl 39 min 3,796 457 39 min 8% 1% 0% 92%
287 Hack 41 min 130,468 532 41 min 4% 0% 1% 96%
293 Python 3 #6 42 min 7,620 385 42 min 40% 0% 0% 61%
  Matz's Ruby 5h 31 min 4,716 384 5h 31 min 6% 68% 17% 11%
C++ g++ #2 Make Error
C++ g++ #4 Make Error
Haskell GHC #3 Make Error
Haskell GHC #5 Make Error
Haskell GHC #2 Make Error
Matz's Ruby #2 Failed