source: project/demonstrations/numerical-performance/README @ 20569

Last change on this file since 20569 was 20569, checked in by felix winkelmann, 11 years ago

added READMEs

File size: 781 bytes
Line 
1== README for ''numerical-performance''
2
3This is the /mandelbrot/ benchmark taken from the Language Shootout.
4It computes mandelbrot set and generates a black-and-white PPM image
5on stdout.
6
7To build the C and Scheme versions of the code, enter
8
9  make
10
11To run the compiled programs, enter
12
13  make run
14
15or invoke them directly:
16
17  time ./mandelbrot-c 600 >c.ppm
18  time ./mandelbrot-scheme-slow 600 >scheme-slow.ppm
19  time ./mandelbrot-scheme-fast 600 >scheme-fast.ppm
20
21{{mandelbrot-scheme-slow}} is the unmodified benchmark program.
22{{mandelbrot-scheme-fast}} uses specialized arithmetic and is
23considerably faster, demonstrating the "unboxing" capabilities
24of the compiler for these operations. To see the optimizations
25being done, build the examples like this:
26
27  make VERBOSE=1
Note: See TracBrowser for help on using the repository browser.