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 Ada 2005 GNAT #3 9.82 4,448 2113 39.13 100% 100% 100% 100%
1.1 Swift #3 9.94 7,800 1102 39.29 100% 100% 98% 98%
1.2 Rust #3 10.09 1,876 1020 39.42 100% 93% 100% 99%
1.2 C++ g++ #5 10.62 2,040 980 41.91 100% 95% 100% 100%
1.4 Rust #2 12.16 1,892 1191 47.72 94% 100% 99% 100%
1.4 Chapel 12.22 4,128 728 48.61 100% 100% 100% 99%
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.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.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 #7 16.76 36,944 953 65.14 97% 95% 99% 98%
1.9 F# .NET Core #8 16.95 37,124 949 66.00 97% 100% 95% 98%
2.0 C# .NET Core #6 17.48 33,452 1068 69.42 99% 99% 99% 100%
2.0 Java  17.74 31,900 1282 69.78 99% 98% 99% 98%
2.0 F# .NET Core #6 17.81 35,560 1025 69.33 99% 98% 97% 95%
2.1 Free Pascal 17.90 1,984 1050 71.35 100% 100% 100% 100%
2.2 C# .NET Core #5 19.08 33,352 1049 73.96 99% 99% 91% 99%
2.2 C# .NET Core #4 19.20 35,640 1172 75.74 98% 98% 99% 100%
2.3 F# .NET Core #5 19.78 36,940 912 77.97 99% 98% 98% 99%
2.3 C# .NET Core #3 20.40 33,832 1096 80.35 98% 100% 100% 98%
2.6 C gcc #4 22.64 868 1183 22.64 1% 0% 0% 100%
2.8 F# .NET Core #3 24.18 37,248 945 89.36 99% 99% 85% 87%
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.6 Swift 57.54 4,556 451 57.53 0% 0% 0% 100%
6.9 Haskell GHC #4 60.19 3,932 665 239.54 99% 100% 100% 99%
7.4 C# .NET Core #2 64.57 34,244 564 64.56 1% 0% 1% 100%
7.6 F# .NET Core #4 66.68 35,456 612 66.68 100% 0% 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.53 34,164 520 78.52 100% 1% 1% 0%
9.3 Node js #4 81.46 31,512 473 81.44 18% 82% 0% 0%
9.7 F# .NET Core #2 84.89 35,116 548 84.89 0% 100% 1% 0%
9.8 OCaml #2 85.36 1,812 473 85.34 1% 100% 0% 0%
10 Dart #2 86.89 28,864 495 86.92 1% 9% 91% 1%
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.65 31,556 471 100.63 0% 0% 41% 59%
12 Erlang HiPE 103.25 20,880 1038 6 min 97% 94% 100% 99%
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 31,680 454 116.47 0% 0% 1% 100%
15 Truffle Ruby 134.27 343,644 384 155.01 6% 11% 7% 93%
16 TypeScript 140.37 31,452 445 140.34 100% 1% 2% 1%
25 F# .NET Core 220.06 65,828 551 222.62 84% 7% 6% 5%
26 Hack #3 229.01 114,892 1160 15 min 99% 99% 100% 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%
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%
64 Python 3 #4 9 min 47,276 1080 36 min 100% 99% 100% 98%
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%
99 Hack #2 14 min 113,468 440 14 min 4% 38% 60% 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%
284 Python 3 #6 41 min 7,788 559 41 min 0% 0% 1% 100%
288 Hack 41 min 114,332 532 41 min 1% 98% 2% 0%
  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