How big is the measured performance difference?

Each chart bar shows how many times more Time or how many times more Memory one unidentified ↓ mandelbrot program used, compared to the program that used least Time or the program that used least Memory.

 mandelbrot benchmark N=16,000

This table shows 5 measurements - CPU Time, Elapsed Time, Memory, Code and ~ CPU Load.

Compare how much Memory the mandelbrot programs used - sort Memory KB. Compare how much Code the programs used - sort Code B

Column × shows how many times more each program used compared to the program that used least.

    sort sort sort sort
  ×   Program Source Code CPU secs Elapsed secs Memory KB Code B ~ CPU Load
1.0ATS #3 22.0722.0730,5882780  11% 1% 0% 100%
1.1GNU gcc #6 24.3524.3530,048879  0% 0% 0% 100%
1.1C++ GNU g++ #5 24.5524.5530,564858  0% 0% 0% 100%
1.2ATS #2 27.3027.304641531  0% 0% 0% 100%
1.7Ada 2005 GNAT #3 36.6036.6133,3241805  0% 0% 0% 100%
1.7Lisaac 36.9436.94576653  0% 0% 0% 100%
1.8Java 6 steady state #3 39.1039.10203,960970  0% 0% 0% 100%
1.9Java 6 -server #3 41.5641.5748,900903  0% 0% 0% 100%
1.9Java 6 -server 42.5142.5512,020665  0% 0% 0% 100%
2.2ATS 47.8047.80464601  0% 0% 0% 100%
2.2Lua LuaJIT 48.7148.711,064353  0% 0% 0% 100%
2.2Scala 49.2349.2744,180737  0% 0% 0% 100%
2.3GNU gcc #2 50.1550.15488400  0% 0% 0% 100%
2.4Scala #2 54.0054.0112,584454  0% 0% 0% 100%
2.5Lua LuaJIT #2 55.5255.51852367  0% 0% 0% 100%
2.6Fortran Intel 56.8056.7932,388485  0% 0% 0% 100%
2.6Clean #2 57.1757.17508506  0% 0% 0% 100%
2.7Ada 2005 GNAT #2 59.8559.851,132572  0% 0% 0% 100%
2.7Ada 2005 GNAT 60.3460.341,140611  0% 0% 0% 100%
2.9Lua LuaJIT #6 64.1664.1618,632607  0% 0% 0% 100%
3.0C# Mono 66.0866.0838,472798  0% 0% 0% 100%
3.2Haskell GHC #2 70.3070.3035,440772  1% 1% 1% 100%
3.4Lisp SBCL 74.9174.9136,7681002  0% 0% 0% 100%
3.5Pascal Free Pascal #3 78.3578.3448530  0% 0% 0% 100%
3.7C# Mono #2 82.2082.194,956484  0% 0% 0% 100%
5.2OCaml #3 113.76113.75844441  0% 0% 0% 100%
5.6Go 6g 8g #3 124.20124.21118,864695  0% 0% 0% 100%
5.8Haskell GHC 127.72127.711,528627  0% 0% 0% 100%
7.1F# Mono 156.12156.237,096528  0% 0% 0% 100%
11C++ GNU g++ #3 238.66238.641,108414  0% 1% 0% 100%
12Go 6g 8g #6 257.25257.2431,576723  0% 0% 0% 100%
12Go 6g 8g 262.70262.68632509  0% 0% 0% 100%
15Go 6g 8g #5 5 min5 min32,320714  0% 0% 0% 100%
18Erlang HiPE 6 min6 min634,660534  0% 100% 0% 0%
21OCaml #2 7 min7 min85,112929  0% 0% 0% 100%
23Lua 8 min8 min1,072353  0% 0% 0% 100%
26Lua #2 9 min9 min912367  0% 0% 0% 100%
28Java 6 -Xint 10 min10 min10,320665  0% 0% 0% 100%
31Lua #6 11 min11 min19,004607  0% 0% 0% 100%
38Scheme PLT #2 14 min14 min8,572508  0% 0% 0% 100%
40Java 6 -Xint #3 14 min14 min47,092903  0% 0% 0% 100%
48Smalltalk VisualWorks #2 17 min17 min12,736467  0% 0% 0% 100%
99Mozart/Oz 36 min36 min6,804559  0% 0% 0% 100%
114Python 3 #2 41 min41 min5,500777  0% 0% 0% 100%
135PHP #3 49 min49 min84,572863  0% 0% 0% 100%
138PHP 50 min50 min3,624443  0% 0% 0% 100%
141Python CPython #5 51 min51 min18,844425  0% 0% 0% 100%
141Python CPython 51 min51 min2,828287  0% 0% 0% 100%
154Ruby JRuby 56 min56 min85,752313  0% 0% 0% 100%
158PHP #2 58 min58 min3,312395  0% 0% 0% 100%
239Perl #2 1h 27 min1h 27 min3,032311  0% 0% 0% 100%
250Perl 1h 32 min1h 32 min320,324550  0% 0% 0% 100%
392Ruby 1.9 2h 24 min2h 24 min2,768313  0% 0% 0% 100%
522Ruby MRI 3h 11 min3h 11 min1,564313  0% 0% 0% 100%
Fortran Intel #2 Bad Output813
Fortran Intel #3 Bad Output754
JavaScript TraceMonkey Failed387
JavaScript V8 Failed387
Lisp SBCL #2 Failed653
Python 3 #3 Failed304

 mandelbrot benchmark : Generate Mandelbrot set portable bitmap file

cmp program output N = 200 with this 5KB output file to check your program is correct before contributing.

Mandlebrot output N=200,converted to PNG

Each program should plot the Mandelbrot set [-1.5-i,0.5+i] on an N-by-N bitmap. Write output byte-by-byte in portable bitmap format.

For more information see Eric W. Weisstein, "Mandelbrot Set." From MathWorld--A Wolfram Web Resource.
http://mathworld.wolfram.com/MandelbrotSet.html

Thanks to Greg Buchholz for this benchmark.

Revised BSD license