The Q6600
Benchmarks Game

pidigits

Always look at the source code.

Look at the slower simple sequential programs, and  look at the parallel programs written for multicore, and  look at the low-level programs written for SIMD.

× source secs mem gz busy cpu load
1.0 Chapel #4 1.62 6,296 512 1.75 99% 6% 1% 2%
1.0 Chapel #2 1.63 6,164 423 1.73 99% 3% 2% 2%
1.1 Free Pascal #3 1.73 2,324 530 1.77 0% 1% 1% 100%
1.1 Intel Fortran #4 1.74 4,012 981 1.79 0% 100% 0% 2%
1.1 Rust #3 1.75 3,012 1366 1.78 1% 100% 1% 0%
1.1 Ada 2012 GNAT #2 1.75 4,600 1130 1.79 0% 2% 1% 100%
1.1 C gcc 1.75 2,608 452 1.80 67% 0% 2% 33%
1.1 Swift #2 1.75 8,716 600 2.05 5% 100% 12% 1%
1.1 Rust #2 1.75 3,012 1306 1.79 1% 100% 1% 0%
1.1 Rust 1.76 3,004 1420 1.86 100% 0% 6% 0%
1.1 Haskell GHC #5 1.76 6,516 1694 1.79 0% 1% 1% 99%
1.1 OCaml #7 1.76 6,056 593 1.98 100% 6% 3% 4%
1.1 C++ g++ #4 1.82 4,312 513 1.87 1% 1% 2% 100%
1.1 Java  #3 1.83 34,848 764 1.95 99% 1% 4% 2%
1.1 C# .NET Core #6 1.86 33,240 1168 2.35 2% 20% 5% 99%
1.2 F# .NET Core #6 1.87 35,692 905 2.01 4% 2% 4% 98%
1.2 C gcc #2 1.88 2,684 416 1.97 2% 2% 1% 100%
1.3 Go #3 2.04 8,724 603 2.36 20% 32% 33% 31%
1.3 C# .NET Core #5 2.05 37,412 973 2.16 3% 100% 3% 0%
1.3 Julia #3 2.06 169,012 506 2.55 99% 6% 13% 6%
1.3 PHP #5 2.11 9,064 399 2.14 100% 1% 0% 0%
1.3 PHP #3 2.13 9,076 504 2.20 2% 0% 1% 100%
1.3 PHP #4 2.14 9,148 389 2.25 100% 1% 0% 3%
1.4 Julia #2 2.23 174,512 674 2.73 8% 5% 98% 11%
1.4 Racket #2 2.27 36,624 1136 2.30 100% 0% 1% 0%
1.5 Python 3 #3 2.39 12,200 567 2.55 64% 37% 5% 1%
1.6 Node js #5 2.58 36,368 599 2.97 100% 6% 7% 2%
1.7 Go 2.79 10,084 708 2.98 1% 95% 3% 7%
1.8 OCaml #6 2.88 4,344 538 3.02 100% 1% 2% 2%
1.8 Go #2 2.91 9,236 733 3.09 14% 9% 46% 36%
1.8 Haskell GHC #6 3.00 8,284 360 3.84 100% 10% 9% 9%
1.9 Java #2 3.07 38,156 938 3.25 1% 99% 3% 3%
1.9 C# .NET Core #4 3.08 32,600 1121 3.21 22% 80% 1% 1%
1.9 F# .NET Core #4 3.09 37,104 874 3.32 2% 3% 100% 2%
2.0 PHP #2 3.20 9,464 545 3.45 100% 1% 0% 7%
2.0 Ruby #5 3.21 369,020 485 5.35 21% 31% 15% 100%
2.1 Haskell GHC #4 3.47 9,308 348 4.56 10% 12% 100% 10%
2.1 Python 3 #2 3.49 10,544 386 3.66 1% 100% 3% 1%
2.2 Perl #4 3.61 8,548 261 3.69 0% 1% 1% 100%
2.4 Perl #2 3.89 8,576 389 3.97 100% 1% 1% 1%
2.6 Haskell GHC 4.21 9,064 460 5.16 8% 7% 8% 100%
2.6 Haskell GHC #3 4.27 10,040 379 5.92 13% 72% 40% 13%
2.7 Haskell GHC #2 4.42 9,984 585 6.08 72% 14% 40% 12%
3.1 Julia 4.96 227,736 275 5.53 6% 2% 99% 4%
4.6 Python 3 #4 7.47 9,116 342 7.68 100% 1% 0% 1%
5.4 Ruby #2 8.73 197,092 658 12.57 24% 29% 83% 7%
6.7 Free Pascal #2 10.95 2,572 828 11.14 1% 0% 100% 1%
6.7 Ada 2012 GNAT 10.95 4,768 1157 11.07 36% 1% 0% 64%
6.7 OCaml #5 10.96 19,464 458 11.79 4% 1% 100% 2%
6.9 Dart #2 11.28 193,884 500 12.43 97% 4% 7% 2%
7.6 Lisp SBCL #3 12.37 131,624 493 12.55 0% 0% 37% 63%
7.9 Node js #4 12.87 64,824 530 14.30 40% 7% 3% 61%
9.4 VW Smalltalk #4 15.22 55,620 753 15.31 0% 0% 100% 0%
9.8 Perl 15.99 12,272 463 16.53 2% 0% 1% 100%
10 Erlang HiPE #3 16.33 27,624 562 17.76 9% 4% 3% 93%
10 Erlang HiPE #2 16.93 33,840 512 21.08 20% 35% 60% 10%
11 Erlang HiPE 18.15 33,720 559 18.84 75% 2% 2% 26%
12 Java 19.78 199,440 800 21.02 10% 3% 3% 90%
14 Lisp SBCL #2 22.22 142,540 648 22.35 0% 0% 97% 3%
14 Free Pascal 23.39 656 3060 23.75 1% 0% 0% 100%
16 Node js #3 25.43 64,876 553 27.41 2% 2% 100% 5%
17 Racket 27.34 131,288 453 29.39 0% 100% 1% 6%
17 Ruby 28.30 191,788 518 32.44 2% 56% 46% 10%
18 Matz's Ruby 29.43 18,384 518 29.65 100% 0% 0% 0%
333 PHP 9 min 10,364 736 9 min 7% 61% 24% 13%
Lua #7 Failed
Lua Failed
Lua #5 Failed
Matz's Ruby #5 Failed
Matz's Ruby #2 Failed