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.0Ada 2005 GNAT #3 22.795.7633,2841805  99% 99% 99% 99%
1.1GNU gcc #6 24.236.0727,900879  100% 100% 100% 100%
1.1C++ GNU g++ #5 25.046.2928,824858  99% 99% 100% 100%
1.2ATS #3 28.017.0229,0162780  100% 100% 100% 100%
1.7Java 6 steady state #3 39.009.78386,700970  100% 100% 100% 100%
1.9Java 6 -server #3 42.0210.6966,984903  98% 98% 98% 99%
2.2Haskell GHC #2 49.6912.5739,456772  99% 99% 98% 99%
2.2Scala 50.9812.8746,960737  99% 99% 99% 99%
2.3Lisp SBCL 49.4613.3069,1921002  93% 100% 91% 91%
2.9OCaml #2 65.8716.6963,788929  99% 98% 99% 98%
3.0C# Mono 68.8517.2939,208798  99% 99% 99% 100%
3.2Go 6g 8g #5 74.4018.6731,412714  100% 100% 100% 100%
3.3Go 6g 8g #6 74.9418.7630,636723  100% 100% 100% 100%
4.6ATS #2 26.4626.475361531  0% 100% 0% 0%
6.0Go 6g 8g #3 88.7734.55121,900695  65% 62% 60% 59%
7.4Java 6 -server 42.8642.8614,424665  0% 0% 0% 99%
8.4ATS 48.5248.51536601  100% 0% 0% 0%
8.7GNU gcc #2 49.9949.99552400  0% 0% 100% 0%
9.1Scala #2 52.2452.2715,092454  100% 0% 0% 0%
10Ada 2005 GNAT #2 59.3859.381,416572  0% 0% 100% 0%
10Ada 2005 GNAT 59.8859.881,424611  0% 100% 0% 0%
11Clean #2 64.3464.34592506  100% 0% 0% 0%
12Pascal Free Pascal #3 71.0271.0256530  0% 0% 0% 100%
13C# Mono #2 73.9073.965,648484  0% 0% 99% 2%
14Erlang HiPE 262.4280.351,270,604534  80% 86% 85% 76%
14OCaml #3 80.9480.941,140441  0% 100% 0% 0%
14Go 6g 8g 81.1181.11780509  100% 0% 3% 0%
15C++ GNU g++ #3 85.6085.591,260414  3% 0% 100% 0%
21Java 6 -Xint #3 8 min123.1664,836903  100% 100% 100% 100%
25F# Mono 144.12144.218,272528  0% 100% 0% 0%
35Lua #6 12 min199.7820,712607  83% 100% 87% 100%
85Scheme PLT #2 8 min8 min12,124508  0% 0% 83% 17%
101Lua 9 min9 min1,324353  0% 100% 0% 0%
103Java 6 -Xint 9 min9 min12,268665  0% 0% 0% 100%
103Smalltalk VisualWorks #2 9 min9 min22,776467  0% 0% 0% 100%
104PHP #3 39 min9 min120,300863  100% 100% 100% 100%
118Python CPython #5 45 min11 min24,444425  100% 100% 100% 100%
126Lua #2 12 min12 min1,076367  0% 0% 0% 100%
418PHP 40 min40 min4,776443  100% 0% 0% 0%
471Python CPython 45 min45 min3,616287  6% 0% 0% 94%
492PHP #2 47 min47 min4,128395  100% 0% 0% 0%
625Ruby JRuby 1h 00 min59 min217,384313  17% 30% 30% 23%
734Perl #2 1h 10 min1h 10 min4,136311  0% 0% 100% 0%
2,119Ruby MRI 3h 23 min3h 23 min2,064313  26% 0% 39% 34%
Fortran Intel #2 Bad Output813
Fortran Intel #3 Bad Output754
Fortran Intel Bad Output485
Haskell GHC Make Error627
JavaScript TraceMonkey Failed387
JavaScript V8 Failed387
Lisp SBCL #2 Failed653
Perl Failed550

 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