The Computer Language
22.01 Benchmarks Game

mandelbrot

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 manually vectorized SIMD programs. Choose which programs you want to compare.

× source secs mem gz busy cpu load
1.0 C++ g++ #4 0.84 34,800 3542 3.28 98% 99% 98% 98%
1.1 C++ g++ 0.89 32,220 1791 3.48 97% 99% 97% 97%
1.1 Rust #7 0.91 32,676 757 3.63 100% 99% 99% 100%
1.1 Rust #8 0.93 32,028 763 3.69 100% 100% 99% 100%
1.2 C++ g++ #6 0.98 31,692 1002 3.89 99% 99% 99% 99%
1.3 Chapel #3 1.07 36,208 588 4.15 98% 97% 96% 96%
1.3 Rust #5 1.08 33,724 719 4.20 96% 98% 96% 98%
1.3 Rust #6 1.09 33,780 1332 4.30 99% 100% 98% 98%
1.5 C gcc #6 1.30 30,924 1135 5.18 100% 100% 100% 100%
1.6 Swift #7 1.36 41,876 1140 5.44 100% 99% 100% 99%
1.7 Swift #6 1.38 43,884 1141 5.51 100% 99% 99% 99%
1.7 Classic Fortran #8 1.41 36,008 957 5.59 99% 99% 99% 99%
1.7 Julia #7 1.42 236,720 619 5.08 87% 87% 87% 99%
1.7 Rust #3 1.42 13,208 1007 5.66 100% 99% 100% 100%
1.7 Julia #8 1.46 236,608 624 5.24 86% 86% 99% 87%
1.8 Haskell GHC #3 1.48 51,352 1981 5.81 99% 99% 98% 99%
1.9 Julia #5 1.62 275,428 571 5.96 89% 99% 90% 90%
2.4 Julia #6 2.03 265,020 562 5.89 90% 60% 50% 91%
2.5 Julia #3 2.10 273,092 579 7.80 91% 91% 90% 100%
3.2 Julia #4 2.70 270,136 574 7.71 91% 91% 55% 48%
3.5 Rust 2.96 38,800 868 11.60 99% 99% 96% 99%
3.7 C# .NET #9 3.11 65,960 816 12.18 97% 99% 98% 97%
3.7 C# .NET 3.11 66,112 1974 12.18 99% 97% 97% 97%
3.7 C gcc #8 3.13 32,816 782 12.12 99% 94% 100% 94%
3.8 Classic Fortran #6 3.23 75,920 661 10.79 77% 78% 80% 99%
4.1 C gcc #4 3.47 32,808 799 13.85 100% 100% 99% 100%
4.2 C++ g++ #7 3.49 34,664 1017 13.89 99% 99% 100% 99%
4.2 C gcc 3.50 29,224 822 13.96 100% 100% 100% 100%
4.2 C gcc #7 3.50 33,092 994 13.97 100% 100% 100% 99%
4.2 C++ g++ #9 3.50 34,392 726 13.48 99% 95% 95% 95%
4.2 C gcc #3 3.52 30,032 763 14.07 100% 100% 100% 100%
4.4 F# .NET #6 3.72 65,928 933 14.61 98% 99% 98% 98%
4.4 Go #4 3.73 33,904 905 14.86 100% 99% 99% 100%
4.5 Go #3 3.75 33,600 894 14.94 100% 100% 100% 99%
4.6 Free Pascal #8 3.89 31,316 952 15.49 99% 100% 100% 99%
4.7 F# .NET #5 3.96 66,084 897 15.58 98% 99% 98% 98%
4.8 F# .NET 3.99 66,172 877 15.70 99% 98% 98% 99%
4.8 Ada 2012 GNAT #3 4.04 35,632 1819 15.93 97% 100% 99% 99%
4.8 Node js #3 4.04 101,228 1122 15.90 99% 98% 98% 98%
4.9 Java  #2 4.10 70,448 796 16.11 99% 98% 98% 98%
4.9 C# .NET #5 4.11 64,520 839 16.17 99% 99% 98% 98%
5.0 C gcc #9 4.15 33,104 694 16.13 98% 100% 96% 96%
5.0 Lisp SBCL #4 4.17 46,584 2447 16.63 100% 100% 100% 100%
5.1 Java #6 4.30 69,520 802 16.95 98% 99% 98% 99%
5.3 Java #4 4.41 67,684 660 16.12 96% 98% 87% 84%
5.6 Lisp SBCL 4.73 46,596 2473 16.51 74% 99% 100% 76%
5.7 C++ g++ #8 4.81 34,396 742 13.21 38% 38% 100% 100%
6.9 Go 5.75 33,712 823 22.84 99% 99% 100% 99%
7.8 Free Pascal #7 6.52 36,816 924 26.05 100% 100% 100% 100%
7.8 Haskell GHC #2 6.57 45,436 782 26.24 100% 100% 100% 100%
7.9 Chapel 6.64 36,140 460 26.40 100% 99% 99% 99%
8.1 Go #2 6.79 33,032 837 27.10 100% 100% 100% 100%
8.2 Go #6 6.84 32,524 700 27.28 100% 100% 100% 100%
8.7 Swift #5 7.30 41,576 659 26.96 90% 90% 90% 100%
8.8 Java #3 7.35 70,168 903 29.09 99% 99% 99% 99%
8.8 Free Pascal #6 7.41 35,772 781 29.59 100% 100% 100% 100%
9.0 OCaml 7.53 4,716 717 30.05 100% 100% 100% 100%
9.6 Dart #3 8.04 43,084 957 31.85 100% 99% 99% 98%
12 Classic Fortran #4 10.30 75,768 618 26.72 92% 91% 33% 43%
12 Racket #4 10.44 126,208 801 41.19 98% 100% 98% 98%
13 Free Pascal #2 10.97 32,964 825 29.44 94% 44% 37% 94%
13 Free Pascal 11.01 32,964 825 29.77 38% 94% 45% 94%
13 Lisp SBCL #3 11.07 50,660 894 29.68 100% 34% 100% 34%
14 Dart #2 11.74 89,416 907 31.63 35% 99% 35% 100%
16 C++ g++ #5 13.36 33,624 590 13.43 0% 0% 100% 0%
21 C++ g++ #2 17.46 34,212 692 17.49 0% 0% 0% 100%
28 PHP #3 23.26 142,252 875 92.82 100% 100% 100% 100%
30 C gcc #2 25.29 1,040 400 25.54 0% 0% 1% 100%
31 Swift 26.23 6,324 394 26.34 0% 0% 11% 89%
32 Free Pascal #3 26.52 8 526 26.60 100% 0% 0% 0%
32 Julia 26.83 211,684 373 27.18 0% 100% 0% 1%
33 Java 27.73 36,180 665 27.88 0% 100% 0% 0%
34 OCaml #6 28.21 3,244 444 28.25 0% 0% 100% 0%
34 Ada 2012 GNAT #2 28.29 2,168 577 28.46 0% 0% 100% 0%
34 C++ g++ #3 28.50 1,940 414 28.64 0% 100% 0% 0%
41 Racket #3 34.64 66,792 802 34.88 0% 100% 0% 0%
47 Haskell GHC 39.72 517,328 621 40.70 1% 13% 1% 87%
53 Classic Fortran #5 44.44 43,712 520 44.61 0% 0% 100% 0%
53 Erlang #3 44.65 68,108 792 178.26 100% 100% 100% 100%
54 Erlang #4 45.00 69,556 806 179.69 100% 100% 100% 100%
55 Erlang #2 46.10 764,068 613 183.11 99% 99% 99% 99%
58 Erlang 48.95 1,633,584 534 190.00 96% 98% 97% 97%
59 Racket 49.21 68,204 517 49.46 0% 0% 0% 100%
61 Racket #2 51.15 67,024 585 51.41 0% 0% 0% 100%
93 Lua #6 77.98 19,652 623 281.69 100% 90% 85% 86%
104 PHP 86.92 13,396 449 87.41 0% 100% 0% 0%
120 VW Smalltalk #2 100.44 177,388 929 5 min 95% 88% 76% 86%
212 Python 3 #7 177.35 47,780 688 11 min 99% 99% 99% 99%
215 Ruby #5 180.18 322,648 970 11 min 100% 100% 100% 100%
273 Lua #3 228.64 2,640 358 230.16 0% 100% 0% 0%
277 Lua 231.99 2,636 359 233.47 0% 0% 0% 100%
313 Lua #2 262.15 1,516 367 264.02 0% 0% 0% 100%
324 Ruby #2 271.60 348,392 880 18 min 100% 100% 100% 100%
383 VW Smalltalk 5 min 54,440 603 5 min 2% 48% 7% 43%
560 Perl 7 min 56,268 586 31 min 100% 100% 100% 100%
  Ruby #4 14 min 408,488 857 14 min 25% 25% 25% 25%
  Ruby #3 24 min 285,800 307 24 min 0% 0% 100% 1%
  Matz's Ruby #5 32 min 53,240 970 2h 10 min 100% 100% 100% 100%
  Matz's Ruby #2 39 min 64,428 880 2h 37 min 100% 100% 100% 100%
  Matz's Ruby #6 39 min 131,576 918 2h 32 min 96% 96% 95% 95%
  Matz's Ruby #3 2h 03 min 3,208 307 2h 04 min 0% 0% 0% 100%
C++ g++ Bad Output
Python 3 #5 Failed
Python 3 #2 Timed Out
Ruby #7 Failed
Ruby #6 Failed
Matz's Ruby #7 Failed
Matz's Ruby #4 Timed Out
Swift #3 Bad Output