== README for ''numerical-performance''
This is the /mandelbrot/ benchmark taken from the Language Shootout.
It computes mandelbrot set and generates a black-and-white PPM image
on stdout.
To build the C and Scheme versions of the code, enter
make
To run the compiled programs, enter
make run
or invoke them directly:
time ./mandelbrot-c 600 >c.ppm
time ./mandelbrot-scheme-slow 600 >scheme-slow.ppm
time ./mandelbrot-scheme-fast 600 >scheme-fast.ppm
{{mandelbrot-scheme-slow}} is the unmodified benchmark program.
{{mandelbrot-scheme-fast}} uses specialized arithmetic and is
considerably faster, demonstrating the "unboxing" capabilities
of the compiler for these operations. To see the optimizations
being done, build the examples like this:
make VERBOSE=1