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.67 852 910 34.14 99% 100% 100% 95%
1.2 Rust #3 10.01 1,864 1020 39.03 100% 92% 99% 100%
1.2 Rust #4 10.01 1,828 1020 39.03 99% 100% 100% 92%
1.2 C++ g++ #5 10.12 1,852 980 39.95 100% 100% 96% 100%
1.2 Ada 2012 GNAT #3 10.13 4,356 2113 40.33 100% 100% 100% 100%
1.2 Swift #3 10.16 7,628 1102 40.15 98% 100% 98% 100%
1.4 Rust #2 11.80 2,024 1191 46.07 94% 98% 100% 100%
1.5 Fortran Intel #3 12.59 10,912 1158 50.24 100% 100% 100% 100%
1.8 Lisp SBCL #4 15.56 32,508 1527 60.18 100% 92% 99% 98%
1.8 C gcc #2 15.80 936 1557 61.72 99% 97% 100% 94%
1.8 Chapel 16.01 4,136 728 63.63 100% 99% 99% 100%
1.9 OCaml #3 16.24 ? 1017 ? 100% 100% 100% 100%
1.9 OCaml #4 16.58 ? 1004 ? 100% 99% 100% 100%
2.0 F# .NET Core #8 17.05 37,756 949 66.34 98% 100% 95% 97%
2.0 F# .NET Core #7 17.22 37,620 953 67.02 95% 97% 98% 100%
2.0 Free Pascal 17.39 1,956 1050 69.33 100% 100% 100% 100%
2.0 C# .NET Core #6 17.46 34,728 1068 69.44 100% 99% 99% 100%
2.1 Go 17.82 1,472 900 71.02 100% 100% 100% 100%
2.1 F# .NET Core #6 17.84 36,548 1025 69.40 95% 98% 97% 100%
2.1 Java  17.98 31,180 1282 70.57 97% 99% 97% 99%
2.1 Go #2 18.02 11,092 896 71.72 99% 100% 100% 100%
2.1 Haskell GHC #5 18.17 4,024 842 71.56 96% 99% 100% 99%
2.1 C++ g++ 18.46 1,880 1059 71.87 99% 100% 97% 94%
2.2 Haskell GHC #6 18.66 4,000 1113 72.81 96% 100% 97% 97%
2.2 C# .NET Core #4 18.90 34,772 1172 74.72 99% 98% 99% 100%
2.2 C# .NET Core #5 19.00 34,508 1049 73.74 99% 99% 99% 91%
2.3 F# .NET Core #5 19.60 37,556 912 76.86 99% 97% 98% 99%
2.4 C# .NET Core #3 20.75 34,664 1096 81.69 98% 98% 99% 99%
2.7 C gcc #4 23.05 828 1183 23.04 1% 100% 0% 1%
2.7 F# .NET Core #3 23.79 37,844 945 89.09 95% 93% 92% 99%
2.8 C++ g++ #7 23.98 820 1150 23.98 0% 100% 1% 0%
3.0 Substrate VM 25.86 4,236 1282 102.58 100% 98% 100% 99%
6.1 Lisp SBCL #5 52.53 42,344 681 52.51 1% 0% 100% 0%
6.3 Julia 54.44 152,000 434 54.74 1% 1% 99% 1%
6.9 Swift 59.91 4,516 451 59.89 100% 0% 0% 0%
7.2 C gcc #3 62.32 764 567 62.30 1% 0% 0% 100%
7.4 C# .NET Core #2 64.59 35,700 564 64.59 1% 100% 0% 1%
7.7 F# .NET Core #4 66.68 37,032 612 66.68 0% 100% 1% 0%
7.7 Lisp SBCL #3 66.99 32,312 826 66.98 0% 100% 0% 0%
7.9 Fortran Intel 68.53 1,852 599 68.51 1% 100% 1% 0%
7.9 C gcc 68.85 828 508 68.83 1% 0% 0% 100%
8.1 C++ g++ #3 69.92 824 593 69.91 0% 0% 100% 1%
8.1 Java #3 69.95 31,204 1257 70.09 0% 1% 1% 100%
8.1 Java #2 70.02 31,680 514 70.16 0% 100% 1% 0%
8.2 Haskell GHC #4 70.91 3,744 665 282.50 100% 100% 100% 100%
9.3 Node js #4 80.72 30,912 473 80.70 49% 0% 1% 51%
9.3 C# .NET Core 80.77 35,700 520 80.77 100% 0% 0% 1%
9.5 Truffle Ruby #2 82.26 464,620 1454 257.40 60% 99% 56% 99%
9.6 Racket #3 83.46 41,092 1101 5 min 97% 99% 99% 99%
9.8 OCaml #2 85.20 2,824 473 85.18 0% 0% 0% 100%
10 Dart app-jit #2 86.61 73,768 495 86.73 1% 100% 1% 0%
10 F# .NET Core #2 86.84 36,664 548 86.84 1% 100% 0% 0%
10 Dart #2 86.86 118,780 495 87.33 0% 1% 100% 1%
10 Erlang HiPE 89.99 23,220 1038 5 min 100% 100% 100% 100%
11 Lisp SBCL #2 91.85 18,340 517 91.83 0% 100% 0% 0%
11 OCaml 97.36 2,868 524 97.33 0% 1% 1% 100%
11 Haskell GHC #2 98.54 9,180 808 294.92 76% 74% 74% 76%
12 Substrate VM #3 100.78 4,064 1257 100.75 0% 100% 1% 0%
12 Node js 100.79 30,936 471 100.77 100% 0% 1% 1%
13 Substrate VM #2 114.63 3,972 514 114.61 0% 100% 0% 0%
13 TypeScript #2 116.25 31,180 454 116.22 0% 1% 0% 100%
15 Truffle Ruby 131.07 326,712 384 151.79 92% 6% 6% 12%
17 TypeScript 143.19 30,904 445 143.16 0% 15% 86% 0%
25 F# .NET Core 220.24 67,388 551 222.88 90% 4% 5% 5%
26 PHP #3 227.59 35,536 1160 15 min 100% 99% 99% 100%
34 Racket #2 292.05 40,232 908 292.07 81% 0% 1% 19%
37 Racket 5 min 39,376 649 5 min 0% 0% 1% 100%
53 Haskell GHC 7 min 5,844 559 9 min 30% 51% 15% 27%
55 JRuby #2 7 min 790,640 1432 30 min 95% 96% 93% 98%
59 Python 3 #4 8 min 50,988 950 33 min 99% 99% 97% 99%
62 Perl #2 8 min 11,100 570 35 min 100% 100% 100% 100%
63 Ruby #2 9 min 14,968 1454 35 min 94% 97% 97% 100%
81 VW Smalltalk 11 min 54,604 947 11 min 0% 100% 0% 0%
95 JRuby 13 min 797,584 384 13 min 45% 10% 14% 34%
104 PHP #2 14 min 9,460 441 14 min 1% 100% 1% 2%
162 Lua 23 min 1,404 462 23 min 75% 0% 1% 25%
164 PHP 23 min 9,736 482 23 min 38% 27% 1% 36%
196 Ruby 28 min 15,700 384 28 min 28% 31% 32% 14%
205 Perl #3 29 min 4,664 427 29 min 0% 85% 16% 0%
244 Python 3 #6 35 min 7,392 385 35 min 45% 24% 1% 32%
260 Perl 37 min 4,676 457 37 min 70% 23% 1% 8%
  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