Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 586 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 586 Bytes

hasktrace

A ray tracer in Haskell. For fun, probably not profit. I'm going to try using this as an exercise in making Haskell code go fast. 🚀

To use it, run

cabal run trace

This should render a test scene and save the output at test.png.

To run benchmarks, do

cabal bench --benchmark-options='--baseline benchmarks/baseline.csv'

which compares against a pre-existing baseline. To update the benchmarks, e.g. when performance has improved or new benchmarks have been added, run

cabal bench --benchmark-options='--csv benchmarks/baseline.csv'