Skip to content

20% speedup, and control of reused pixel percent and max iterations

Latest
Compare
Choose a tag to compare
@ttsiodras ttsiodras released this 16 Jul 11:01
· 13 commits to master since this release

You can now control:

  • the percentage of pixels actually computed per frame, with option -p. If you e.g. pass -p 0.5, then 100-0.5 = 99.5% of the pixels will be copied from the previous frame, and only 0.5% will be actually derived through the Mandelbrot computations.
  • the maximum number of iterations in the Mandelbrot loop (option -i). By default this is set to 2048 to allow for decent zoom levels, but if you want to see insane speeds, set this to something low, like 128, and disable the frame limiter; i.e. use options -f 0 -i 128.

Also, the per-scaline computational load is very unevenly distributed; so OpenMP dynamic scheduling is now used, to make the best use of multiple cores. Result: 20% speedup.