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 916 910 34.23 100% 100% 95% 99%
1.1 Ada 2012 GNAT #3 9.81 4,332 2113 39.11 100% 100% 100% 100%
1.1 Rust #4 9.87 1,848 1020 38.71 100% 95% 100% 100%
1.1 Rust #3 9.92 1,812 1020 38.67 99% 92% 99% 100%
1.2 C++ g++ #5 10.07 1,856 980 39.66 99% 100% 100% 95%
1.2 Swift #3 10.16 7,628 1102 40.15 98% 100% 98% 100%
1.4 Rust #2 11.90 2,012 1191 46.58 100% 95% 99% 98%
1.4 Fortran Intel #3 12.59 10,980 1158 50.24 100% 100% 100% 100%
1.8 Lisp SBCL #4 15.56 32,324 1527 60.25 100% 93% 99% 98%
1.8 C gcc #2 15.80 932 1557 61.88 100% 99% 94% 98%
1.8 Chapel 16.00 4,516 728 63.55 100% 100% 100% 99%
1.9 OCaml #3 16.24 ? 1017 ? 100% 100% 100% 100%
1.9 OCaml #4 16.53 ? 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 Free Pascal 17.43 1,908 1050 69.34 100% 99% 100% 100%
2.0 C# .NET Core #6 17.47 33,448 1068 69.43 100% 99% 99% 100%
2.0 Go 17.83 1,480 900 71.04 100% 100% 100% 100%
2.0 F# .NET Core #6 17.84 35,924 1025 69.40 98% 99% 98% 95%
2.1 Java  17.91 31,560 1282 70.25 99% 98% 99% 97%
2.1 Go #2 18.07 11,240 896 71.82 99% 100% 100% 99%
2.1 Haskell GHC #5 18.20 4,024 842 71.63 99% 100% 95% 100%
2.1 C++ g++ 18.46 1,876 1059 71.86 100% 94% 99% 97%
2.1 Haskell GHC #6 18.67 4,008 1113 72.77 97% 100% 95% 98%
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 23.04 828 1183 23.03 100% 0% 1% 0%
2.8 C++ g++ #7 23.98 824 1150 23.97 0% 0% 1% 100%
2.8 F# .NET Core #3 24.83 37,492 945 89.29 98% 99% 81% 82%
3.1 Java AOT 26.72 5,664 1282 105.93 98% 100% 99% 100%
5.9 Truffle Ruby #2 51.02 457,624 1454 193.52 94% 93% 96% 96%
6.0 Lisp SBCL #5 52.53 42,340 681 52.52 0% 100% 0% 1%
6.9 Swift 59.91 4,516 451 59.89 100% 0% 0% 0%
7.1 C gcc #3 62.31 824 567 62.29 1% 0% 0% 100%
7.4 C# .NET Core #2 64.58 34,460 564 64.57 100% 0% 1% 1%
7.7 F# .NET Core #4 66.71 36,220 612 66.70 1% 100% 0% 0%
7.7 Lisp SBCL #3 67.00 32,104 826 66.98 0% 100% 1% 0%
7.9 Fortran Intel 68.53 1,896 599 68.51 1% 100% 0% 0%
7.9 C gcc 68.77 764 508 68.75 100% 0% 0% 1%
8.0 Java #3 69.62 31,304 1257 69.77 100% 1% 1% 0%
8.0 C++ g++ #3 69.89 824 593 69.87 100% 0% 0% 1%
8.0 Java #2 70.02 32,024 514 70.15 1% 0% 0% 100%
8.3 Haskell GHC #4 72.38 3,860 665 288.40 100% 100% 100% 100%
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.2 Node js #4 80.41 32,288 473 80.39 0% 13% 1% 87%
9.7 F# .NET Core #2 84.92 35,468 548 84.91 73% 0% 18% 10%
9.8 OCaml #2 85.12 2,788 473 85.10 100% 0% 0% 0%
9.8 Racket #3 85.16 29,444 1101 5 min 96% 100% 93% 96%
11 Lisp SBCL #2 91.85 18,128 517 91.83 1% 100% 0% 1%
11 OCaml 97.32 2,848 524 97.30 0% 100% 1% 0%
11 Haskell GHC #2 98.99 9,520 808 294.22 74% 76% 76% 73%
12 Node js 100.63 32,284 471 100.60 1% 0% 100% 1%
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.16 32,548 454 116.13 100% 0% 0% 1%
15 Truffle Ruby 134.27 343,644 384 155.01 6% 11% 7% 93%
16 TypeScript 142.25 32,524 445 142.23 0% 100% 1% 0%
22 Dart #2 195.42 136,716 495 195.85 25% 76% 2% 5%
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 293.54 29,096 908 293.64 1% 100% 1% 1%
41 Racket 5 min 29,116 649 5 min 18% 70% 1% 15%
52 Haskell GHC 7 min 5,932 559 9 min 30% 61% 12% 19%
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 58,756 1454 37 min 100% 100% 99% 90%
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%
152 Lua 22 min 1,364 462 22 min 1% 0% 100% 1%
161 PHP 23 min 9,360 482 23 min 1% 0% 0% 100%
185 Ruby 26 min 16,000 384 27 min 78% 9% 1% 16%
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
Matz's Ruby #2 Failed