mandelbrot benchmark N=16,000

Each chart bar shows how many times slower, one ↓ mandelbrot program was, compared to the fastest program.

These are not the only programs that could be written. These are not the only compilers and interpreters. These are not the only programming languages.

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

    sort sortsort
  ×   Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
1.0Python 3 #6 98.5725.31184,6803832  99% 97% 99% 99%
1.0Python 3 #6 98.7025.71184,9483832  97% 98% 98% 99%
1.0Python 3 #6 98.3025.71185,1043832  97% 98% 97% 99%
1.1Python 2 #6 100.6226.85166,6603832  99% 99% 97% 99%
1.1Cython #6 100.3226.92185,5443832  98% 98% 97% 99%
1.1Python development version #6 101.8427.1460,8523832  97% 98% 96% 99%
1.1Python 2 #6 100.7127.15168,3963832  99% 97% 97% 97%
1.1Python development version #6 101.9927.4560,8203832  99% 98% 96% 95%
1.1Python development version #6 102.2327.6558,6483832  98% 97% 96% 97%
1.1Cython #6 101.0427.98184,1243832  99% 100% 99% 99%
1.1Python 2 #6 101.2628.56166,3123832  99% 96% 97% 99%
1.1Cython #6 101.7628.96184,1923832  100% 98% 98% 97%
1.5PyPy 2 #6 147.2338.002,027,0843832  99% 98% 98% 97%
2.7Nuitka #6 107.9067.9758,8803832  96% 97% 94% 97%
3.0Nuitka #6 107.8674.7158,4563832  97% 97% 96% 96%
3.4Nuitka #6 107.2186.227,000,7043832  96% 97% 95% 95%
missing benchmark programs
PyPy 3 No program
Jython No program
IronPython No program
Shedskin No program
Numba No program
Pyston No program
MicroPython No program
Grumpy No program

 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.

We are trying to show the performance of various programming language implementations - so we ask that contributed programs not only give the correct result, but also use the same algorithm to calculate that result.

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

  Home   Conclusions   License   Play