Python Interpreters Benchmarks
x64 ArchLinux : AMD® Ryzen 7 4700U®

 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 25.423.34317,3003852  95% 99% 94% 96% 95% 94% 96% 96%
1.3Python development version #6 33.654.39307,6043852  97% 96% 97% 94% 97% 97% 96% 97%
1.5Nuitka #6 36.894.88300,6403852  100% 95% 97% 94% 94% 95% 95% 95%
2.6Numba #6 61.518.68133,9603886  94% 91% 96% 93% 93% 98% 92% 95%
missing benchmark programs
Python 2 No program
PyPy 2 No program
PyPy 3 No program
Jython No program
IronPython No program
Cython No program
Shedskin No program
Pyston No program
MicroPython No program
Grumpy No program
Graal No program
RustPython 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.

Thanks to Greg Buchholz for this benchmark.

Revised BSD license

  Home   Conclusions   License   Play