n-body 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 Intel Fortran #3 22.26 8 1305 23.72 5% 100% 0% 1% 1.0 C gcc #8 7.30 8 1391 7.41 0% 1% 100% 0% 1.0 Free Pascal #3 24.55 8 1435 24.80 0% 1% 100% 0% 1.0 Intel Fortran 19.66 8 1393 21.28 7% 100% 1% 1% 1.0 Intel Fortran #6 8.29 8 1524 8.61 1% 0% 2% 100% 1.0 Intel Fortran #2 19.69 8 1500 20.45 100% 1% 1% 2% 1.0 Intel Fortran #5 9.10 8 1664 10.26 9% 8% 95% 1% 1.0 Free Pascal 21.79 8 1325 21.99 100% 1% 0% 0% 1.0 Free Pascal #2 22.44 8 1339 22.68 0% 1% 100% 0% 1.0 Intel Fortran #4 21.75 8 1179 23.21 100% 0% 1% 6% 75 C++ g++ #4 23.68 600 1428 23.90 0% 0% 1% 100% 75 C gcc #5 23.82 600 1429 23.97 100% 0% 0% 0% 86 Rust #8 13.38 684 1767 13.51 100% 1% 0% 0% 86 Rust #3 20.08 688 1540 20.21 1% 0% 0% 100% 86 Rust #7 5.98 688 1753 6.02 0% 1% 100% 0% 86 Rust 13.00 688 1480 13.15 100% 0% 0% 1% 86 Rust #5 20.15 688 2220 20.74 0% 2% 1% 100% 86 Rust #2 13.24 688 1805 13.37 0% 0% 1% 100% 86 Rust #6 20.34 688 1790 20.99 2% 1% 0% 100% 86 Rust #4 18.48 688 1803 18.62 0% 0% 100% 0% 116 C++ g++ 19.71 924 1659 19.95 0% 1% 100% 0% 116 C++ g++ #9 7.92 924 1773 8.00 0% 1% 100% 0% 116 C gcc #4 8.73 928 1490 8.82 100% 0% 0% 1% 116 C gcc #2 25.43 928 1263 25.69 100% 0% 0% 1% 116 C++ g++ #6 19.75 928 1668 19.95 0% 1% 100% 0% 116 C gcc #3 21.12 928 1208 21.35 100% 0% 0% 1% 116 C++ g++ #8 8.06 928 1765 8.19 100% 1% 1% 0% 116 C gcc #6 24.30 928 1180 24.55 0% 1% 100% 0% 116 C gcc 24.13 928 1173 24.44 0% 0% 100% 1% 116 C gcc #7 23.01 928 1244 23.25 0% 1% 100% 0% 136 Lua #2 5 min 1,084 1193 5 min 0% 4% 1% 100% 144 Lua 5 min 1,152 1201 5 min 3% 1% 20% 81% 153 Lua #4 292.55 1,224 1305 5 min 60% 22% 2% 21% 171 OCaml 21.67 1,368 1251 23.26 3% 1% 100% 4% 202 C++ g++ #2 7.70 1,612 1879 7.81 100% 0% 1% 1% 202 C++ g++ #3 8.06 1,612 1763 8.20 100% 1% 0% 1% 202 C++ g++ #7 8.08 1,612 1808 8.17 1% 0% 0% 100% 202 C++ g++ #5 13.30 1,612 1749 13.44 100% 0% 0% 1% 223 Ada 2012 GNAT #5 15.63 1,784 2447 15.81 78% 0% 0% 23% 223 Ada 2012 GNAT #2 9.71 1,784 2617 9.89 1% 0% 100% 1% 224 Ada 2012 GNAT 28.28 1,788 1618 28.66 0% 1% 100% 0% 224 Ada 2012 GNAT #3 23.84 1,788 1750 24.07 0% 1% 100% 0% 235 Go #3 25.68 1,880 1200 26.54 1% 0% 100% 3% 236 Go #2 26.77 1,884 1215 28.14 80% 3% 1% 21% 236 Go 21.26 1,888 1310 22.28 3% 0% 100% 2% 511 Matz's Ruby #2 1h 13 min 4,084 1137 1h 13 min 65% 0% 0% 35% 529 Haskell GHC 23.83 4,232 1706 25.82 1% 5% 3% 100% 549 Haskell GHC #2 21.87 4,388 1883 86.43 98% 100% 98% 99% 688 Chapel #2 21.85 5,504 971 22.52 100% 1% 2% 0% Perl #2 12 min 6,528 1429 12 min 29% 47% 2% 24% Swift #6 24.32 6,536 1194 25.68 100% 3% 2% 1% Swift #2 34.83 6,568 1192 36.79 2% 0% 100% 4% Swift #3 29.88 6,676 1204 31.69 100% 4% 2% 1% PHP #3 5 min 7,716 1082 5 min 21% 4% 43% 37% Python 3 14 min 8,416 1196 15 min 1% 53% 47% 2% Python 3 #2 15 min 8,492 1242 15 min 18% 59% 26% 2% Swift #8 25.88 12,060 1681 27.39 3% 1% 85% 17% Swift #9 7 min 12,060 1526 7 min 72% 12% 4% 20% Swift #4 21.74 12,092 1355 22.86 1% 2% 100% 2% Lisp SBCL #2 26.19 17,660 1403 26.35 91% 9% 0% 0% Lisp SBCL 41.25 17,696 1368 42.58 0% 0% 3% 100% Erlang HiPE #3 191.97 24,504 1399 204.49 37% 33% 26% 11% Ruby #2 6 min 25,112 1137 6 min 92% 2% 4% 9% F# .NET Core #4 22.20 33,660 1290 23.03 0% 100% 1% 3% C# .NET Core #3 21.74 34,000 1305 22.85 0% 0% 32% 73% Java #4 21.85 34,112 1489 22.16 1% 0% 0% 100% Java #3 22.67 34,376 1430 23.12 0% 0% 100% 2% Java #2 23.03 34,392 1424 23.42 1% 92% 8% 1% C# .NET Core #8 22.07 34,404 1343 23.62 67% 34% 5% 1% Java #5 22.76 34,480 1429 23.23 64% 0% 1% 38% Node js #6 26.28 35,412 1268 28.03 2% 0% 4% 100% F# .NET Core #3 24.21 36,316 1617 25.75 5% 0% 100% 1% Java 23.43 36,620 1430 23.74 100% 0% 0% 1% Racket #2 53.89 36,784 1689 56.81 35% 1% 5% 65% F# .NET Core #2 22.68 37,028 1381 24.17 100% 3% 3% 1% Racket 89.28 39,040 1496 94.49 14% 51% 38% 2% VW Smalltalk 199.03 54,988 1782 202.03 1% 91% 9% 1% Dart #3 28.76 122,636 1409 30.80 95% 3% 9% 0% Dart #2 34.83 130,640 1264 37.39 2% 59% 39% 8% Julia #4 23.53 185,272 1155 24.52 54% 1% 2% 47% Julia #3 23.52 191,436 1541 25.00 2% 2% 3% 99% Julia #6 10.02 215,120 1430 10.68 3% 1% 100% 2% Julia #7 9.57 240,732 1112 10.20 2% 70% 32% 3% Julia #2 47.98 241,128 1078 49.94 100% 2% 1% 1% F# .NET Core Bad Output by secs by mem by gz by busy